feat(gui): 提交 GUI 2.0 alpha 版本 - #21
Open
ShiinaKuroko wants to merge 21 commits into
Open
Conversation
重构作战、计划与设置页面,完善舰队规划、出征规划、计划管理和运行状态展示。 新增本地舰船资料库及增量更新工具,统一 YAML 生命周期、环境管理、主题、窗口持久化和保存反馈,并补充迁移与设置隔离测试。
# Conflicts: # README.md # package.json # src/controller/plan/nodeEditor.ts # src/controller/taskGroup/queueLoader.ts # src/data/shipData.ts # src/model/PlanModel.ts # src/model/scheduler/TaskQueue.ts # src/types/api.ts # src/types/model.ts
- 使用系统计划文件名持久化战利品选择并兼容旧索引 - 保留旧任务组地图语义并补齐兼容计划资源 - 等待后端确认停止后再将任务放回队列
为 8 个系统舰队方案的主选和候选舰规则统一增加 min_level: 100。
- 严格拒绝空值、布尔值和小数索引 - 旧模板存在但无法识别时关闭自动刷取 - 将 GUI 索引纠正失败纳入迁移汇总并支持重试
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.
目标
将完整 GUI 2.0 提交到
alpha分支进行开源项目实际验证。本 PR 只面向alpha,不提交到main。主要改动
智能编队行为不变量
这些规则不能退化为逐舰位顺序选择,否则会提前占用后续舰位所需舰船,破坏全局最优复用和位置调整。
兼容验证
task_groups.jsonfixture:加载 -> 保存 -> 执行 -> 再次加载通过。TeamPlanCodec解析;35 条主规则和 253 条候选规则均包含min_level: 100。PlanModel.fromYaml()解析。127.0.0.1:16384、WebSocket 和模拟器运行验证。测试
npm run buildnpm run test:main-servicesnpm run test:scheduler-domainnpm run test:legacy-config-upgradenpm run test:api-contractnpm run test:settingsnpm run test:main-ipcgit diff --check已知限制
npm run pack已完成源码编译和release/win-unpacked应用目录组装,随后因当前 Windows 会话无创建符号链接权限,electron-builder 解压winCodeSign-2.6.0.7z失败;后续下载重试又遇到 GitHub 超时。未关闭签名或权限校验绕过。stopping,继续等待 WebSocket,避免后端状态未知时重复启动任务;该超时分支未纳入自动化等待 30 秒的用例。