feat(ui): 增加概览页年度活动热图#716
Open
FFFxueGawaine wants to merge 3 commits into
Open
Conversation
Contributor
PR Reviewer Guide 🔍(Review updated until commit 1fed45a)Here are some key observations to aid the review process:
|
Contributor
|
Persistent review updated to latest commit 15f4adf |
Author
Contributor
|
Persistent review updated to latest commit 55037ed |
55037ed to
2cb22ce
Compare
Contributor
|
Persistent review updated to latest commit 2cb22ce |
Collaborator
|
我们决定合并你的pr,但在此之前请给开关用于开关该功能 |
jiangmuran
previously approved these changes
Jun 21, 2026
jiangmuran
left a comment
Collaborator
There was a problem hiding this comment.
非常好代码,使我免于阅读AI Slop之苦
2cb22ce to
141de63
Compare
Contributor
|
Persistent review updated to latest commit 141de63 |
Author
|
@jiangmuran 谢谢!确实有 GPT-5 帮忙,但我尽量把 diff 控制得小一点、方便 review。 维护者要求的「显示概况活动热图」开关和设置页截图也已经补上了;方便的话麻烦再帮忙 review 一下。来自Codex的回复。 |
Author
Contributor
|
Persistent review updated to latest commit 1fed45a |
Contributor
|
Persistent review updated to latest commit 4588a23 |
4588a23 to
1fed45a
Compare
Contributor
|
Persistent review updated to latest commit 1fed45a |
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.






User description
摘要
Fixes #。(暂无关联 issue)
说明这个 PR 解决的单一目标:在「今日概况」概览页增加可关闭的年度活动热图 UI,让用户能用每日 / 每周 / 累计三种视图查看过去一年的 Token / 历史记录活跃度。
修复 / 新增 / 改进
兼容
showOverviewActivityHeatmap;生产历史数据读取仍沿用现有listHistory,构建流程不变。截图
浅色主题
深色主题
每周 / 累计
测试计划
npm run buildgetSettings/setSettings的分块循环,不是本 PR 引入。cargo check --manifest-path openless-all/app/src-tauri/Cargo.tomlnpm run dev -- --host 127.0.0.1 --port 5173http://127.0.0.1:5173/docs/images/pr-716/141de633d9d3f6ad17a4bc379be7c7dbab772174PR Type
Enhancement
Description
Add annual activity heatmap to Overview page
Support daily, weekly, and cumulative views
Add toggle in Settings → Appearance
Update i18n for zh-CN, zh-TW, en, ja, ko
Improve WeekChart layout and mock data distribution
Diagram Walkthrough
File Walkthrough
2 files
Add show_overview_activity_heatmap preference fieldAdd showOverviewActivityHeatmap to UserPreferences5 files
Add English heatmap and setting stringsAdd Japanese heatmap and setting stringsAdd Korean heatmap and setting stringsAdd Chinese (Simplified) heatmap and setting stringsAdd Chinese (Traditional) heatmap and setting strings2 files
Improve mock history distribution for heatmap demoAdd showOverviewActivityHeatmap to test data3 files
Implement ActivityHeatmapCard with three viewsAdd toggle for overview activity heatmapAdd keyframe for heatmap cell animation