fix(desktop): open external links in system browser#487
fix(desktop): open external links in system browser#487gdemonc wants to merge 7 commits into1024XEngineer:mainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
@xgopilot 解决了你提的问题 |
Review ResultNo new findings. I re-checked the four issues from the previous review against
VerificationI could not run the requested checks in this runner because |
|
@xgopilot |
Review Result
结论:这是当前 PR 新增 bare-url linkify 路径里的真实回归,建议在合入前补上 Scope本次只做分析和 review,没有修改代码。 |
|
@xgopilot 修复这个问题 |
Result已修复 shell-ball 自动 linkify 对全角右括号 Changes
Verification当前 runner 缺少 Git
|
Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: gdemonc <146809967+gdemonc@users.noreply.github.com>
fix(desktop): trim full-width shell-ball links
|
@xgopilot 为什么ci不通过了? |
分析结果我先对照了 PR 实际会跑的 workflow。
我本地复现到的结果是:
所以这次 PR 的前端 TS/ESLint 和 Go sidecar 这几段,我这里没有复现出失败。按剩余项看,最可能挂的是最后的 Windows Tauri build,也就是你这次同时改到的 Rust/Tauri 宿主侧: 额外说明我这里没法直接看 GitHub Actions 的失败日志,也没能在当前 runner 里把完整 Windows Rust/Tauri 构建复现出来,所以现在还不能断言是 Rust 编译错误、Tauri 打包错误,还是 Windows-only 行为问题。 另外我顺手跑了 结论目前能确认的是:如果你看到的是这个 PR 的 GitHub 检查红了,优先去看 Scope本次只做分析,没有修改代码。 |
分析结果我重新按这个 PR 实际触发的 workflow
我这里已经复现到的结果是:
所以这次 CI 红掉,基本可以先排除前四步,问题范围已经收敛到最后一段
为什么我现在还不能直接给出具体报错行当前 runner 能把 Node/TS/Go 侧检查跑完,但没有现成的 Rust toolchain,也看不到 GitHub Actions 的实际失败日志,所以我没法在这里直接拿到 Windows 那一步的首条编译错误。 结论如果你现在看到的是这个 PR 的检查失败,优先去看 GitHub Actions 里 把那一步最前面的错误栈贴出来,我可以继续直接定位到具体代码行。大概率会落在这次新增的 |
|
@xgopilot /review |
Review
|
|
@xgopilot 缺少右括号的问题不是解决了吗? |
Answer分两类看:
但我上一条 review 说的不是这个。我说的是 markdown link 里的 ASCII 右括号 [wiki](https://en.wikipedia.org/wiki/Function_(mathematics))这个在当前 PR head 里还没修。原因是 /\[([^\]]+)\]\((https?:\/\/[^\s)]+)\)/位置在 也就是最后那个 ASCII 结论:
|
|
@xgopilot 行,你解决一下 |
Result已修掉上次 review 里剩下的两个问题。
Verification已通过:
未完成:
Git
|
Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: gdemonc <146809967+gdemonc@users.noreply.github.com>
fix(desktop): route formal links through host bridge
|
@xgopilot /review |
Review ResultNo new findings. I re-checked the two previously reported regressions against the current
VerificationI could not run |
solve #483
Summary
desktop_open_external_urlTauri command sohttp/httpslinks open in the system default browserVerification
pnpm --dir apps/desktop typecheckpnpm --dir apps/desktop lintcargo checkinapps/desktop/src-tauriNotes