dsh-all-usage 1.2.2 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## v1.2.3(2026-11-08)
4
+ ### 修复
5
+ - **柱状图最左柱压住纵轴刻度** —— 柱子不再越出绘图区,刻度与悬停位置不变;折线视图不受影响。
6
+ - **热力图星期标签与格子错行** —— 标签重新对齐到各自的格子行。
7
+ - **热力图悬停提示不显示** —— 提示框改按屏幕定位,不再被面板裁掉。
8
+ - **浅色主题下图表与日历看不清** —— 数据色改为跟随主题,浅色对比度达标,深色外观不变。
9
+ ### 优化
10
+ - **面板改为浮动圆角卡片** —— 四角圆角、四周留边,窄窗口不再退化成直角。
11
+ - **标题栏独立成圆角卡片** —— 下边框换成柔和阴影,滚动时停在拖拽条下方。
12
+ ### Fixes
13
+ - **The leftmost bar covers the y-axis labels** — bars stay inside the plot; ticks and hover targets are unchanged, and the line view is untouched.
14
+ - **Heatmap weekday labels drift off their rows** — each label lines up with its grid row again.
15
+ - **The heatmap tooltip never shows up** — it is positioned against the screen again instead of being clipped by the panel.
16
+ - **Charts and the calendar are hard to read on a light theme** — data colours follow the theme; light passes contrast and the dark look is unchanged.
17
+ ### Improvements
18
+ - **The panel is a floating rounded card** — rounded on all four corners with a margin, so a narrow window no longer squares it off.
19
+ - **The toolbar is a rounded card of its own** — the hard bottom border becomes a soft shadow, and it parks under the drag strip while scrolling.
20
+
3
21
  ## v1.2.2(2026-11-07)
4
22
  ### 新功能
5
23
  - **趋势图可切换柱状图** —— 图表右上角新增「折线 / 柱状」切换;柱状是把每行按 token 类型叠成一根柱子、由总量封顶,柱子自下向上生长(系统开启「减少动态效果」时不播放),选过的视图下次打开仍保留。
package/README.en.md CHANGED
@@ -254,14 +254,14 @@ npm run check:pack
254
254
 
255
255
  ## Status and Updates
256
256
 
257
- The latest published release is `v1.2.1` ([GitHub Release](https://github.com/ParticleLight/dsh-all-usage/releases/tag/v1.2.1) | npm: `npm i dsh-all-usage@1.2.1`). See [CHANGELOG.md](CHANGELOG.md) for the complete development and release history.
257
+ The latest published release is `v1.2.2` ([GitHub Release](https://github.com/ParticleLight/dsh-all-usage/releases/tag/v1.2.2) | npm: `npm i dsh-all-usage@1.2.2`). See [CHANGELOG.md](CHANGELOG.md) for the complete development and release history.
258
258
 
259
- ### Latest published: v1.2.1
259
+ ### Latest published: v1.2.2
260
260
 
261
- - **DSH `0.2.1-rc.1` and `0.2.1-rc.2` support**: both exact versions are verified on the real runtime.
262
- - **The panel follows DSH's language**: it opens in DSH's Language setting, switching between Chinese and English refreshes the data immediately, and the English "Today" trend draws its hourly curve again.
263
- - **Third-party themes can no longer bury the panel**: sidebar glass/wallpaper plugins do not cover it, and a theme that blanks the base background cannot punch holes in it.
264
- - **DeepSeek Account usage is priced with the peak/off-peak bands again**: that route had been charged the off-peak rate all day; existing account-route usage is re-priced on the next reconciliation.
261
+ - **The trend chart can switch to bars**: a Line / Bars switch sits at the top right; bars stack one column per row by token type with the total on top, grow from the baseline (no growth with reduced motion), and the choice is remembered.
262
+ - **DSH `0.2.2-alpha.3` and `0.2.2-rc.1` support**: both exact versions are verified on the real runtime.
263
+ - **"Today" keeps its hourly curve**: switching to Today shows the day's hourly trend without a manual refresh.
264
+ - **A cheaper panel and idle poll**: the always-on glow and three backdrop blurs are gone, and the idle poll no longer re-renders the dashboard when the payload has not changed.
265
265
 
266
266
  See [CHANGELOG.md](CHANGELOG.md) for the complete version history.
267
267
 
package/README.md CHANGED
@@ -253,14 +253,13 @@ npm run check:pack
253
253
 
254
254
  ## 状态与更新
255
255
 
256
- 当前最新发布版本为 `v1.2.1`([GitHub Release](https://github.com/ParticleLight/dsh-all-usage/releases/tag/v1.2.1)|npm:`npm i dsh-all-usage@1.2.1`)。完整开发与版本记录见 [CHANGELOG.md](CHANGELOG.md)。
256
+ 当前最新发布版本为 `v1.2.3`([GitHub Release](https://github.com/ParticleLight/dsh-all-usage/releases/tag/v1.2.3)|npm:`npm i dsh-all-usage@1.2.3`)。完整开发与版本记录见 [CHANGELOG.md](CHANGELOG.md)。
257
257
 
258
- ### 最近发布:v1.2.1
258
+ ### 最近发布:v1.2.3
259
259
 
260
- - **支持 DSH `0.2.1-rc.1` / `0.2.1-rc.2`**:两条精确版本都已在真实运行链上验证。
261
- - **界面语言跟随 DSH**:首次进入按 DSH 的 Language 设置选择语言;中英切换立即刷新数据,英文「今日」趋势恢复小时曲线。
262
- - **面板不再被第三方主题压住**:侧栏玻璃 / 壁纸类插件不会再盖住面板,透明主题也不会把面板底色「打洞」。
263
- - **DeepSeek Account 路由恢复峰谷计价**:该路由此前全天按谷价计、峰时偏少;升级后历史账号路由用量会在下次对账时重新计价。
260
+ - **四处显示问题**:柱状图最左柱不再压住纵轴刻度;热力图星期标签重新对齐格子行;悬停提示不会再被面板裁掉;浅色主题下图表与日历看得清了。
261
+ - **面板改为浮动圆角卡片**:四角 24px 圆角、四周留边,窄窗口不再退化成直角。
262
+ - **标题栏独立成圆角卡片**:下边框换成柔和阴影,滚动时停在拖拽条下方。
264
263
 
265
264
  完整版本记录见 [CHANGELOG.md](CHANGELOG.md)。
266
265