ba37e11931
Translated using Weblate (Indonesian) ( #88 )
...
Currently translated at 100.0% (131 of 131 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 93.8% (123 of 131 strings)
Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/id/
Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/pt_BR/
Translation: Nezha/User frontend
Co-authored-by: Arif Budiman <arifpedia@gmail.com >
Co-authored-by: ace-consultoria <erec.novais@aceconsultoria.org >
2026-08-30 23:18:38 +08:00
hamster1963
663afd3b0f
chore(translations): update and format translation files for multiple languages
2026-08-09 22:08:16 +08:00
hamster1963
d30da074ae
Merge remote-tracking branch 'weblate/main'
2026-08-09 22:06:30 +08:00
ace-consultoria
f434098d94
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 99.0% (102 of 103 strings)
Translation: Nezha/User frontend
Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/pt_BR/
2026-08-07 13:51:40 +00:00
ace-consultoria
e6f6614d87
Added translation using Weblate (Portuguese (Brazil))
2026-08-06 15:30:04 +02:00
iridium
24aa81de3d
Translated using Weblate (French)
...
Currently translated at 7.7% (8 of 103 strings)
Translation: Nezha/User frontend
Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/fr/
2026-07-25 14:01:46 +02:00
hamster1963
e0e90ac600
fix: remove @tanstack/react-virtual
2026-07-13 09:50:34 +08:00
hamster1963
7821ce1131
feat: enhance server handling and add empty state messaging in Server component
2026-07-12 00:41:56 +08:00
jiyuu
6356d472a7
Translated using Weblate (Japanese)
...
Currently translated at 18.4% (19 of 103 strings)
Translation: Nezha/User frontend
Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/ja/
2026-07-11 11:01:20 +02:00
hamster1963
7424b2bfde
refactor: remove @numeric-text/react dependency and implement NumericText component
2026-07-05 13:43:41 +08:00
hamster1963
056c357b6e
feat: implement backend error handling and improve error messaging in Server component
2026-07-05 13:17:36 +08:00
hamster1963
d295d549da
refactor: optimize ServerDetail loading and update MapTooltip positioning logic
2026-07-05 04:19:39 +08:00
hamster1963
6c7ba30cee
feat: refactor DashCommand to use useMemo for shortcuts and server commands
...
feat: optimize GlobalMap component with useMemo for country data processing
feat: enhance ServerCard and ServerCardInline components with memoization
feat: improve ServiceTracker component by processing service data with useMemo
feat: add VirtualServerList component for efficient rendering of server lists
refactor: update Servers page to utilize VirtualServerList for better performance
test: add tests for DashCommand and GlobalMap components, including virtualization checks
2026-07-05 04:09:22 +08:00
仓鼠
8d58f41856
Implement scroll position management for navigation ( #73 )
...
* feat: implement scroll position management for main page navigation
* fix: import saveMainPageScrollPosition in ServerCard and ServerCardInline components
* feat: save scroll position when navigating to server from DashCommand
* fix: prevent restoring stale scroll positions without main page origin
2026-06-20 16:21:32 +08:00
hamster1963
bdabc0158b
feat: integrate NumericText component for improved numeric display in ServerDetailOverview
2026-06-20 00:48:30 +08:00
hamster1963
03977c4b4d
refactor: update websocket context to use structured data and lazy load components
...
- Changed websocket context to use `lastData` instead of `lastMessage` for better type safety and clarity.
- Updated components to handle the new websocket data structure, including `DashCommand`, `Header`, `ServerDetail`, and various chart components.
- Introduced lazy loading for `NotFound`, `ServerDetail`, and `NetworkChart` components to improve performance.
- Added skeleton loading states for `ServerDetail` to enhance user experience during data fetching.
- Updated tests to reflect changes in websocket data handling and component structure.
2026-06-20 00:48:30 +08:00
hamster1963
21d60076ce
fix(api): enhance token refresh handling with CSRF token support
2026-06-15 18:51:19 +08:00
hamster1963
f536d4ecf5
fix(api): implement CSRF token handling for refresh token requests
2026-06-15 18:45:29 +08:00
hamster1963
5720af9108
test: add unit tests for various components and utilities
...
- Created tests for formatBytes function to ensure correct formatting of byte values.
- Implemented tests for InjectContext to validate resource injection and cleanup.
- Added tests for logo-class helpers to verify platform alias mappings.
- Developed tests for nezha-api functions to check API response handling.
- Introduced tests for static geographic data to validate country coordinates and GeoJSON structure.
- Created comprehensive tests for utility functions including date formatting and public note parsing.
- Added tests for Server page to ensure correct rendering and functionality.
- Implemented tests for simple pages including error handling and navigation.
- Set up testing environment with Vitest and configured coverage reporting.
2026-06-15 11:29:48 +08:00
hamster1963
a3afa04c69
feat(i18n): add translation for "All" in GroupSwitch component for English, Simplified Chinese, and Traditional Chinese
2026-06-10 15:19:34 +08:00
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
A
b60d1af024
Translated using Weblate (Romanian)
...
Currently translated at 3.8% (4 of 103 strings)
Translation: Nezha/User frontend
Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/ro/
2026-06-02 17:01:01 +00:00
A
234fcbe490
Translated using Weblate (Romanian)
...
Currently translated at 2.9% (3 of 103 strings)
Translation: Nezha/User frontend
Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/ro/
2026-06-01 12:01:00 +02: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
A
4edb93c824
Added translation using Weblate (Romanian)
2026-05-31 11:44:06 +02: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
Arif Budiman
c3c1e2f39a
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (103 of 103 strings)
Translation: Nezha/User frontend
Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/id/
2026-03-30 10:09:50 +02: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
Руслан Пузич
8810ac963d
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/
2026-02-22 06:14:17 +01: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
nlimeres
4027c6570a
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/
2026-02-17 16:09:49 +00:00