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
* 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
- 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.
- 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.