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
1f82e84115
doesnt fetch devices on date change.
2025-06-22 10:55:41 +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
78898968e8
include min in RangeOfAqiChartsHelper.titlesData.leftTitles.
2025-06-19 14:23:04 +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
362557d0d0
removed filtered data fromAirQualityDistributionBloc since it isnt needed for this bloc.
2025-06-16 10:29:31 +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
24a7f3ac2a
SP-1594-device-location-api-integration.
2025-06-04 13:06:27 +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
e48fc8b82c
loads and clears DeviceLocationBloc.
2025-06-04 09:27:21 +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
b0ed844893
made events and state class finals, to better document that they shouldn't be extended.
2025-06-01 14:37:22 +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
c50ed693ae
loads and clears aqi distribution in FetchAirQualityDataHelper.
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
455d9c1f01
Created AirQualityDistributionBloc.
2025-06-01 14:22:25 +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
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
Faris Armoush
d92b699a2b
Created a bloc for loading and managing the state of device location data.
2025-05-29 15:40:44 +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
bc289a0ddf
removed testing code.
2025-05-29 14:45:03 +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