219 Commits
Author SHA1 Message Date
furyhawk eef80ca97d ⬆ Update @tanstack/react-router-devtools to version 1.120.5 and improve formatting in vite.config.ts 2026-05-23 14:11:49 +08:00
furyhawk d0ab5c5833 ⬆ Update package references for React Router Devtools 2026-05-23 12:03:48 +08:00
furyhawk 9c3a7339ad Refactor route imports and update route definitions in routeTree.gen.ts
- Changed import statements to use consistent naming conventions for route imports.
- Updated route definitions to reference the new import names.
- Removed redundant code related to the FileRoutesByPath interface and route children.
- Simplified the route tree structure by directly exporting the root route with children.
2026-05-14 07:05:53 +08:00
dependabot[bot]andGitHub 6d557d64e3 ⬆ Bump node from 24 to 26 in /frontend
Bumps node from 24 to 26.

---
updated-dependencies:
- dependency-name: node
  dependency-version: '26'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-08 10:10:38 +00:00
furyhawk 8420594dcf Remove lazy loading from weather components to fix hooks error 2026-04-23 22:35:15 +08:00
furyhawk a54e5bf0b6 Fix WeatherMap lazy loading conflict: Import directly instead of lazy-loading 2026-04-23 21:29:52 +08:00
furyhawk 30bcb50cba Fix React hooks error: Remove React.memo and add lazyMount/unmountOnExit to tabs 2026-04-23 21:22:13 +08:00
furyhawk d5c48cba3a Fix TypeScript errors: Add React import and remove unused latestWindReading declaration 2026-04-23 21:12:55 +08:00
furyhawk ed71ad3545 fix: resolve TypeScript errors in frontend components 2026-04-23 21:02:33 +08:00
furyhawk 6afd515b62 perf: optimize frontend with code splitting, memoization, and tree shaking
- Implemented lazy loading for weather hub tabs
- Added React.memo to weather components for performance
- Optimized data processing with useMemo in dashboard
- Enabled tree-shaking in Vite build
- Improved bundle size by removing unused imports
2026-04-23 20:50:23 +08:00
furyhawk 3fa5720b5a perf: optimize backend API services and Docker build caching
- Add database connection pooling (pool_size=20, max_overflow=10, pool_pre_ping)
- Add LRU response caching for weather endpoints with configurable TTLs
- Reuse httpx.AsyncClient across weather API requests
- Add Docker build cache mounts for uv and npm package managers
- Optimize query ordering in users and items endpoints
- Apply ruff formatting fixes across backend
2026-04-23 19:45:48 +08:00
furyhawk 7b4dc70beb Revert "fix: implement caching and incremental fetching in fetchMetric for optimized data retrieval"
This reverts commit 5aa555e18f.
2026-04-22 23:30:35 +08:00
furyhawkandCopilot 5aa555e18f fix: implement caching and incremental fetching in fetchMetric for optimized data retrieval
Co-authored-by: Copilot <copilot@github.com>
2026-04-22 23:13:12 +08:00
furyhawkandCopilot 0196505179 fix: add limit parameter to fetchMetric API call to prevent large response sizes
Co-authored-by: Copilot <copilot@github.com>
2026-04-22 23:04:15 +08:00
furyhawkandCopilot 4c40ea96e3 fix: adjust batch window size in fetchMetric for optimized data fetching based on range
Co-authored-by: Copilot <copilot@github.com>
2026-04-22 22:44:50 +08:00
furyhawkandCopilot f74ddef6ff feat: add totalFetched property to FuryMetricSnapshot and update fetchMetric to include total items fetched
Co-authored-by: Copilot <copilot@github.com>
2026-04-22 22:30:05 +08:00
furyhawkandCopilot ce46a9a1bf fix: filter readings in fetchMetric to ensure accurate snapshot for requested range
Co-authored-by: Copilot <copilot@github.com>
2026-04-22 22:20:38 +08:00
furyhawkandCopilot f29c5dd27e fix: update x-axis calculation and aria-label for dynamic reading range in SensorTrendChart
Co-authored-by: Copilot <copilot@github.com>
2026-04-22 21:11:10 +08:00
furyhawkandCopilot 8cc3fa10e6 feat: enhance SensorTrendChart to support dynamic duration for readings
Co-authored-by: Copilot <copilot@github.com>
2026-04-22 21:08:54 +08:00
furyhawkandCopilot a1abcf534c fix: remove unused SENSOR_LIMIT constant from furyDashboardApi
Co-authored-by: Copilot <copilot@github.com>
2026-04-22 20:57:47 +08:00
furyhawkandCopilot 2ecb5abe03 feat: implement batch fetching for metrics with date range support
Co-authored-by: Copilot <copilot@github.com>
2026-04-22 20:54:17 +08:00
furyhawk 0e69d5c41d fix: replace spacing with gap in HStack for improved layout consistency 2026-04-22 20:31:50 +08:00
furyhawk 6946d518c4 feat: add time range selection for dashboard metrics and update data fetching logic 2026-04-22 20:14:52 +08:00
furyhawk b323080562 fix: replace useColorModeValue with static color values for metric boxes 2026-04-22 19:29:59 +08:00
furyhawk 1ba7582831 feat: enhance dashboard styling with color mode support for metric boxes 2026-04-22 19:25:32 +08:00
furyhawk 7780ac4e9c fix: set NODE_ENV to development during npm install in Dockerfile 2026-04-14 09:39:19 +08:00
furyhawk 9bc593c9a7 feat: implement Fury Dashboard with sensor data visualization and API integration 2026-04-12 22:38:10 +08:00
furyhawk f8f8efe49b fix: update VITE_API_URL and MAILCATCHER_HOST in configuration files 2026-04-11 21:10:26 +08:00
furyhawk 839aa20e49 Merge remote-tracking branch 'origin/ai' into https 2026-04-11 20:38:26 +08:00
furyhawk ef1f542e93 docs: Update README and development documentation with quick start and build instructions
feat: Add Playwright service to docker-compose for end-to-end testing
refactor: Enhance makefile with new build targets and environment variable support
2026-04-11 20:15:02 +08:00
furyhawk 8527ea4fa3 feat: enhance Sidebar with collapsible functionality and update WeatherMap styling 2026-03-26 15:14:32 +08:00
furyhawk 196a573b8c feat: Generate TypeScript client for Ollama API using OpenAPI specification
- Added a new script `generate-ollama-client-simple.sh` for generating a simple TypeScript client using the existing OpenAPI tools.
- Created a comprehensive `generate-ollama-client.sh` script to generate a FastAPI client from the Ollama OpenAPI specification with support for axios.
- Introduced `generate_fastapi_client.py` to support generating FastAPI clients from OpenAPI specifications in multiple languages, including TypeScript and Python.
- Generated TypeScript types for the Ollama API endpoints in `types.gen.ts`.
- Included example usage files for both Python and TypeScript clients to demonstrate how to interact with the Ollama API.
2025-06-24 20:51:54 +08:00
furyhawk 8f34539d4e refactor: Remove unnecessary React import from weather hub component 2025-05-29 09:23:35 +08:00
furyhawk dbc52674aa refactor: Replace ChakraCard with Card component and improve spacing in weather components 2025-05-29 09:23:35 +08:00
furyhawk 02a39c4d9f refactor: Update card component usage and spacing in FourDayOutlook 2025-05-29 09:23:35 +08:00
furyhawk e6317e723a feat: Add weather components for air temperature, wind direction, and forecasts
- Implemented AirTemperature component to display average temperature and readings by station.
- Created FourDayOutlook component for displaying a four-day weather outlook.
- Added MapComponents for handling map invalidation and centering.
- Developed TwoHourForecast component to show forecasts for the next two hours with area selection.
- Built WeatherMap component to visualize temperature and wind data on a map.
- Introduced WeatherStatistics component to summarize weather conditions across areas.
- Created WindDirection component to calculate and display average wind direction.
- Added utility function to get weather icons based on forecast descriptions.
2025-05-29 09:23:35 +08:00
furyhawk 39d0e929b8 refactor: Update map handling in WeatherMap and TwoHourForecast components 2025-05-29 09:23:35 +08:00
furyhawk d7d8e73a1d refactor: Add MapCenter component for auto-centering the map and improve map integration in WeatherMap 2025-05-29 09:23:35 +08:00
furyhawk 8861fffd41 refactor: Add MapInvalidator component to handle map size invalidation on tab visibility 2025-05-29 09:23:35 +08:00
furyhawk 4fe6a7fefe refactor: Add view mode toggle and map display for TwoHourForecast component 2025-05-29 09:23:35 +08:00
furyhawk d69ef91778 refactor: Remove unnecessary React import from weather hub component 2025-05-29 09:22:11 +08:00
furyhawk 26e4f7bb04 refactor: Replace ChakraCard with Card component and improve spacing in weather components 2025-05-28 22:46:33 +08:00
furyhawk 85c34ba376 refactor: Update card component usage and spacing in FourDayOutlook 2025-05-28 22:33:57 +08:00
furyhawk 60c42651fa feat: Add weather components for air temperature, wind direction, and forecasts
- Implemented AirTemperature component to display average temperature and readings by station.
- Created FourDayOutlook component for displaying a four-day weather outlook.
- Added MapComponents for handling map invalidation and centering.
- Developed TwoHourForecast component to show forecasts for the next two hours with area selection.
- Built WeatherMap component to visualize temperature and wind data on a map.
- Introduced WeatherStatistics component to summarize weather conditions across areas.
- Created WindDirection component to calculate and display average wind direction.
- Added utility function to get weather icons based on forecast descriptions.
2025-05-28 22:11:22 +08:00
furyhawk f1cd7c3063 refactor: Update map handling in WeatherMap and TwoHourForecast components 2025-05-28 21:43:47 +08:00
furyhawk 26fab5b01f refactor: Add MapCenter component for auto-centering the map and improve map integration in WeatherMap 2025-05-28 21:20:23 +08:00
furyhawk fe1fbca07a refactor: Add MapInvalidator component to handle map size invalidation on tab visibility 2025-05-28 20:26:50 +08:00
furyhawk 39ff52c1f6 refactor: Add view mode toggle and map display for TwoHourForecast component 2025-05-28 19:56:50 +08:00
furyhawk 2929a8df24 refactor: Improve WeatherMap component by enhancing marker display with temperature and wind direction 2025-05-28 19:31:14 +08:00
furyhawk 978503f9ef refactor: Enhance WeatherMap component by adding temperature display above markers 2025-05-28 19:31:14 +08:00