Make help easier to find and cloned workspaces open reliably (#2045)

* feat(app): add sidebar help and support menu

Give users a single place to run diagnostics, find shortcuts, and reach the support channels. Share one global diagnostic sheet between Settings and the sidebar so both entry points collect the same report.

* fix(app): keep cloned workspace navigation atomic

A newly merged clone flow still used the previous navigation signature and opened its draft tab separately. Route the cloned workspace and its draft target through the unified navigation command so attention selection cannot replace the intended tab.

* test(app): harden sidebar help coverage

Accept both the Discord invite URL and its canonical redirect, assert placement through real element geometry, and remove an unnecessary diagnostic-host callback.

* test(app): cover support redirect variants

Keep the help-menu E2E stable across prerelease versions and the valid redirect forms returned by Discord and GitHub.
This commit is contained in:
Mohamed Boudra
2026-07-14 00:02:53 +08:00
committed by GitHub
parent f2ebac931c
commit 5e2a8b6633
18 changed files with 427 additions and 68 deletions
+14
View File
@@ -785,6 +785,20 @@ export const zhCN: TranslationResources = {
settings: "设置",
closeSidebar: "关闭侧边栏",
},
help: {
trigger: "帮助与支持",
troubleshoot: "问题排查",
diagnostics: "运行诊断",
diagnosticsDescription: "收集应用和已连接 Host 的详细信息",
shortcuts: "键盘快捷键",
shortcutsDescription: "查看可用的键盘快捷键",
reportIssue: "报告问题",
discord: "Discord",
discordDescription: "适合快速求助和讨论",
github: "创建 GitHub Issue",
githubDescription: "报告可复现的 bug",
version: "Paseo {{version}}",
},
sections: {
sessions: "历史",
schedules: "计划",