Faris Armoush
487c5a894b
Sp 1796 fe set the max on range of aqi chart based on selected pollutant s current highest value ( #290 )
...
<!--
Thanks for contributing!
Provide a description of your changes below and a general summary in the
title
Please look at the following checklist to ensure that your PR can be
accepted quickly:
-->
## Jira Ticket
[SP-1796](https://syncrow.atlassian.net/browse/SP-1796 )
## Description
Added day of month labels to all analytics charts
Implemented ranges for each pollutant based on the highest value of each
pollutant in the range of aqi chart.
## Type of Change
<!--- Put an `x` in all the boxes that apply: -->
- [x] ✨ New feature (non-breaking change which adds functionality)
- [ ] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [x] ❌ Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🧹 Code refactor
- [ ] ✅ Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore
[SP-1796]:
https://syncrow.atlassian.net/browse/SP-1796?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
2025-06-25 12:42:55 +03:00
Faris Armoush
f901983aa5
Implemented ranges for the values in the AQI chart based on the selected pollutant.
2025-06-24 15:01:25 +03:00
Faris Armoush
010403f1fa
Added day of month axis name to all charts.
2025-06-24 14:50:22 +03:00
Faris Armoush
23c3bf11f9
Improved alignment of AqiLocationInfoCell.
2025-06-19 15:38:28 +03:00
Faris Armoush
5201a65a97
matched sizes of bottom titles in aqi charts.
2025-06-19 15:19:58 +03:00
Faris Armoush
e4cc5fce50
Increased the size of AqiDistributionChart tooltip.
2025-06-19 15:18:18 +03:00
Faris Armoush
8dea89db0e
Implemented AQI legend.
2025-06-19 15:12:54 +03:00
Faris Armoush
7172a0e3fb
Matched aqi charts title's to have the same size no matter what the window size is.
2025-06-19 14:23:39 +03:00
Faris Armoush
666c64231f
hides bars in AqiDistributionChart where all values are zero.
2025-06-19 14:22:37 +03:00
Faris Armoush
6ff9c602f1
SP-1723-FE-Integrate-Charts-with-API-s-for-AQI-sensor.
2025-06-16 10:59:51 +03:00
Faris Armoush
5f20d52e57
doesnt load aqi data when spaceUuid is empty.
2025-06-16 10:46:48 +03:00
Faris Armoush
312d185932
unsort all data from AqiDistributionChart since the api returns it sorted, and the pacakge handles sorting.
2025-06-16 10:29:03 +03:00
Faris Armoush
89e12e47da
ajusted AqiType.codes to match the api.
2025-06-16 10:28:26 +03:00
Faris Armoush
a0d9819532
Deleted FakeRangeOfAqiService.
2025-06-16 09:30:50 +03:00
Faris Armoush
c642ba2644
Revert "formatted all files."
...
This reverts commit 04250ebc98 .
2025-06-12 16:04:49 +03:00
Faris Armoush
04250ebc98
formatted all files.
2025-06-12 15:33:32 +03:00
Faris Armoush
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
Faris Armoush
1edeb664aa
Connected data coming from DeviceLocationBloc into the respective widgets.
2025-06-04 09:28:16 +03:00
Faris Armoush
8e11749ed7
Prepared for aqi distribution API Integration.
2025-06-02 16:13:58 +03:00
Faris Armoush
7bc9079212
reverted a comment.
2025-06-02 14:30:07 +03:00
Faris Armoush
57b6f01177
SP-1593 Implemented the agreed upon api contract.
2025-06-02 14:26:47 +03:00
Faris Armoush
066f967cd1
shows tooltip with data.
2025-06-01 14:28:40 +03:00
Faris Armoush
e28f3c3c03
reduced bar width size.
2025-06-01 14:28:40 +03:00
Faris Armoush
2be15e648a
added loading widget to AqiDistributionChartTitle.
2025-06-01 14:28:40 +03:00
Faris Armoush
8dc7d2b3d0
Connected AirQualityDistributionBloc into AqiDistributionChartBox.
2025-06-01 14:28:40 +03:00
Faris Armoush
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
Faris Armoush
ca1feb9600
made charts based on states and not based on metrics.
2025-06-01 14:22:25 +03:00
Faris Armoush
7b31914e1c
made progress towards aqi distribution chart.
2025-06-01 14:22:25 +03:00
Faris Armoush
10f35d3747
added more mock data to AqiDistributionChart.
2025-06-01 14:22:25 +03:00
Faris Armoush
5940e52826
Implemented an initial version of AqiDistributionChart.
2025-06-01 14:22:25 +03:00
Faris Armoush
7c55e8bbf9
Prepared widgets for the aqi distribution chart.
2025-06-01 14:22:25 +03:00
Faris Armoush
3d183528c5
Fixed thrown exceptions because of Expanded widgets.
2025-06-01 10:57:49 +03:00
Faris Armoush
283a0dd536
Updated AqiSubValueWidget to use minimum value for range calculations, improving accuracy in AQI range display.
2025-05-29 14:59:03 +03:00
Faris Armoush
5636fbe6c9
sorted constructor dependencies.
2025-05-29 14:57:26 +03:00
Faris Armoush
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
Faris Armoush
b95f4063d9
removed unused widget.
2025-05-29 14:54:53 +03:00
Faris Armoush
7bd0c061d4
enhanced design of AqiLocation.
2025-05-29 13:29:52 +03:00
Faris Armoush
36ddebb5ae
Implemented new gauge design.
2025-05-29 13:28:44 +03:00
Faris Armoush
43cb985e74
finished integrating realtime data.
2025-05-29 13:05:49 +03:00
Faris Armoush
94b4aa7c46
Extracted big widgets into smaller ones, and integrated aqi device info with RealtimeChangesBloc.
2025-05-29 11:26:21 +03:00
Faris Armoush
3d133581ff
Implemented and used a reusable widget for analytics sidebars headers.
2025-05-29 09:59:27 +03:00
Faris Armoush
a75e6a89a9
Enhanced responsiveness of AqiLocationInfoCell.
2025-05-29 09:24:29 +03:00
Faris Armoush
cc5f107ccb
Extracted AqiHumidityAndTemperature into its own widget and file.
2025-05-28 16:55:36 +03:00
Faris Armoush
79c5fe1651
add icons for side bar info (humidity and tempreture).
2025-05-28 16:13:23 +03:00
Faris Armoush
fd186a00fd
add shadow to pointer to match the design.
2025-05-28 15:41:18 +03:00
Faris Armoush
5b91ceb639
enhanced animation of AqiGague
2025-05-28 15:33:28 +03:00
Faris Armoush
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
Faris Armoush
a87b11d084
adjusted the size of AqiGauge and removed unnecessary code.
2025-05-28 15:25:17 +03:00
Faris Armoush
7c69c7ddbd
fixed responsiveness of end side bar.
2025-05-28 15:19:26 +03:00
Faris Armoush
16dc066440
removed unnecessary comment.
2025-05-28 14:57:16 +03:00