362557d0d0
removed filtered data fromAirQualityDistributionBloc
since it isnt needed for this bloc.
2025-06-16 10:29:31 +03:00
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
89e12e47da
ajusted AqiType.code
s to match the api.
2025-06-16 10:28:26 +03:00
a0d9819532
Deleted FakeRangeOfAqiService
.
2025-06-16 09:30:50 +03:00
1316820954
Injected RemoteRangeOfAqiService
into RangeOfAqiBloc
instead of using FakeRangeOfAqiService
, because the API is ready.
2025-06-16 09:30:39 +03:00
5591c78d88
Refactor RemoteRangeOfAqiService to update API endpoint to match what the actual endpoint is.
2025-06-16 09:29:31 +03:00
c642ba2644
Revert "formatted all files."
...
This reverts commit 04250ebc98
.
2025-06-12 16:04:49 +03:00
04250ebc98
formatted all files.
2025-06-12 15:33:32 +03:00
c6b55cb28b
Sp 1594 device location api integration ( #216 )
...
<!--
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-1594](https://syncrow.atlassian.net/browse/SP-1594 )
## Description
1. Implemented `Bloc` and `Services` to integrate the device location
into the side panel of the AQI Analytics module.
2. Fixed bugs in side panel caused by `Expanded` widgets.
## Type of Change
<!--- Put an `x` in all the boxes that apply: -->
- [x] ✨ New feature (non-breaking change which adds functionality)
- [x] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ] ❌ Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🧹 Code refactor
- [ ] ✅ Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore
[SP-1594]:
https://syncrow.atlassian.net/browse/SP-1594?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
2025-06-04 16:41:08 +03:00
bfd8e964f7
SP-1665-FE-Return-a-readable-error-when-a-connection-error-Exception-… ( #233 )
...
…occurs-on-the-charts.
<!--
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-1665](https://syncrow.atlassian.net/browse/SP-1665 )
## Description
Returns a readable error when an analytics api fails.
## 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)
- [ ] ❌ Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🧹 Code refactor
- [ ] ✅ Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore
[SP-1665]:
https://syncrow.atlassian.net/browse/SP-1665?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
2025-06-04 16:40:25 +03:00
0c6e4fed80
correctly fetch energy management data using spaceUuid
.
2025-06-04 15:09:40 +03:00
69c23525ba
Merge branch 'dev' of https://github.com/SyncrowIOT/web into SP-1665-FE-Return-a-readable-error-when-a-connection-error-Exception-occurs-on-the-charts
2025-06-04 14:49:48 +03:00
3a98f71ff3
SP-1665-FE-Return-a-readable-error-when-a-connection-error-Exception-occurs-on-the-charts.
2025-06-04 14:42:41 +03:00
24a7f3ac2a
SP-1594-device-location-api-integration.
2025-06-04 13:06:27 +03:00
79b974ee6c
re-injected AirQualityDistributionBloc
into AnalyticsPage
.
2025-06-04 09:36:41 +03:00
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
e2c44ba85f
injected the remote and reverse geocoder dependenies into DeviceLocationBloc
.
2025-06-04 09:28:50 +03:00
1edeb664aa
Connected data coming from DeviceLocationBloc
into the respective widgets.
2025-06-04 09:28:16 +03:00
25a55ad820
made GetDeviceLocationDataParam.toJson
method have the correct keys for the API.
2025-06-04 09:27:46 +03:00
e48fc8b82c
loads and clears DeviceLocationBloc
.
2025-06-04 09:27:21 +03:00
8d999f118c
Connected RemoteDeviceLocationService
to the new BE API, instead of directly fetching the data from OpenWeather Api's.
2025-06-04 09:18:28 +03:00
bcb6e49a01
Deleted FakeDeviceLocationService
class, since it is no longer needed.
2025-06-04 09:17:38 +03:00
8827f571f4
Merge pull request #229 from SyncrowIOT/SP-1658-The-Analytics-charts-padding-is-not-aligned-with-the-design
...
Sp 1658 the analytics charts padding is not aligned with the design
2025-06-03 16:51:05 +03:00
7472aff704
Merge pull request #228 from SyncrowIOT/SP-1671-energy-consumption-api-returns-a-sibling-space-data-instead-of-selected-space-on-analytics-page
...
SP-1671-energy-consumption-api-returns-a-sibling-space-data-instead-of-selected-space-on-analytics-page
2025-06-03 16:48:26 +03:00
575ba2aed2
Merge pull request #227 from SyncrowIOT/SP-1509-Attatch-SpaceUuid-To-Dropdown
...
SP-1509 attatch space uuid to analytics device dropdown on energy man…
2025-06-03 16:46:53 +03:00
e86c25c74a
includes min in all left titles charts.
2025-06-03 16:18:57 +03:00
c2c58e6a7a
SP-1658-the-analytics-chart-padding-is-not-aligned-with-the-design.
2025-06-03 16:17:14 +03:00
0135b6711e
removed getting energy management data using communityUuid.
2025-06-03 16:01:45 +03:00
46feb0ea28
SP-1509 attatch space uuid to analytics device dropdown on energy management tab.
2025-06-03 15:20:30 +03:00
7cc46d464f
SP-1510-show date instead of index in occupancy chart.
2025-06-03 12:24:38 +03:00
0c82a19a1d
Merge pull request #218 from SyncrowIOT/SP-1593-FE-Create-Recommendation-Section-Based-on-AQI-Level-and-Ensure-Layout-Responsiveness
...
Sp 1593 fe create recommendation section based on aqi level and ensure layout responsiveness
2025-06-03 11:22:39 +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
97801872e0
Implemented an initial remote implementation of RangeOfAqiService
.
2025-06-02 14:29:04 +03:00
fa9210f387
added fromJson
factory methods to RangeOfAqi
, and to RangeOfAqiValue
data models.
2025-06-02 14:28:50 +03:00
57b6f01177
SP-1593 Implemented the agreed upon api contract.
2025-06-02 14:26:47 +03:00
393a5361f0
Apply correct business logic in AirQualityDataLoadingStrategy
.
2025-06-01 15:40:12 +03:00
a56e93d0d7
removed the interface method onSelectChildSpace
, because all the clients dont use it and instead pass the onSpaceSelected
, which isn't a good design.
2025-06-01 15:38:14 +03:00
94847fa936
SP-1664-Fe-Sider-bar-tree-behavior-issues-on-Analytics-page.
2025-06-01 15:36:52 +03:00
b0ed844893
made events and state class final
s, 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
2e12d73151
randomize generated fake data in FakeAirQualityDistributionService
.
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
accafb150e
.
2025-06-01 14:24:07 +03:00
736e0c3d9c
Injected AirQualityDistributionBloc
into AnalyticsPage
.
2025-06-01 14:23:14 +03:00
455d9c1f01
Created AirQualityDistributionBloc
.
2025-06-01 14:22:25 +03:00
4479ed04b7
Created a AirQualityDistributionService
along with its fake implementation.
2025-06-01 14:22:25 +03:00