21 Commits
Author SHA1 Message Date
Bot b1ccf11634 feat: custom domain management, status monitor, and theme/styling integration 2026-09-01 23:51:42 +08:00
hamster1963 70532eb44d fix: improve theme management and styling for better user experience 2026-06-04 11:11:49 +08:00
2d46fb6b86 fix: support per-server max/from/to in cycle transfer stats (#64)
* Initial plan

* fix: support per-server max/from/to values in cycle transfer stats

When the Nezha backend has multiple transfer rules within one alert rule,
the API may return per-server max values (as a map) instead of a single
max value. Update the TypeScript interface and CycleTransferStats component
to handle both formats:
- Single value (number/string): used for all servers (current behavior)
- Per-server map ({[serverId]: value}): uses the correct value per server

Fixes #63

Agent-Logs-Url: https://github.com/hamster1963/nezha-dash-v2/sessions/88f98dad-c2eb-4728-ac98-e02a95d5144d

Co-authored-by: hamster1963 <71394853+hamster1963@users.noreply.github.com>

* fix: update schema version in biome.json and improve null checks in components

* chore: auto-fix linting and formatting issues

* fix: guard null/zero in CycleTransferStats per-server map lookups

Agent-Logs-Url: https://github.com/hamster1963/nezha-dash-v2/sessions/2fb2306b-8011-487d-b284-9768778db8c3

Co-authored-by: hamster1963 <71394853+hamster1963@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: hamster1963 <71394853+hamster1963@users.noreply.github.com>
Co-authored-by: hamster1963 <1410514192@qq.com>
2026-05-26 01:34:02 +08:00
hamster1963 29e349505d perf: use biome 2025-12-28 18:05:02 +08:00
hamster1963 d4f6db436a feat: add PWA support with manifest, icons, and theme color management 2025-02-13 11:21:53 +08:00
hamster1963 ae8e3ea144 feat: CustomMobileBackgroundImage 2024-12-19 14:46:21 +08:00
naiba 225aa298f1 chore: change default title 2024-12-14 10:57:34 +08:00
hamster1963 9a2f3ea8e6 fix: prettier config 2024-12-13 17:26:28 +08:00
hamster1963 2be0abcded fix: safari dark mode flash 2024-12-09 00:04:42 +08:00
孤梦 cdc1ad88e6 fix:jsdelivr mirror
将引用的jsdelivr资源更改为fastly的地址,解决中国大陆的访问问题
2024-12-07 20:57:40 +08:00
hamster1963 eb6612e27e fix: ios pwa color 2024-12-03 11:07:14 +08:00
hamster1963 66b474c5de fix: pwa color 2024-12-02 23:12:55 +08:00
hamster1963 59ec052374 fix: chart button width 2024-12-02 23:07:01 +08:00
hamster1963 fcb8ffb444 feat: add web app metadata 2024-12-02 17:23:15 +08:00
hamster1963 31e7818080 fix: remove lang tag 2024-12-02 16:38:23 +08:00
hamster1963 ef8b0ed7ad fix: sitename title 2024-12-02 10:51:47 +08:00
严浩 07cc8cfa64 fix: update favicon 2024-11-30 20:11:21 +08:00
hamster1963 fb38b0eb8a feat: server group 2024-11-24 01:45:33 +08:00
hamster1963 b6b9eae76d fix: default theme 2024-11-23 19:55:15 +08:00
hamster1963 963b6a54a6 feat: server page 2024-11-23 19:28:55 +08:00
hamster1963 e5682aacbd update: init 2024-11-22 22:20:38 +08:00