192 Commits
Author SHA1 Message Date
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
furyhawk a89174e360 refactor: Add WeatherMap component with Leaflet integration for displaying air temperature readings 2025-05-28 19:31:14 +08:00
furyhawk a7279dad1f refactor: Restructure WindReading and WindStation interfaces, enhance wind direction calculations, and improve data handling in WindDirection component 2025-05-28 19:31:14 +08:00
furyhawk a37f010b76 refactor: Improve Air Temperature data handling and enhance station mapping in readings 2025-05-28 19:31:14 +08:00
furyhawk ab66dc9c77 refactor: Update OutlookForecast interface to use timestamp and add day field 2025-05-28 19:31:14 +08:00
furyhawk 41c5b3f381 refactor: Enhance OutlookForecast structure and improve getWeatherIcon function 2025-05-28 19:31:14 +08:00
furyhawk b4b5a9f977 fix: Update Weather Hub sidebar link path to correct routing 2025-05-28 19:31:14 +08:00
furyhawk e1df563631 feat: Add Weather Hub component with real-time weather data and forecasts 2025-05-28 19:31:14 +08:00
furyhawk f01574a3e3 refactor: Remove unused client services file from the project 2025-05-28 19:31:14 +08:00
furyhawk 2428941f3a refactor: Remove unused weather route and related references from route tree 2025-05-28 19:31:14 +08:00
furyhawk 5195bd10d4 refactor: Remove unused weather components and related types 2025-05-28 19:31:14 +08:00
furyhawk 4a836220bb refactor: Improve WeatherMap component by enhancing marker display with temperature and wind direction 2025-05-28 19:13:28 +08:00
furyhawk c1eb7400d9 refactor: Enhance WeatherMap component by adding temperature display above markers 2025-05-28 16:35:20 +08:00
furyhawk 33873fe260 refactor: Add WeatherMap component with Leaflet integration for displaying air temperature readings 2025-05-28 16:23:35 +08:00
furyhawk b84abc0982 refactor: Restructure WindReading and WindStation interfaces, enhance wind direction calculations, and improve data handling in WindDirection component 2025-05-28 16:09:58 +08:00
furyhawk dab8d8dc14 refactor: Improve Air Temperature data handling and enhance station mapping in readings 2025-05-28 15:59:07 +08:00
furyhawk 67a0ff692a refactor: Update OutlookForecast interface to use timestamp and add day field 2025-05-28 14:51:28 +08:00
furyhawk 68192a2803 refactor: Enhance OutlookForecast structure and improve getWeatherIcon function 2025-05-28 14:23:11 +08:00
furyhawk 690a9535f6 fix: Update Weather Hub sidebar link path to correct routing 2025-05-28 14:19:07 +08:00
furyhawk f3817680b0 feat: Add Weather Hub component with real-time weather data and forecasts 2025-05-28 13:31:47 +08:00
furyhawk 1065b6e712 refactor: Remove unused client services file from the project 2025-05-28 13:16:42 +08:00
furyhawk 8de21b8c15 refactor: Remove unused weather route and related references from route tree 2025-05-28 13:16:20 +08:00
furyhawk fcc06452e7 refactor: Remove unused weather components and related types 2025-05-28 13:14:55 +08:00
furyhawk 513f1042de refactor: Update weather components to use new forecast types and improve data handling 2025-05-27 16:10:47 +08:00
furyhawk 43af7fd38e refactor: Remove unused WeatherForecast component and related files 2025-05-27 16:10:47 +08:00
furyhawk ec846b0a1a Implement feature X to enhance user experience and fix bug Y in module Z 2025-05-27 16:10:47 +08:00
furyhawk ee793f2f89 Refactor generated types for consistency and clarity
- Updated type definitions in `types.gen.ts` to use consistent formatting and remove unnecessary line breaks.
- Renamed types for better readability, such as changing `BodyLoginLoginAccessToken` to `Body_login_login_access_token`.
- Consolidated similar types and ensured all properties are consistently formatted.
- Added new types for item and user operations to enhance API interaction.
- Improved documentation comments for query parameters in weather-related data types.
2025-05-27 16:10:47 +08:00
furyhawk 5c8f9b587b feat: Add new weather data types and client configuration
- Introduced new types for air temperature, wind direction, lightning, and WBGT data.
- Updated existing types for user and item management.
- Created a new client configuration file to initialize the API client with default options.
2025-05-27 16:10:47 +08:00