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
hamster1963
8f3a2f3eb3
chore(deps): update @radix-ui/react-dialog, react-router-dom, @tailwindcss/postcss, @vitejs/plugin-react, tailwindcss, and vite to latest versions
2026-07-02 17:47:22 +08:00
hamster1963
5a4e47d520
chore(deps): update @radix-ui/react-dialog, react-router-dom, @vitest/coverage-v8, and vitest to latest versions
2026-06-20 00:53:33 +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
ea19d3cc27
chore(deps): update tailwindcss and postcss to version 4.3.1
2026-06-15 18:46:36 +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
5670811991
chore(deps): update biome and radix-ui packages to latest versions
2026-06-10 15:21:26 +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
c6e58167a3
chore(deps): update @radix-ui/react-dialog and react-router-dom to latest versions
2026-06-10 13:23:39 +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
8e0f7a2fb6
fix(deps): remove bun.lock
2026-06-10 13:22:54 +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
20adf873fc
fix: update pnpm version in CI workflow to ensure compatibility
2026-06-04 11:15:11 +08:00
hamster1963
70532eb44d
fix: improve theme management and styling for better user experience
2026-06-04 11:11:49 +08:00
hamster1963
c8b7dcc8a8
fix: update build workflow to use Node.js and pnpm, and upgrade react-router-dom version
2026-06-04 10:24:16 +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
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
hamster1963
a1b382c3eb
fix: update dependencies in package.json to latest versions
2026-05-25 01:42:43 +08:00
hamster1963
2dcf6fb9d8
fix: remove unused prerelease condition from GitHub Actions workflow
2026-04-02 17:31:50 +08:00
hamster1963
9a21a664c9
fix: add draft condition for release based on tag naming conventions
2026-04-02 17:29:48 +08:00
hamster1963
f7662d2751
chore: add CI workflow and update dependencies in package.json and vite.config.ts
2026-04-02 17:17:16 +08:00
hamster1963
d7f4f61001
chore: bump version to 2.0.2 in package.json
2026-02-25 17:22:27 +08:00
hamster1963
7b085915d9
chore: bump version to 2.0.1 in package.json
2026-02-16 12:36:22 +08:00
hamster1963
e700ef40d5
chore: update react-router-dom to version ^7.13.0 in package.json and pnpm-lock.yaml
2026-02-16 12:34:50 +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
7e4bed4f6c
chore: update project name to nazha-dash-v2 and version to 2.0.0
2026-02-15 12:30:41 +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
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
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
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
hamster1963
48704b1135
fix: update cmdk dependency version to 1.1.1
2025-10-09 11:28:42 +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
hamster1963
20bba90a49
fix: update button background color for better visibility in dark mode
2025-04-25 10:55:02 +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
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
hamster1963
83db91ee58
chore: update package dependencies to specific versions
2025-03-17 12:31:06 +08:00
hamster1963
99d349b0ed
chore: update package dependencies to latest versions
2025-03-12 08:57:46 +08:00
hamster1963
24f5095051
chore: update country-flag-icons, framer-motion, and postcss to latest versions
2025-02-20 15:29:27 +08:00
hamster1963
674d348ed7
feat: add support for ForcePeakCutEnabled configuration in NetworkChart
2025-02-20 15:29:14 +08:00
hamster1963
579b4f8ef4
chore: bump package dependencies to latest patch and minor versions
2025-02-19 17:47:26 +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
hamster1963
a1840176fd
chore: update framer-motion and @types/node to latest patch versions
2025-02-16 16:32:11 +08:00
hamster1963
c58b79e6d2
refactor: improve NetworkChart x-axis tick formatting and interval
2025-02-16 16:30:48 +08:00
hamster1963
296b15a7d4
feat: add platform-specific keyboard shortcut display
2025-02-13 11:32:11 +08:00
hamster1963
0e184cafbb
chore: update project name and reset version to 1.0.0
2025-02-13 11:22:37 +08:00
hamster1963
ce693db499
chore: bump package dependencies to latest patch versions
2025-02-13 11:22:07 +08:00
hamster1963
d4f6db436a
feat: add PWA support with manifest, icons, and theme color management
2025-02-13 11:21:53 +08:00
hamster1963
b298d91aa1
chore: update project dependencies to latest minor versions
2025-02-10 17:45:41 +08:00
hamster1963
52c7391d57
refactor: enhance Server page toggle buttons with subtle shadow and border styling
2025-02-06 13:58:12 +08:00
hamster1963
69e12163ad
feat: add Radix UI Select component for improved sorting UI
2025-02-06 13:50:37 +08:00
hamster1963
681bcaadd5
refactor: update Server page button active state color to blue-600
2025-02-06 13:41:00 +08:00
hamster1963
27ad834683
refactor: simplify seconds display in time component
2025-02-05 01:26:25 +08:00
hamster1963
c87663f2e1
feat: add global configuration flags for services, card layout, and map display
2025-02-04 19:48:59 +08:00
hamster1963
8ddf26861f
feat: improve Server page button styling with dark mode support
2025-02-04 14:41:53 +08:00
hamster1963
48dbf85bca
refactor: improve CycleTransferStats and ServiceTracker UI components
2025-02-01 19:39:23 +08:00
hamster1963
0f81ef2f25
feat: enhance ServiceTracker with detailed uptime and delay visualization
2025-02-01 19:10:04 +08:00
hamster1963
94eb966d65
feat: add tooltip component and integrate it into ServerDetailOverview
2025-02-01 14:04:55 +08:00