Skip to content

feat(work-panel): add tab context menu actions - #1904

Merged
vastsa merged 1 commit into
mainfrom
feat/work-panel-tab-context-menu
Oct 26, 2026
Merged

vastsa merged 1 commit into
mainfrom
feat/work-panel-tab-context-menu

Conversation

@vastsa

@vastsa vastsa commented Oct 26, 2026

Copy link
Copy Markdown
Owner

内容

工作面板标签页的右键菜单操作,让资源清理变得可发现,同时保留当前选中的标签:

  • 关闭其它标签 / 关闭右侧标签 / 全部关闭
  • 全部关闭后工作面板保持打开
  • 通过既有的关闭路径释放 Browser 资源

改动覆盖 store(work-panel-slice)、UI(WorkPanel、ContextMenu)、work-panel-tabs 逻辑、i18n 全部 10 个 locale、相关 spec 与 E2E 脚本。

说明

这个提交原本直接落在本地 main(518cd7020,父提交是旧的 origin/main,落后 46 个提交)。本 PR 把它 rebase 到最新 origin/main 后走正常流程合入,没有改写原提交的意图或内容。

验证

  • apps/desktop tsc --noEmit 通过
  • work-panel-tabs / work-panel / browser-tab-restore:57 用例全部通过
  • docs/scripts/check-docs.mjs(591 页)、check-locales.mjs(86 对)通过
  • node scripts/check-pr-base-main.mjs 通过
  • 未跑 verify:ui:*(未在本次任务中被要求)

Copilot AI balanced review requested due to automatic review settings October 26, 2026 13:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

Make resource cleanup discoverable while preserving the selected tab. Keep the work panel open after closing all tabs and release Browser resources through the existing close path.
@vastsa
vastsa force-pushed the feat/work-panel-tab-context-menu branch from ff9111f to 1ab7ead Compare October 26, 2026 13:22
@vastsa
vastsa merged commit 5aa2538 into main Oct 26, 2026
6 checks passed
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