42 Commits

Author SHA1 Message Date
5523497e19 Gradient Routing 2025-09-28 07:42:45 -04:00
8708ea2273 MapUtil Update 2025-09-28 07:31:58 -04:00
148ead6d34 Web Update 2025-09-28 07:18:33 -04:00
Shiva Pochampally
6e79029fdd Merge branch 'main' of github.com:SirBlobby/VTHacks13 2025-09-28 07:07:42 -04:00
Shiva Pochampally
1e55b9aa48 Removed formatting from LLM response 2025-09-28 07:07:27 -04:00
Pranav Malladi
9771d56620 parameters fixed 2025-09-28 06:35:03 -04:00
Shiva Pochampally
b5efec5a60 Merge branch 'main' of github.com:SirBlobby/VTHacks13 2025-09-28 06:00:56 -04:00
Shiva Pochampally
770645bf01 Optimized and shortened prompt 2025-09-28 05:59:54 -04:00
8a992aa90b Flask COrs 2025-09-28 05:59:32 -04:00
694a0ad426 feat: Implement AI crash magnitude prediction API and integrate with map components 2025-09-28 04:54:41 -04:00
samarthjain2023
4da975110b fixed post request 2025-09-28 04:18:22 -04:00
fbb6953473 Add Flask API endpoints and testing scripts for safety analysis
- 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.
2025-09-28 03:59:32 -04:00
samarthjain2023
a97b79ee37 fixed flask run 2025-09-28 02:38:24 -04:00
9fd6dc11c3 feat: Enhance DirectionsSidebar with gradient routes and theming options
- 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.
2025-09-28 02:30:52 -04:00
Shiva Pochampally
1ad7f68dc6 Merge branch 'main' of github.com:SirBlobby/VTHacks13 2025-09-28 02:13:32 -04:00
Shiva Pochampally
7fafa7321f Added flask server for API endpoints for MongoDB Agent and LLM Summarization 2025-09-28 02:12:44 -04:00
c63f7754e5 Refactor MapView and PopupOverlay components for improved readability and maintainability 2025-09-28 01:16:16 -04:00
e895f01216 Enhance crash data visualization with density legend and improve map interaction handling 2025-09-28 01:16:04 -04:00
Shiva Pochampally
92eabc8c2a Added meteo API functionality to the MongoDB agent and LLM summary 2025-09-28 00:49:47 -04:00
samarthjain2023
42e4488d45 post request works 2025-09-28 00:47:45 -04:00
Shiva Pochampally
016b95a564 Added LLM and MongoDB Agent Scripts 2025-09-28 00:03:37 -04:00
f1073ef3df BIG WEB UPDATE 2025-09-27 22:45:52 -04:00
samarthjain2023
6bdd8f0fe3 flask update 2025-09-27 19:37:04 -04:00
Pranav Malladi
c939e0a2aa shortest path for rerouting 2025-09-27 19:12:09 -04:00
samarthjain2023
85e30a70a7 added root route 2025-09-27 18:44:09 -04:00
Pranav Malladi
629444c382 Added Weather API 2025-09-27 18:13:53 -04:00
2471610d80 Maps Update 2025-09-27 17:36:07 -04:00
4ab8fa6173 Merge branch 'main' of https://github.com/SirBlobby/VTHacks13 2025-09-27 15:40:51 -04:00
59422b4c12 SideBar Style Update 2025-09-27 15:40:50 -04:00
samarthjain2023
ffbe8e0b91 model train commands 2025-09-27 14:35:42 -04:00
4571f8f9c9 Frontend Changes 2025-09-27 12:59:03 -04:00
samarthjain2023
0df2b0019b added the model 2025-09-27 12:14:26 -04:00
samarthjain2023
4c84ab1f67 added the model 2025-09-27 12:07:32 -04:00
Shiva Pochampally
e4a8638f28 Changed Marker colors 2025-09-27 11:19:37 -04:00
a61c8505f4 Marker Colors Update 2025-09-27 10:18:20 -04:00
775b1719f0 Controls and Mapbox Config Update 2025-09-27 09:56:23 -04:00
ca5913678c Mapbox Restriction to DC 2025-09-27 09:41:31 -04:00
7273bf13e4 MapBox Styling and component update 2025-09-27 03:37:48 -04:00
ed4922dfa2 MapBox Heatmap and Popup Update 2025-09-27 02:24:12 -04:00
845690ea14 MapBox test 1 2025-09-27 02:00:06 -04:00
941d3ec49e Web Start 2025-09-27 01:53:22 -04:00
Sir Blob
3d71ec310a Initial commit 2025-09-27 01:02:32 -04:00