1
0

35 Commits

Author SHA1 Message Date
Jose
1604f1d600 geojson y apidoc 2025-08-13 08:20:24 +02:00
Jose
fb53c0fb83 Add API endpoint for creating a new device; update PollutionMap colors and Card styles 2025-06-01 18:48:40 +02:00
Jose
2e4fc9db41 Update ApiDocs and HistoryCharts components; enhance PollutionMap with heat layer and toggle Voronoi visibility 2025-05-31 14:00:39 +02:00
Jose
1e5a8f7ee7 Enhance PollutionMap component with Voronoi layer toggle; add GeoJSON data for visualization 2025-05-30 20:53:02 +02:00
Jose
fc130cc92d F I N 2025-05-30 19:28:12 +02:00
Jose
3d9728874a Add FloatingMenu component and integrate DocsButton; update styles for ThemeButton and FloatingMenu 2025-05-26 23:18:31 +02:00
Jose
7b13affb3c Cambios backend/frontend 2025-05-26 22:30:04 +02:00
Jose
870933f389 Remove debug log statement from HistoryChartsContent component 2025-05-18 20:09:09 +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
7f823cbda0 Fix timestamp handling and improve data extraction in HistoryCharts component 2025-05-10 16:10:15 +02:00
Jose
bf42eccc67 working frontend and backend 2025-05-10 15:08:39 +02:00
Jose
b463b866ce Fix endpoint URL in HistoryCharts component and update sensor IDs in main.hpp 2025-05-10 08:52:21 +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
5665cb3e5e Refactor MqttVerticle and GPS implementations: add stop method, update GPS serial handling, and improve WiFi connection logic with LED feedback 2025-05-08 07:24:28 +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
a4fe915c2a changes in frontend 2025-03-17 02:34:54 +01:00
Jose
c766ab68a1 changes on frontend 2025-03-17 02:24:24 +01:00
Jose
b06f1c5285 Update vite.config.js 2025-03-17 01:40:11 +01: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
b5561dea70 Re-moved webroot to src/main/resources 2025-03-12 21:52:45 +01:00
Jose
6cc3c6525e Big changes on API and Frontend 2025-03-11 23:58:11 +01:00
Jose
1a0848805b New endpoints for latest data 2025-03-11 20:39:00 +01:00
Jose
a6019111b5 Fixed CORS error 2025-03-06 16:52:27 +01:00
dependabot[bot]
65f3a28c70 Bump esbuild and vite in /frontend
Bumps [esbuild](https://github.com/evanw/esbuild) to 0.25.0 and updates ancestor dependency [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite). These dependencies need to be updated together.


Updates `esbuild` from 0.24.2 to 0.25.0
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.24.2...v0.25.0)

Updates `vite` from 6.1.1 to 6.2.0
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@6.2.0/packages/vite)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: indirect
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-02 23:37:06 +00:00
Jose
6e04f364f1 side menu to the left and icons in cards as props 2025-02-27 11:02:55 +01:00
Jose
c9d9aa9ad3 dynamic time labels 2025-02-27 08:42:24 +01:00
Jose
62ef5d9325 fixed header not blurring 2025-02-27 01:47:04 +01:00
Jose
49463d19a2 added: fontawesome
created an experimental side menu for linking various pages in the to-be-implemented React Router
2025-02-27 01:44:04 +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