Commit Graph
73 Commits
Author SHA1 Message Date
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 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 575c14dfe5 fix: update sort label translation in Servers component 2026-06-10 15:19:20 +08:00
hamster1963 67f70ab7d3 fix: add service fetching and conditional rendering for service button 2026-06-06 19:11:23 +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 d69190abd5 fix: improve card styling and hover effects across components 2026-06-01 11:53:11 +08:00
hamster1963 4b0106c011 fix: simplify className usage for icons in Server component 2026-05-25 01:42:49 +08:00
hamster1963 29e349505d perf: use biome 2025-12-28 18:05:02 +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 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
仓鼠 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 963765343b fix: update sort type from 'stg' to 'disk' for accurate sorting in server context 2025-04-25 10:26:27 +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
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 c87663f2e1 feat: add global configuration flags for services, card layout, and map display 2025-02-04 19:48:59 +08:00
hamster1963 3b7b5ffa8c chore: auto-fix linting and formatting issues 2025-02-04 07:23:16 +00:00
hamster1963 8ddf26861f feat: improve Server page button styling with dark mode support 2025-02-04 14:41:53 +08:00
kjch a8888b9ca6 fix: update button color styles in Server Page for improved visual clarity 2025-02-03 14:24:30 -05:00
hamster1963 c3adc0d00c feat: filter group 2025-01-21 14:29:28 +08:00
hamster1963 38be1e9a10 feat: disable custom background button 2025-01-17 18:07:39 +08:00
hamster1963 2f02123787 feat: save group selected 2025-01-03 10:00:07 +08:00
hamster1963 81b94fca0e feat: CycleTransferStats display by group 2024-12-26 21:58:49 +08:00
hamster1963 5334fd2acb feat: refactor refresh 2024-12-26 11:07:52 +08:00
hamster1963 1a1ceb4665 fix: remove platform when server is offline 2024-12-24 15:05:11 +08:00
Forget 15f6460b09 feat: 添加部分节点语义化class 2024-12-21 21:14:01 +08:00
hamster1963 b2998752a6 fix: opacity on dark mode 2024-12-20 23:32:52 +08:00
hamster1963 249b699dfb fix: use lastMessage 2024-12-20 23:14:25 +08:00
hamster1963 3633664345 style: CustomBackgroundImage 2024-12-20 01:21:34 +08:00
hamster1963 ae8e3ea144 feat: CustomMobileBackgroundImage 2024-12-19 14:46:21 +08:00
hamster1963 3d66582a3a feat: components with custom background use transparent background 2024-12-19 10:40:11 +08:00
hamster1963 ccaff37022 style: sort button on light mode 2024-12-16 23:01:44 +08:00
hamster1963 27322c9d23 feat: sort type add name uptime system 2024-12-16 22:50:14 +08:00
hamster1963 3d459f96c2 fix: button color on dark mode 2024-12-16 00:14:48 +08:00
hamster1963 4100c518ed style: sort button 2024-12-15 23:53:50 +08:00
hamster1963 682267b520 fix: sort popover width 2024-12-15 23:33:46 +08:00
hamster1963 cbbd69bbc7 feat: server list sort 2024-12-15 23:31:28 +08:00
hamster1963 6e9f1f11af feat: sort provider 2024-12-15 22:10:34 +08:00
hamster1963 9551d46800 feat: init settings 2024-12-15 21:26:31 +08:00
hamster1963 9a2f3ea8e6 fix: prettier config 2024-12-13 17:26:28 +08:00
hamster1963 67124921a6 feat: new tooltip 2024-12-07 21:05:02 +08:00
hamster1963 a3bbd7b2eb feat: refactor overview button 2024-12-06 22:55:13 +08:00
hamster1963 d103612fb8 feat(overview): filter by group 2024-12-06 11:26:54 +08:00
hamster1963 8228fab2fe feat: global map 2024-12-04 10:03:37 +08:00
hamster1963 420c1d9007 feat: live speed 2024-12-03 15:44:46 +08:00