Repository navigation
feat(panel): 页面交接提示新增「跳转回到助手页面」 - #10
Merged
Merged
Conversation
页面交接提示里新增第一个动作「跳转回到助手页面」:保持助手绑定不变,把用户前台标签页切回助手所在页面(跨窗口时先聚焦该窗口),状态随即回到 following。只在 handoff 状态出现,携带面板看到的 revision,过期点击失败关闭;受控页已关闭时转入 lost。同时按主体重命名三个选项:助手留在原页面 / 助手跟随当前页面 / 助手留在原页面并不再询问。
# Conflicts: # CHANGELOG.md # CHANGELOG.zh-CN.md
# Conflicts: # README.i18n.yaml # extensions/dsh-browser/README.i18n.yaml
# Conflicts: # CHANGELOG.md # CHANGELOG.zh-CN.md
# Conflicts: # CHANGELOG.md # CHANGELOG.zh-CN.md
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.
概述 / Summary
页面交接提示新增「跳转回到助手页面」:助手仍绑定原页面、用户切走时,可一键把浏览器的前台标签页切回助手正在操作的页面;三个选项同时按主体重命名。本 PR 经由承载分支
omdsh-dev/dsh-browser带入该功能,并落定中英双语 changelog 条目。动机 / Motivation
除原有的「留在原页面」「跟随当前页面」外,用户有时想直接回到助手所在的页面:原提示没有这个动作,也没有写清主体,容易混淆。按《分支与合入流程》,功能先在
omdsh-dev/dsh-browser承载分支开发,再随本 PR 同步回main并在main上定稿 changelog。改动内容 / Changes
omdsh-dev/dsh-browser(新增「跳转回到助手页面」动作、端口消息、测试与 README 使用说明)。CHANGELOG.md/CHANGELOG.zh-CN.md:## latest各新增一条 Feature 条目(中英一一对应)。测试 / Testing
pnpm run typecheck✅pnpm run check:runtime✅pnpm run test✅(69 个文件 / 600 个用例)pnpm run build✅影响范围 / Impact
Checklist
pnpm run build/bash -n scripts/install.sh等基础检查 / Passed basic checks