Commit Graph

293 Commits

Author SHA1 Message Date
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
Weblate (bot) 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
Weblate (bot) ae58d24ba8 Translations update from Hosted Weblate (#50)
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>
2025-12-25 15:15:04 +08:00
hamster1963 9aa83c1a9d feat: add Macau coordinates to countryCoordinates in geo-limit.ts 2025-12-01 00:34:08 +08:00
hamster1963 2cc5926fbe fix: remove unused useLocation import from App.tsx 2025-10-09 11:31:00 +08:00
hamster1963 1fda5ada9f feat: implement command context and provider for command handling; add search button component; enhance network chart with packet loss calculation and display; update translations for new features 2025-10-09 11:28:42 +08:00
Weblate (bot) 304fa67e91 Translated using Weblate (Chinese (Traditional Han script)) (#49)
Currently translated at 100.0% (101 of 101 strings)


Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/zh_Hant/
Translation: Nezha/User frontend

Co-authored-by: ZW <roc_fe@users.noreply.hosted.weblate.org>
2025-09-08 00:06:29 +08:00
Weblate (bot) dec9c01849 Translated using Weblate (Chinese (Traditional Han script)) (#48)
Currently translated at 99.0% (100 of 101 strings)


Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/zh_Hant/
Translation: Nezha/User frontend

Co-authored-by: TurboHK <turbohkcoltd@gmail.com>
2025-08-18 09:45:47 +08:00
Weblate (bot) 1d66bd39f0 Added translation using Weblate (French) (#47)
Co-authored-by: TommyLPB <hcrochetcanard@gmail.com>
2025-07-26 17:01:04 +08:00
Weblate (bot) 0fdaf50e5d Translated using Weblate (Indonesian) (#46) 2025-06-25 18:10:32 +08:00
Weblate (bot) 0ee4fbfbe7 Added translation using Weblate (Indonesian) (#44)
Co-authored-by: Kxroqi :3 <loxocker@gmail.com>
2025-06-24 11:10:47 +08:00
Weblate (bot) aa4bf5618e Translated using Weblate (Russian) (#43)
Currently translated at 100.0% (101 of 101 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (101 of 101 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 100.0% (101 of 101 strings)



Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/es/
Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/ru/
Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/zh_Hans/
Translation: Nezha/User frontend

Co-authored-by: Kris <krishoodbyair@gmail.com>
Co-authored-by: Yurt Page <yurtpage@gmail.com>
2025-05-19 09:18:44 +08:00
hamster1963 15a47fb2d4 fix: update text wrapping in ServerCard and ServerCardInline components for improved readability 2025-05-04 18:10:22 +08:00
hamster1963 65858e73db fix: remove redundant break-words class from ServerCard component 2025-05-03 01:19:39 +08:00
hamster1963 99ea2af28d fix: add break-words class to ServerCard for improved text handling 2025-05-03 01:17:13 +08:00
仓鼠 8438bd4d6d fix: update sorting logic to use formatted memory and disk values for accurate comparisons (#42) 2025-04-27 15:08:27 +08:00
hamster1963 20bba90a49 fix: update button background color for better visibility in dark mode 2025-04-25 10:55:02 +08:00
仓鼠 ed35e8c122 Feat: Multiple choice (#41)
* feat: enable multi-selection for charts in NetworkChart component

* feat: add clear selections button for active charts in NetworkChart component

* chore: auto-fix linting and formatting issues
2025-04-25 10:50:01 +08:00
hamster1963 963765343b fix: update sort type from 'stg' to 'disk' for accurate sorting in server context 2025-04-25 10:26:27 +08:00
Weblate (bot) bc88a53170 Translated using Weblate (Russian) (#40)
Currently translated at 100.0% (101 of 101 strings)


Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/ru/
Translation: Nezha/User frontend

Co-authored-by: bios let <bioslet@gmail.com>
2025-04-01 20:41:13 +08:00
Weblate (bot) e433aff4d4 Translated using Weblate (Spanish) (#39)
Currently translated at 100.0% (97 of 97 strings)


Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/es/
Translation: Nezha/User frontend

Co-authored-by: Andres Pava <hola@andrespava.com>
2025-03-29 14:46:25 +08:00
仓鼠 5803eb3fed feat: add support for additional languages (#38)
* feat: add support for additional languages in LanguageSwitcher and translations

* chore: auto-fix linting and formatting issues
2025-03-26 17:12:46 +08:00
Weblate (bot) a5268dc3ec Translated using Weblate (Russian) (#37)
Currently translated at 100.0% (97 of 97 strings)

Added translation using Weblate (Russian)



Translate-URL: https://hosted.weblate.org/projects/nezha/user-frontend/ru/
Translation: Nezha/User frontend

Co-authored-by: bios let <bioslet@gmail.com>
2025-03-21 14:43:09 +08:00
hamster1963 c4ca78b8e0 feat: fix last active time formatting to correctly handle timestamps 2025-03-20 14:17:22 +08:00
hamster1963 f27de51312 feat: format last active time string using dayjs for improved readability 2025-03-19 11:20:50 +08:00
仓鼠 5d7c07850a feat: enhance uptime display with hours (#36)
* feat: enhance uptime display with hours and update translations for hours

* chore: auto-fix linting and formatting issues
2025-03-16 11:10:59 +08:00
仓鼠 7ffef91d2d feat: add boot time display in ServerDetailOverview and localization … (#35)
* feat: add boot time display in ServerDetailOverview and localization support

* chore: auto-fix linting and formatting issues
2025-03-12 09:25:42 +08:00
仓鼠 1a38ce8c77 feat: improve inline settings handling for mobile responsiveness (#34)
* feat: improve inline settings handling for mobile responsiveness

* chore: auto-fix linting and formatting issues
2025-03-12 09:18:31 +08:00
Yorun 57256fcc3a feat: Add quarterly abbr (#33)
* feat: Add quarterly abbr

* chore: auto-fix linting and formatting issues

---------

Co-authored-by: yorunning <25226871+yorunning@users.noreply.github.com>
2025-02-28 23:53:42 +08:00
hamster1963 674d348ed7 feat: add support for ForcePeakCutEnabled configuration in NetworkChart 2025-02-20 15:29:14 +08:00
hamster1963 059e66bc91 refactor: improve NetworkChart x-axis tick display logic for better time range visualization 2025-02-19 17:47:10 +08:00