Repository navigation
feat: 对话框、冲突向导与签名弹窗加上指向官网手册的帮助按钮 - #97
Merged
Merged
Conversation
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.
对话框骨架的左下角加上系统的帮助按钮,点一下在浏览器里打开官网手册里讲这个对话框的那一节;冲突向导与签名弹窗也加上同样的入口。对应需求 A01「对话框的帮助按钮」。
改动
DialogLayout新增helpArticle,给了时底栏左下角是系统的帮助按钮,24 × 24,距左、距底各 20RepositoryDialogLayout、ConfirmationDialog、ConfirmationRequest与confirmOnServer一并转交HelpArticle,列出各按钮打开的手册页面与锚点;地址是英文页的根路径,官网按浏览器的语言跳到对应的译文questionmark.circle按钮,打开手册的签名一节;提交与标签的签名弹窗都有HelpArticleTests核对每个地址都指向website/src/content/docs/里存在的英文页面与{#锚点};AGENTS.md 的官网一节写明改了页面路径或锚点时同时改HelpArticle验证
mise run swift:lint0 违规,mise run build通过mise run test:App 490 个、核心库 350 个、发布 9 个测试通过;服务器与性能测试按默认跳过DialogLayoutTests新增的帮助按钮位置核对未验证
注意