Repository navigation
7438
fix(desktop): append /api to server URL if missing - #814
Merged
Merged
Conversation
sheepbox8646
approved these changes
Jul 16, 2026
Merged
5 of 6 tasks
3 of 6 tasks
qqqqqf-q
added a commit
to qqqqqf-q/Memoh
that referenced
this pull request
Nov 13, 2026
CI 原先只点名运行 10 个前端测试文件,其余 260 多个没有运行,其中 6 个 已经损坏。现在 test job 运行全部 project,Node 与 mise.toml 一致固定为 24.22.1(Node 25 的 localStorage 全局对象会让约 90 个用例无关失败), 全量运行前先构建 @memohai/runtime。 修复的 5 个文件都是测试没有跟上有意的产品行为,或测试环境没有搭好: - server-connection:归一化地址自 felinics#814 起带 /api 后缀 - keyboard-bindings:快捷键文案只有 label,不再要求 description - chat-user-input-form:工作区链接有意拦截带修饰键的点击 - panel-preview:补上 @/i18n 的 mock - workspace-tabs:声明 jsdom 环境,消除 80 个未处理异常 ui-icon-contract 只给 ErrorIcon 的线宽加豁免。带文字的图标按钮是否必须 使用 muted 色调需要设计裁决,这个文件暂时留在跳过清单里。
qqqqqf-q
added a commit
that referenced
this pull request
Nov 13, 2026
* test: CI 运行全部前端测试,修复 5 个已损坏的测试文件 CI 原先只点名运行 10 个前端测试文件,其余 260 多个没有运行,其中 6 个 已经损坏。现在 test job 运行全部 project,Node 与 mise.toml 一致固定为 24.22.1(Node 25 的 localStorage 全局对象会让约 90 个用例无关失败), 全量运行前先构建 @memohai/runtime。 修复的 5 个文件都是测试没有跟上有意的产品行为,或测试环境没有搭好: - server-connection:归一化地址自 #814 起带 /api 后缀 - keyboard-bindings:快捷键文案只有 label,不再要求 description - chat-user-input-form:工作区链接有意拦截带修饰键的点击 - panel-preview:补上 @/i18n 的 mock - workspace-tabs:声明 jsdom 环境,消除 80 个未处理异常 ui-icon-contract 只给 ErrorIcon 的线宽加豁免。带文字的图标按钮是否必须 使用 muted 色调需要设计裁决,这个文件暂时留在跳过清单里。 * test(web): 移除 ui-icon-contract 排除项,运行全部 273 个测试文件
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.
在desktop中,如果输入的服务器地址不带
/api后缀,则会返回错误,这似乎不是预期的。此 PR 不包含 AI 生成的代码。