Repository navigation
Releases
Releases · banana770/dsh-work-badge
v0.1.1 — menu-bar overlap fix
中文
- 修复:Windows 桌面端的峰/谷标签不再与顶部「应用 / 编辑」菜单重叠。
- 调整:标签移到 DSH 顶部菜单栏下方,字号从 12px 缩小到 10px,位置更靠左上。
- 兼容:DSH 桌面端 0.4.2。
English
- Fixed: on the Windows desktop build, the peak/off-peak badge no longer overlaps the top application menu.
- Adjusted: the badge now sits below DSH's title bar, uses a 10px font (down from 12px), and is positioned closer to the top-left corner.
- Compatible with DSH desktop 0.4.2.
v0.1.0 - first public release
First public release.
A tiny click-through label mounted into DSH's shell.overlay slot. It shows whether Beijing time (UTC+8) is currently inside the configured peak window - Monday to Friday 09:00-12:00 and 14:00-18:00 - or outside it, as 峰 / 谷, or as Peak / Off-peak with the English UI text.
- Bilingual UI text: follows the browser locale by default,
LANGpins it tozhoren - Pure client-side: no network, no file access, no API keys, no telemetry
- Recomputed on mount, on tab re-visibility and every 30 seconds
- No build step:
lib/client.jsis the final bundle
dsh plugin --profile web add github:banana770/dsh-work-badge