Repository navigation
feat(work-panel): 支持拖拽调整右侧工作面板标签页顺序 - #959
Merged
Merged
Conversation
Allow users to reorder work panel tabs with pointer or keyboard while preserving the active tab. Auto-scroll the overflow strip during edge drags so off-screen tabs remain reachable, and cover the behavior in tests and interaction specs.
vastsa
force-pushed
the
feat/work-panel-tab-reorder
branch
from
September 23, 2026 16:03
a73ae2d to
0556f4c
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.
动机
右侧工作面板可以同时打开多个标签页,但原有标签顺序固定,无法按照用户的工作流程调整。
当标签较多时,部分标签会被横向滚动隐藏,用户也无法通过拖拽将标签移动到目标位置。
Closes #957
改动点
Alt+ArrowLeft和Alt+ArrowRight调整聚焦标签页。运行截图或测试结果
截图
验证步骤
Alt+ArrowLeft或Alt+ArrowRight调整顺序。自动化检查:
pnpm --filter @pi-desktop/desktop test:2696 个测试,2692 通过,4 个跳过pnpm --filter @pi-desktop/desktop typecheck:通过pnpm build:js:通过pnpm lint:通过pnpm docs:check:通过检查清单