- Created requirements.txt for Flask and related libraries.
- Implemented test_api.py to validate API endpoints including health check, weather data retrieval, crash analysis, route finding, and single route fetching.
- Developed test_crash_endpoint.py for focused testing on crash analysis endpoint.
- Added test_flask_endpoints.py for lightweight tests using Flask's test client with mocked dependencies.
- Introduced SafetyAnalysisModal component in the frontend for displaying detailed safety analysis results.
- Implemented flaskApi.ts to handle API requests for weather data and crash analysis, including data transformation to match frontend interfaces.
- Added `gradientRoutes` and `mapStyleChoice` props to DirectionsSidebar for customizable route rendering and theming.
- Implemented logic to handle gradient routes based on crash data availability.
- Updated route rendering colors and styles for better visual distinction.
- Refactored sidebar and toggle button styles for improved UI consistency across themes.
refactor: Introduce UnifiedControlPanel for better control management
- Replaced ControlsPanel with UnifiedControlPanel to consolidate map and crash data controls.
- Added state management for panel visibility and local storage persistence.
- Enhanced UI for map controls, including options for heatmap visibility and gradient routes.
style: Update GeocodeInput and Legend components for consistent theming
- Refactored styles in GeocodeInput to use CSS variables for background and border colors.
- Updated Legend component styles to align with new theming variables for better integration.
chore: Introduce new CSS variables for panel theming
- Added a new color palette for panels and sidebars in globals.css to support light and dark themes.