Commit Graph
21 Commits
Author SHA1 Message Date
Bot 643770318c chore: merge upstream/main into nezha-dash-v1 preserving custom domain and styling features 2026-08-31 02:59:30 +08:00
hamster1963 e0e90ac600 fix: remove @tanstack/react-virtual 2026-07-13 09:50:34 +08:00
hamster1963 fc29ca7532 chore(deps): upgrade typescript to version 7.0.2 in package.json and pnpm-lock.yaml 2026-07-12 00:45:22 +08:00
hamster1963 27d8d3f572 chore(deps): update vite to version 8.1.3 and related dependencies in lockfile 2026-07-05 13:46:34 +08:00
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
Bot 97ddc709e8 chore: update pnpm-lock.yaml to match package.json 2026-05-01 14:00:12 +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 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 816f6e7f9e fix: Remove redundant text label for average packet loss in NetworkChart component 2026-02-16 00:19:54 +08:00