hamster1963
575c14dfe5
fix: update sort label translation in Servers component
2026-06-10 15:19:20 +08:00
hamster1963
78c412a517
fix: update formatBytes function to return "0 KiB" for zero bytes and streamline size array
2026-06-10 15:04:05 +08:00
hamster1963
6015e616fa
feat: add @numeric-text/react for improved numeric display in Header and ServerOverview components
2026-06-10 15:04:00 +08:00
hamster1963
eb682dc75f
refactor: remove framer-motion dependencies and implement custom active indicator for improved performance and animations
2026-06-10 13:23:10 +08:00
hamster1963
67f70ab7d3
fix: add service fetching and conditional rendering for service button
2026-06-06 19:11:23 +08:00
hamster1963
3c9613a179
fix: remove animations from CommandDialog content for improved performance
2026-06-06 18:36:33 +08:00
hamster1963
f9e4c12a6a
fix: enhance dropdown menu styling for improved animations and transitions
2026-06-06 18:34:22 +08:00
hamster1963
70532eb44d
fix: improve theme management and styling for better user experience
2026-06-04 11:11:49 +08:00
hamster1963
ad0682bbf1
fix: add sorting labels and types for multiple languages in translation files
2026-06-01 15:20:35 +08:00
hamster1963
631390586b
fix: update sort controls styling for improved visibility and consistency
2026-06-01 15:13:21 +08:00
hamster1963
f323f4248b
fix: simplify sorting UI by removing popover and integrating sort controls directly
2026-06-01 15:07:55 +08:00
hamster1963
eac9d6a245
fix: enhance sorting functionality and UI for server list
2026-06-01 14:51:01 +08:00
hamster1963
33ba092345
fix: update button padding and hover styles for improved user interaction
2026-06-01 11:58:33 +08:00
hamster1963
30fb1fbe30
fix: update tooltip styling for improved visual consistency
2026-06-01 11:53:15 +08:00
hamster1963
d69190abd5
fix: improve card styling and hover effects across components
2026-06-01 11:53:11 +08:00
hamster1963
57aaba3918
fix: enhance loading state handling in NetworkChart component
2026-06-01 11:19:41 +08:00
hamster1963
fcaff0bae0
fix: add responsive container handling for chart components
2026-05-31 20:05:35 +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
f69f480d3b
fix: enhance sorting functionality by adding forced sort type and order handling
2026-05-25 01:57:50 +08:00
hamster1963
4b0106c011
fix: simplify className usage for icons in Server component
2026-05-25 01:42:49 +08:00
Copilot and hamster1963
e4ba96ea76
fix: default network chart period to 1d instead of 30d ( #61 )
...
* Initial plan
* fix: change network chart default period from 30d to 1d
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 >
2026-03-10 15:30:42 +08:00
eceadb6bff
fix: Update service to use display_index as the main sort order ( #60 )
...
* fix: Update service to use display_index as the main sort order
* chore: auto-fix linting and formatting issues
* Update src/types/nezha-api.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: huYang <306061454@qq.com >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-02-25 17:20:42 +08:00
b030cd45d6
Translations update from Hosted Weblate ( #59 )
...
* Translated using Weblate (Ukrainian)
Currently translated at 2.9% (3 of 103 strings)
Added translation using Weblate (Ukrainian)
Added translation using Weblate (Japanese)
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Co-authored-by: Zilong Liu <2821624044@qq.com >
Co-authored-by: Руслан Пузич <visp80@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/uk/
Translation: Nezha/User frontend
* Translated using Weblate (Ukrainian)
Currently translated at 11.6% (12 of 103 strings)
Translation: Nezha/User frontend
Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/uk/
* Added translation using Weblate (Galician)
* Translated using Weblate (Galician)
Currently translated at 100.0% (103 of 103 strings)
Translation: Nezha/User frontend
Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/gl/
* Translated using Weblate (Ukrainian)
Currently translated at 50.4% (52 of 103 strings)
Translation: Nezha/User frontend
Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/uk/
* chore: auto-fix linting and formatting issues
---------
Co-authored-by: Zilong Liu <2821624044@qq.com >
Co-authored-by: Руслан Пузич <visp80@gmail.com >
Co-authored-by: nlimeres <dynosaurioprogramador@gmail.com >
Co-authored-by: weblate <1607653+weblate@users.noreply.github.com >
Co-authored-by: 仓鼠 <71394853+hamster1963@users.noreply.github.com >
2026-02-22 13:50:33 +08:00
3be914cecc
Translations update from Hosted Weblate ( #58 )
...
* Translated using Weblate (Ukrainian)
Currently translated at 2.9% (3 of 103 strings)
Added translation using Weblate (Ukrainian)
Added translation using Weblate (Japanese)
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Co-authored-by: Zilong Liu <2821624044@qq.com >
Co-authored-by: Руслан Пузич <visp80@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/uk/
Translation: Nezha/User frontend
* Translated using Weblate (Ukrainian)
Currently translated at 11.6% (12 of 103 strings)
Translation: Nezha/User frontend
Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/uk/
* Added translation using Weblate (Galician)
* Translated using Weblate (Galician)
Currently translated at 100.0% (103 of 103 strings)
Translation: Nezha/User frontend
Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/gl/
* chore: auto-fix linting and formatting issues
---------
Co-authored-by: Zilong Liu <2821624044@qq.com >
Co-authored-by: Руслан Пузич <visp80@gmail.com >
Co-authored-by: nlimeres <dynosaurioprogramador@gmail.com >
Co-authored-by: weblate <1607653+weblate@users.noreply.github.com >
Co-authored-by: 仓鼠 <71394853+hamster1963@users.noreply.github.com >
2026-02-18 00:26:17 +08:00
d82c4c4aeb
Translations update from Hosted Weblate ( #57 )
...
* Translated using Weblate (Ukrainian)
Currently translated at 2.9% (3 of 103 strings)
Added translation using Weblate (Ukrainian)
Added translation using Weblate (Japanese)
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Co-authored-by: Zilong Liu <2821624044@qq.com >
Co-authored-by: Руслан Пузич <visp80@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/uk/
Translation: Nezha/User frontend
* Translated using Weblate (Ukrainian)
Currently translated at 11.6% (12 of 103 strings)
Translation: Nezha/User frontend
Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/uk/
* Added translation using Weblate (Galician)
* chore: auto-fix linting and formatting issues
* chore: auto-fix linting and formatting issues
---------
Co-authored-by: Zilong Liu <2821624044@qq.com >
Co-authored-by: Руслан Пузич <visp80@gmail.com >
Co-authored-by: nlimeres <dynosaurioprogramador@gmail.com >
Co-authored-by: weblate <1607653+weblate@users.noreply.github.com >
Co-authored-by: 仓鼠 <71394853+hamster1963@users.noreply.github.com >
2026-02-17 17:42:56 +08:00
hamster1963
816f6e7f9e
fix: Remove redundant text label for average packet loss in NetworkChart component
2026-02-16 00:19:54 +08:00
hamster1963
6172c641a0
chore: update @radix-ui/react-dialog to version ^1.1.15 and improve dialog component styles
2026-02-14 21:56:16 +08:00
hamster1963
0c7c6a1378
feat: enhance tooltips and loading states in NetworkChart and ServerDetailChart; add translations for TSDB and login requirements
2026-02-14 15:04:37 +08:00
hamster1963
7d59371ee3
feat: add additional time period translations in serverDetailChart
2026-02-09 09:27:04 +08:00
hamster1963
a303a5add2
fix: adjust margin and layout for PeriodSelector and avg packet loss display in NetworkChartClient
2026-01-30 11:48:58 +08:00
hamster1963
18e3c74178
feat: add chart loading skeletons and enhance translation for time periods
2026-01-30 11:42:14 +08:00
hamster1963
6dae6cce8f
feat: enhance ServerDetailChart with new chart tooltips and sync functionality
2026-01-30 09:30:50 +08:00
hamster1963
65b32ec81e
feat: add server metrics fetching and update translations
...
- Implemented `fetchServerMetrics` function in `nezha-api.ts` to retrieve server metrics based on metric type and period.
- Added new metric types and periods to `nezha-api.ts` type definitions.
- Updated English and Chinese translations to include new terms for metrics and periods.
- Commented out `ServerDetailSummary` component in `ServerDetail.tsx` for future use.
2026-01-30 09:14:41 +08:00
仓鼠
1aa66f98ed
fix: enhance NetworkChart with user login state and period selection ( #54 )
2026-01-29 09:29:00 +08:00
hamster1963
76590a6bd0
fix: swap ProcessChart and MemChart components in ServerDetailChart
2026-01-07 17:46:32 +08:00
hamster1963
af9926e774
fix: update styling and layout for ServerDetail components
2026-01-07 17:31:55 +08:00
hamster1963
cc0f5c0a2e
fix: ensure billing information displays correctly based on available dates
2026-01-02 23:20:59 +08:00
ad4455e61d
Translations update from Hosted Weblate ( #52 )
...
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Co-authored-by: Zilong Liu <2821624044@qq.com >
Co-authored-by: Руслан Пузич <visp80@gmail.com >
Co-authored-by: weblate <1607653+weblate@users.noreply.github.com >
Co-authored-by: 仓鼠 <71394853+hamster1963@users.noreply.github.com >
2026-01-02 23:11:56 +08:00
hamster1963
92fada4792
refactor: simplify network route handling in PlanInfo component
2025-12-28 18:09:22 +08:00
hamster1963
29e349505d
perf: use biome
2025-12-28 18:05:02 +08:00
hamster1963
3bfd4ef4d2
fix: prevent color fade during theme transitions
2025-12-28 16:33:57 +08:00
hamster1963
5a0c873dc8
feat: add ServerDetailSummary component for enhanced server usage display
2025-12-28 16:30:16 +08:00
hamster1963
c989a67265
fix: update GroupSwitch and Server components for improved tab handling and styling
2025-12-28 16:21:17 +08:00
hamster1963
42f99a6f84
feat: implement animated count component and update header for real-time display
2025-12-28 16:11:52 +08:00
hamster1963
b4f2abb885
fix: enhance text size for LanguageSwitcher and ThemeSwitcher components
2025-12-28 15:26:39 +08:00
hamster1963
746f890d65
refactor: update component styles and improve accessibility
...
- Adjusted hover shadow effects in CycleTransferStatsClient for better visual feedback.
- Fixed aspect ratio class in GlobalMap for consistent rendering.
- Updated font weight in GroupSwitch for improved readability.
- Modified Separator width class in Header for consistency across components.
- Enhanced button hover effects in NetworkChartClient for better user interaction.
- Adjusted margin class in ServerDetailOverview for better alignment.
- Updated margin classes in ServerOverview for consistent spacing.
- Refined background gradient classes in ServiceTrackerClient for better color management.
- Standardized font weight in TabSwitch for consistency.
- Corrected stroke color class in AnimatedCircularProgressBar for better theming.
- Improved focus outline handling in badge and button components for better accessibility.
- Updated chart component styles for improved visual hierarchy.
- Adjusted checkbox focus outline for better accessibility.
- Enhanced command dialog styles for improved usability.
- Updated dialog close button focus outline for better accessibility.
- Refined dropdown menu styles for improved usability and consistency.
- Adjusted input focus outline for better accessibility.
- Improved popover content styles for better visibility.
- Updated select component styles for improved usability.
- Refined separator height classes for consistency.
- Enhanced switch component focus outline for better accessibility.
- Updated table footer styles for improved visual consistency.
- Refactored global CSS to use new Tailwind CSS configuration and improved theming.
- Removed outdated Tailwind configuration file.
2025-12-28 15:24:04 +08:00
hamster1963
4d4c3f1639
fix: add server ID to tooltip data and update MapTooltip component for navigation
2025-12-28 15:01:27 +08:00
hamster1963
4f9db466a3
fix: enhance styling of LanguageSwitcher and ThemeSwitcher components
2025-12-28 14:40:44 +08:00
hamster1963
409ec0b62c
fix: update SearchButton styling
2025-12-28 14:37:02 +08:00
hamster1963
15424513b5
fix: enhance styling of CardHeader in NetworkChartClient component
2025-12-28 14:36:45 +08:00