Commit Graph
76 Commits
Author SHA1 Message Date
hamster1963 7424b2bfde refactor: remove @numeric-text/react dependency and implement NumericText component 2026-07-05 13:43:41 +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 ea19d3cc27 chore(deps): update tailwindcss and postcss to version 4.3.1 2026-06-15 18:46:36 +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 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 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 a1b382c3eb fix: update dependencies in package.json to latest versions 2026-05-25 01:42:43 +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
dependabot[bot] caf2e20c58 chore(deps-dev): bump vite from 6.1.1 to 6.4.1 (#56)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.1.1 to 6.4.1.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@6.4.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.4.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-16 12:25:12 +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
Moraxyc Xu a6e45eed46 fix: update framer-motion to fix build (#53) 2026-01-02 23:09:33 +08:00
hamster1963 29e349505d perf: use biome 2025-12-28 18:05:02 +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 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
Moraxyc de616619dc chore: bump cmdk to 1.1.1 (#45) 2025-06-24 00:50:09 +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 579b4f8ef4 chore: bump package dependencies to latest patch and minor versions 2025-02-19 17:47:26 +08:00
hamster1963 a1840176fd chore: update framer-motion and @types/node to latest patch versions 2025-02-16 16: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 b298d91aa1 chore: update project dependencies to latest minor versions 2025-02-10 17:45:41 +08:00
hamster1963 69e12163ad feat: add Radix UI Select component for improved sorting UI 2025-02-06 13:50:37 +08:00
仓鼠 ee0eee378b chore: update project dependencies to latest versions (#31)
* chore: update project dependencies to latest versions

* test: lint

* chore: auto-fix linting and formatting issues
2025-02-04 15:29:45 +08:00
hamster1963 94eb966d65 feat: add tooltip component and integrate it into ServerDetailOverview 2025-02-01 14:04:55 +08:00
hamster1963 51995c107a chore: bump sonner to v1.7.3 2025-01-30 00:32:09 +08:00
hamster1963 7aad81518a feat: enhance time display with NumberFlow component 2025-01-30 00:31:58 +08:00
hamster1963 c02d25e127 chore: update dependencies to latest versions 2025-01-29 01:42:23 +08:00
hamster1963 ce94204efd chore: update dependencies 2025-01-25 11:43:08 +08:00
hamster1963 c5f81d70d4 feat: dash command 2025-01-24 01:08:25 +08:00
hamster1963 733767a363 feat: init command 2025-01-24 00:36:55 +08:00
hamster1963 9e648e80bd chore: deps 2025-01-23 10:20:26 +08:00
hamster1963 4da870dd79 fix: ws cleanup before unload 2025-01-09 11:29:39 +08:00
hamster1963 0a64cdc8c3 feat: use full region name 2025-01-05 22:33:32 +08:00
hamster1963 52dc3cffde chore: deps 2025-01-04 17:11:33 +08:00
hamster1963 1e2c271dc8 feat: store position 2025-01-03 09:38:54 +08:00
hamster1963 2b854a1934 chore: deps 2025-01-01 21:10:54 +08:00
hamster1963 1fcabdd45b chore: deps 2024-12-28 23:41:45 +08:00
hamster1963 427f1e9d7f chore: deps 2024-12-23 11:08:27 +08:00
hamster1963 b8ec538fd9 feat: FixedTopServerName 2024-12-19 16:17:51 +08:00