Repository navigation
feat(work-panel): add tab context menu actions - #1904
Merged
Merged
Conversation
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
force-pushed
the
feat/work-panel-tab-context-menu
branch
from
October 26, 2026 13:22
ff9111f to
1ab7ead
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
内容
工作面板标签页的右键菜单操作,让资源清理变得可发现,同时保留当前选中的标签:
改动覆盖 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/desktoptsc --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:*(未在本次任务中被要求)