Skip to content

fix(settings): refresh locale when language changes - #61

Merged
1lck merged 1 commit into
1lck:preview/0.2.0from
Mucheen:fix/issue-15-settings-language
Aug 13, 2026
Merged

1lck merged 1 commit into
1lck:preview/0.2.0from
Mucheen:fix/issue-15-settings-language

Conversation

@Mucheen

@Mucheen Mucheen commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • make SettingsView own its selected locale and view identity so language changes refresh an open settings sheet
  • remove presentation-specific locale wiring from RootView
  • add regression coverage for language defaults, persistence, locale mapping, and critical Settings translations

Fixes #15

Verification

  • ./scripts/build-macos.sh --configuration debug --triple arm64-apple-macosx
  • localization files pass plutil -lint and critical Simplified Chinese keys resolve correctly
  • ./scripts/test-macos.sh --filter AppLocalizationTests could not run locally because the installed Command Line Tools do not include the Swift Testing module used by the existing test suite; GitHub Actions uses the repository's standard Xcode environment
  • ./scripts/verify-service-boundaries.sh currently reports pre-existing violations in DatabaseRecoveryStore.swift and DatabaseSidecarService.swift; none are in this change

@Mucheen
Mucheen requested a review from 1lck as a code owner August 12, 2026 16:29
@1lck
1lck merged commit 645c13b into 1lck:preview/0.2.0 Aug 13, 2026
1 check passed
xiaoyumuxi added a commit that referenced this pull request Nov 16, 2026
两端都通过 Core 6a14126 获得:同一文档版本的同一位置或同一行 range 内
再次悬浮直接返回保留的答案。写明上限、不保留的答案和清空条件;两端
仍为 partial / pending,原生窗口验收待做。
xiaoyumuxi added a commit that referenced this pull request Nov 16, 2026
* build(desktop): Core 固定到 6a14126,带上 Git 忽略批量询问和悬浮缓存

PINNED_CORE_REVISION 从 5802c42(Core #59)升到 6a14126(Core #61),
新带进来两个 Core 改动:

- #60:语言服务器的索引排除项按目录层批量询问 Git,不再每个父目录
  起一次 git check-ignore。大型仓库打开后 gopls 不再晚约 30 秒启动
  (#1994)。
- #61:LSP 引擎按会话保留悬浮答案,在同一个符号上再次停留时直接给出
  答案,不再等语言服务器(#1995)。

宿主代码没有改动。

* docs(matrix): lsp-completion-hover 记录 Core #61 的悬浮答案保留

两端都通过 Core 6a14126 获得:同一文档版本的同一位置或同一行 range 内
再次悬浮直接返回保留的答案。写明上限、不保留的答案和清空条件;两端
仍为 partial / pending,原生窗口验收待做。
xiaoyumuxi added a commit that referenced this pull request Nov 25, 2026
* fix(desktop): 同步 Viva 上游 ac665a8f,固定 fork 448b0553

- replace 升到 fork main 448b0553(fork #62 merge 了上游 ac665a8f 的
  107 个提交),包含 #61 的 Box.OverflowTooltip,main 恢复编译。
- 跟随上游 d9886845:ModalWith/PopoverWith/TextFieldID 合并进单一函数,
  105 处调用点机械迁移。
- 插件设置和来源设置的只读框改用 Box.ReadOnly,删掉手画的
  readOnlyField/readOnlyList(#1821 第 2 项)。
- 通知测试适配上游紧凑通知:先悬停展开通知堆再点。
- pluginview: 新版 viva vet 的 kept-context 报告,Info 回调加 ignore,
  删掉从未读取的 renderer.c。

Refs #1821

* docs(matrix): 记录 Viva 只读输入框和紧凑通知的行为变化

插件设置的只读项改用 Box.ReadOnly,通知改为上游的折叠卡片堆;验证状态保持 pending。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants