[0947] 补全 QML 弹窗 ai-docs 并补登 UpdaterProgress - #4450
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.
背景
ai-docs/qml/README.md停更于 [0926],其后 [2039](Statistics)、[2040](ConfirmRestart)、[2044](Preferences)、[2080](Version)、[0518](UpdaterProgress)落地的对话框、原子与机制均未入册;且Preferences.qml头注释引用的「README 的 Preferences 契约」一节从未存在,代码与文档断链。[0518] 还遗漏了qml/qmldir登记、设计稿面板与加载测试。本 PR 全部为文档 / 登记 / 测试增量,不改动任何对话框的运行时行为(不触碰 [0518] 的功能代码,零影响)。
改动内容
ai-docs/qml/README.md(主体)Preferences.qml:12引用却缺失的章节src/Scheme/L5/glue_qt.lua(与 CLAUDE.md 所述src/Scheme/Glue/目录不同,避免误导)MOGAN_TEST_*钩子与消费测试对照全表其余
ai-docs/qml/qml-dialog.html:补 UpdaterProgress 设计面板(spinner 动画),9→10 面板src/Plugins/Qt/qml/qmldir:补登UpdaterProgress 1.0(顶层弹窗均经 qrc 直接 setSource 加载,补登仅为消除与登记规矩的矛盾,不影响加载路径)tests/Plugins/Qt/qml_load_test.cpp:新增test_updater_progress_loads(补上 UpdaterProgress 唯一的测试缺口);文件头「四个成品」过时描述更新为十个验证
xmake b --yes qml_load_test && xmake r qml_load_test:16 passed, 0 failed(含新增用例;gf fmt 后复跑通过)ai-docs/qml/qml-dialog.html,左侧切换到 UpdaterProgress.qml 查看新增面板与转圈动画后续
0928(QML 调色板)、2085(QML 最近文档)合入后,成品表各需追加一行——本 PR 补全表结构后,追加只是一行改动。