Commit Graph

90 Commits

Author SHA1 Message Date
9fa59ce78b Merge branch 'dev' of https://github.com/SyncrowIOT/web into SP-1594-device-location-api-integration 2025-06-04 09:29:49 +03:00
1edeb664aa Connected data coming from DeviceLocationBloc into the respective widgets. 2025-06-04 09:28:16 +03:00
e48fc8b82c loads and clears DeviceLocationBloc. 2025-06-04 09:27:21 +03:00
8e11749ed7 Prepared for aqi distribution API Integration. 2025-06-02 16:13:58 +03:00
7bc9079212 reverted a comment. 2025-06-02 14:30:07 +03:00
57b6f01177 SP-1593 Implemented the agreed upon api contract. 2025-06-02 14:26:47 +03:00
b0ed844893 made events and state class finals, to better document that they shouldn't be extended. 2025-06-01 14:37:22 +03:00
066f967cd1 shows tooltip with data. 2025-06-01 14:28:40 +03:00
e28f3c3c03 reduced bar width size. 2025-06-01 14:28:40 +03:00
2be15e648a added loading widget to AqiDistributionChartTitle. 2025-06-01 14:28:40 +03:00
c50ed693ae loads and clears aqi distribution in FetchAirQualityDataHelper. 2025-06-01 14:28:40 +03:00
8dc7d2b3d0 Connected AirQualityDistributionBloc into AqiDistributionChartBox. 2025-06-01 14:28:40 +03:00
455d9c1f01 Created AirQualityDistributionBloc. 2025-06-01 14:22:25 +03:00
44c4648941 made the first element of the bar rods to have only a top sides radius to match the design. 2025-06-01 14:22:25 +03:00
ca1feb9600 made charts based on states and not based on metrics. 2025-06-01 14:22:25 +03:00
7b31914e1c made progress towards aqi distribution chart. 2025-06-01 14:22:25 +03:00
10f35d3747 added more mock data to AqiDistributionChart. 2025-06-01 14:22:25 +03:00
5940e52826 Implemented an initial version of AqiDistributionChart. 2025-06-01 14:22:25 +03:00
7c55e8bbf9 Prepared widgets for the aqi distribution chart. 2025-06-01 14:22:25 +03:00
3d183528c5 Fixed thrown exceptions because of Expanded widgets. 2025-06-01 10:57:49 +03:00
4ebe65f820 Merge branch 'dev' of https://github.com/SyncrowIOT/web into SP-1594-device-location-api-integration 2025-06-01 09:51:32 +03:00
d92b699a2b Created a bloc for loading and managing the state of device location data. 2025-05-29 15:40:44 +03:00
283a0dd536 Updated AqiSubValueWidget to use minimum value for range calculations, improving accuracy in AQI range display. 2025-05-29 14:59:03 +03:00
5636fbe6c9 sorted constructor dependencies. 2025-05-29 14:57:26 +03:00
3d4c17214c Refactored AqiGauge to consolidate status text and color logic into a single method, improving code readability and maintainability. 2025-05-29 14:56:56 +03:00
b95f4063d9 removed unused widget. 2025-05-29 14:54:53 +03:00
bc289a0ddf removed testing code. 2025-05-29 14:45:03 +03:00
7bd0c061d4 enhanced design of AqiLocation. 2025-05-29 13:29:52 +03:00
36ddebb5ae Implemented new gauge design. 2025-05-29 13:28:44 +03:00
43cb985e74 finished integrating realtime data. 2025-05-29 13:05:49 +03:00
94b4aa7c46 Extracted big widgets into smaller ones, and integrated aqi device info with RealtimeChangesBloc. 2025-05-29 11:26:21 +03:00
3d133581ff Implemented and used a reusable widget for analytics sidebars headers. 2025-05-29 09:59:27 +03:00
a75e6a89a9 Enhanced responsiveness of AqiLocationInfoCell. 2025-05-29 09:24:29 +03:00
cc5f107ccb Extracted AqiHumidityAndTemperature into its own widget and file. 2025-05-28 16:55:36 +03:00
79c5fe1651 add icons for side bar info (humidity and tempreture). 2025-05-28 16:13:23 +03:00
fd186a00fd add shadow to pointer to match the design. 2025-05-28 15:41:18 +03:00
5b91ceb639 enhanced animation of AqiGague 2025-05-28 15:33:28 +03:00
5d3ef95cb7 Refactor AqiGauge to use constants for range values, to allow for ease of change, and readability. 2025-05-28 15:30:12 +03:00
a87b11d084 adjusted the size of AqiGauge and removed unnecessary code. 2025-05-28 15:25:17 +03:00
7c69c7ddbd fixed responsiveness of end side bar. 2025-05-28 15:19:26 +03:00
16dc066440 removed unnecessary comment. 2025-05-28 14:57:16 +03:00
9a41e0c4f5 moved ApiGauge to its own file. 2025-05-28 14:50:46 +03:00
a23370471c improved sizing of AqiLocationInfoCell. 2025-05-28 14:39:41 +03:00
595966d306 implemented gauge. 2025-05-28 14:22:35 +03:00
fc330d6e17 Making good progress towards finalizing the end side bar. 2025-05-28 09:32:58 +03:00
42319cc4f9 added unit property to AqiType. 2025-05-27 16:56:01 +03:00
aded80fb9a modified sizing of AirQualityView. 2025-05-27 16:55:43 +03:00
1f444ccfcb Created AqiLocationInfoCell widget. 2025-05-27 16:11:13 +03:00
fe716baba7 created AqiLocation widget. 2025-05-27 16:10:58 +03:00
0bf34c66aa Animated AqiSubValueWidget. 2025-05-27 15:45:32 +03:00