Repository navigation
删除确认框重做、全链路日志加固与 v1.6.4 更新说明 - #33
Merged
Merged
Conversation
- 删除分组/自选改为自建的账目式确认框:逐只列出名称 + 代码,默认焦点在 「取消」;分组删除与自选删除共用 ConfirmDialog 外壳 - 分组右键菜单:上移/下移改为左移/右移;只剩一个分组时不再出现重复的删除项; 默认分组恢复可删 - 日志:本机时区、追加写、2MB 轮转(启动与运行期)、QUANT_LOG 调级、 panic 落日志 - 前端日志桥:console.error/warn、window.onerror、unhandledrejection 经 log_event 落盘,5 秒去重、按字符截断 - 命令层:自选写库失败 warn、破坏性操作 info、导入汇总;emit 失败留痕; 取数活跃源/回退源失败与轮询告警按 5 分钟节流 - 修复 set-skip-taskbar 缺少 capability 导致的静默失败(由日志桥发现) - 新增 logging/webLog 单元测试,CLAUDE.md 同步
- NButton 的 small 只改高度(28px),字号仍是 14px,与弹框正文和描边的 「取消」不一致;在 footer 作用域内压到 12px - 「取消」改用共享的 .btn-ghost(透明底 + 1px 边框),与确认框一致 - 按钮样式从 ConfirmDialog 抽到 assets/styles/buttons.css,两处共用
- 根文件 424 → 229 行:删掉开发阶段表、历史叙事、完整组件树与重复的 源码解释,保留操作步骤、跨语言契约与易回归的不变量 - 官网的素材/SEO/内容页/图片管线约束移到 website/CLAUDE.md(进入该 目录时自动加载),发布前从 Pages artifact 中剔除 - 顶部写明收录原则,避免再次累积成流水账
- 新键 ticker_click_wakes(默认 1,与现有行为一致);关闭后点击行情条 不再调用 show_main_window,恢复主界面走托盘或老板键 - 行情条经 settings-changed 即时生效;初始化失败的点击重试不受影响 - 关闭时去掉 role/tabindex,读屏不再把它当作按钮
放量用涨色(--color-up)、缩量用跌色(--color-down),随「红涨绿跌 / 红跌绿涨」设置自动翻转,不另立一套语义;持平保持次要灰。 颜色只落在数字上(「较昨同期」标签仍是灰色),符号继续留在文字里 —— 颜色不是唯一信号,色觉障碍读不出。
代码 s_sh000510 / s_sz399330,已在腾讯与新浪两套接口上实测:两源名称 一致、价格与量额正常。候选池 14 → 16,设置页「可添加」区按名称表顺序 追加在末尾;默认勾选的 7 个不变,新指数勾上后才出现在顶栏。 池一致性测试的条数断言同步到 16;文档里的「14 个」一并更新。
- 状态栏设置入口选中时只换强调色文字,不再铺底:28px 状态栏里任何 底色都会变成紧贴小字号的色块,悬停态也一并压掉,避免点完后鼠标停在 按钮上一直显示灰底。 - 设置页「返回」从 11px 提到 13px 正文,chevron 同步到 14px;标题保持 14px/600,主次改由字重与颜色表达,头部间距由 12px 收到 8px。
汇总本轮变更:行情条「点击唤醒主界面」开关、指数候选池新增 中证A500 与 深证100、删除分组/自选确认框重做、较昨同期增量 配色与若干 UI 细节优化。
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.
概要
QUANT_LOG调级、panic 落日志;前端 console.error/warn、window.onerror、unhandledrejection 经log_event落盘(5 秒去重、按字符截断);命令层写库失败与取数失败按 5 分钟节流留痕。验证
npx vitest run src/utils/changelog.spec.ts通过npm run site:assets通过(页面引用、顶栏一致性、sitemap)vue-tsc、vitest 与cargo check(default / store)+cargo test