1
0
Commit Graph

16 Commits

Author SHA1 Message Date
Jose
7b13affb3c Cambios backend/frontend 2025-05-26 22:30:04 +02:00
Jose
934ac521a3 Refactor HistoryCharts and PollutionMap components for improved date handling; update SummaryCards data mapping and Card component prop types. 2025-05-18 19:58:58 +02:00
Jose
cdff306ca1 Implemented (partially) Voronoi algorithm for zone-dividing in Seville map. Also refactored some things in frontend. Modified hardware firmware for conditional compilation for both SENSOR and ACTUATOR type boards. 2025-05-16 23:05:46 +02:00
Jose
bf42eccc67 working frontend and backend 2025-05-10 15:08:39 +02:00
Jose
0ce48c18e2 Refactor application structure and components
- Moved components to a new layout directory for better organization.
- Updated App component to include GroupView and adjust routing.
- Removed unused components (App.jsx, Card.jsx, CardContainer.jsx, Header.jsx, MenuButton.jsx, SideMenu.jsx, ThemeButton.jsx).
- Introduced LoadingIcon component for loading states.
- Updated PollutionMap, SummaryCards, and HistoryCharts components to accept groupId as a prop.
- Modified API endpoint configurations in settings.prod.json for better clarity and consistency.
- Enhanced chart options in historyChartConfig for improved visual representation.
- Updated favicon and logo images.
2025-05-09 22:47:13 +02:00
Jose
02a2a2ce07 added some improved classes from my custom backend and introduced DAOs 2025-05-09 20:48:45 +02:00
Jose
fa1b457004 Refactor frontend components and contexts for improved structure and functionality
- Removed unnecessary comments and documentation from CardContainer, Header, HistoryCharts, MenuButton, PollutionMap, SideMenu, SummaryCards, and ThemeButton components.
- Updated import paths to use aliasing for cleaner code.
- Replaced the old context implementations (ConfigContext, DataContext, ThemeContext) with new hooks and context structure for better state management.
- Introduced a new axios instance for API calls to streamline requests.
- Added new utility functions for date and error parsing.
- Updated the main entry point and pages to reflect new context and component structures.
- Created new configuration files for development and production environments.
- Enhanced data fetching logic with improved error handling and loading states.
2025-05-06 03:52:24 +02:00
Jose
6c86f85ff1 Remove WebServerVerticle and update API endpoints in settings.json; fix base URL formatting in multiple components 2025-04-24 02:46:07 +02:00
Jose
b6ecccdf00 Modified Frontend for it to use new endpoints 2025-03-16 04:49:23 +01:00
Jose
f00c9cdac0 Add entities package 2025-03-13 14:16:50 +01:00
Jose
6cc3c6525e Big changes on API and Frontend 2025-03-11 23:58:11 +01:00
Jose
a6019111b5 Fixed CORS error 2025-03-06 16:52:27 +01:00
Jose
6e04f364f1 side menu to the left and icons in cards as props 2025-02-27 11:02:55 +01:00
Jose
f20caa89d2 added: docs to all components and jsx files 2025-02-26 21:29:36 +01:00
Jose
40b8f49b89 moved ConfigProvider up in the hierarchy (to main.jsx) to wrap the whole App 2025-02-26 21:08:19 +01:00
Jose
cf9d5e71fe Recovered from backup 2025-02-26 19:42:35 +01:00