Skip to content

feat: add Community Edition restore UI - #13431

Merged
ssongliu merged 1 commit into
dev-v2from
feat/community-restore
Jul 31, 2026
Merged

feat: add Community Edition restore UI#13431
ssongliu merged 1 commit into
dev-v2from
feat/community-restore

Conversation

@ssongliu

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings July 31, 2026 09:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a Community Edition “restore/switch back” flow to the Enterprise license-required screen, including a dialog-driven UX and status polling, plus corresponding API bindings, i18n strings, and cleanup support for restore artifacts.

Changes:

  • Add “Restore Community Edition” entry point on the license-required page and a new CommunityRestoreDialog (online/offline modes) with polling during restore.
  • Add frontend API methods/types for community-restore status and execution.
  • Extend agent device-clean rollback tree and cleanup to include the community-restore working directory; add corresponding label mapping and translations.

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
frontend/src/views/toolbox/clean/index.vue Adds i18n label mapping for the new rollback tree key.
frontend/src/views/setting/license-required/index.vue Adds restore entry point, loading overlay, and polling/redirect logic during restore.
frontend/src/views/setting/license-required/community-restore/index.vue New restore dialog UI and offline package polling.
frontend/src/lang/modules/zh.ts Adds restore-related translations.
frontend/src/lang/modules/zh-Hant.ts Adds restore-related translations.
frontend/src/lang/modules/en.ts Adds restore-related translations.
frontend/src/lang/modules/tr.ts Adds restore-related translations.
frontend/src/lang/modules/ru.ts Adds restore-related translations.
frontend/src/lang/modules/pt-br.ts Adds restore-related translations.
frontend/src/lang/modules/ms.ts Adds restore-related translations.
frontend/src/lang/modules/lo.ts Adds restore-related translations.
frontend/src/lang/modules/ko.ts Adds restore-related translations.
frontend/src/lang/modules/ja.ts Adds restore-related translations.
frontend/src/lang/modules/fa.ts Adds restore-related translations.
frontend/src/lang/modules/es-es.ts Adds restore-related translations.
frontend/src/api/modules/setting.ts Adds API wrappers for restore status + restore trigger.
frontend/src/api/interface/setting.ts Adds types for restore status and restore mode.
agent/app/service/device_clean.go Adds scanning/cleanup support for community-restore rollback artifacts.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ssongliu
ssongliu merged commit 9f9e3aa into dev-v2 Jul 31, 2026
4 checks passed
@ssongliu
ssongliu deleted the feat/community-restore branch July 31, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants