Commit Graph
100 Commits
Author SHA1 Message Date
Faris Armoush e2c44ba85f injected the remote and reverse geocoder dependenies into DeviceLocationBloc. 2025-06-04 09:28:50 +03:00
Faris Armoush 1edeb664aa Connected data coming from DeviceLocationBloc into the respective widgets. 2025-06-04 09:28:16 +03:00
Faris Armoush 25a55ad820 made GetDeviceLocationDataParam.toJson method have the correct keys for the API. 2025-06-04 09:27:46 +03:00
Faris Armoush e48fc8b82c loads and clears DeviceLocationBloc. 2025-06-04 09:27:21 +03:00
Faris Armoush 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
Faris Armoush bcb6e49a01 Deleted FakeDeviceLocationService class, since it is no longer needed. 2025-06-04 09:17:38 +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 3d183528c5 Fixed thrown exceptions because of Expanded widgets. 2025-06-01 10:57:49 +03:00
Faris Armoush 2c4da63266 Injected DeviceLocationBloc into AnalyticsPage. 2025-06-01 10:50:51 +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 5654d66b60 Created a remote implementation for DeviceLocationService. 2025-06-01 09:51:08 +03:00
Faris Armoush b6879035f0 Implemented geocoding functionality to retrieve and manage device location data using the newly added geocoding package. 2025-05-29 15:47:34 +03:00
Faris Armoush 8ad048e18d Added geocoding: ^4.0.0 package. 2025-05-29 15:47:24 +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 6ffb677c33 Created an interface and its fake implementation for loading device location data. 2025-05-29 15:40:15 +03:00
Faris Armoush e7476a084d Created a model class for loading device location data. 2025-05-29 15:39:51 +03:00
Faris Armoush 511acc186f Created a param class for loading device location data. 2025-05-29 15:39:44 +03:00
Faris Armoush cde79fc168 Merge pull request #212 from SyncrowIOT/SP-1594-FE-Implement-Real-Time-AQI-Data-Panel-for-Selected-Sensor
Sp 1594 fe implement real time aqi data panel for selected sensor
2025-05-29 15:27:08 +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 d9448d9709 Merge pull request #209 from SyncrowIOT/SP-1546-FE-Garage-door-opener-Countdown-counter-is-throwing-Device-not-found-error
Refactor event handling in GarageDoorBloc to use local variable for d…
2025-05-29 14:39:40 +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
Faris Armoush 9a41e0c4f5 moved ApiGauge to its own file. 2025-05-28 14:50:46 +03:00
Faris Armoush a23370471c improved sizing of AqiLocationInfoCell. 2025-05-28 14:39:41 +03:00
Faris Armoush 25db6ec687 Created pull_request_template.md . 2025-05-28 14:24:03 +03:00
Faris Armoush 595966d306 implemented gauge. 2025-05-28 14:22:35 +03:00
Faris Armoush fc330d6e17 Making good progress towards finalizing the end side bar. 2025-05-28 09:32:58 +03:00
Faris Armoush 42319cc4f9 added unit property to AqiType. 2025-05-27 16:56:01 +03:00
Faris Armoush aded80fb9a modified sizing of AirQualityView. 2025-05-27 16:55:43 +03:00
Faris Armoush 077c6e99d6 added aqi informative icons. 2025-05-27 16:55:17 +03:00
Faris Armoush 1f444ccfcb Created AqiLocationInfoCell widget. 2025-05-27 16:11:13 +03:00
Faris Armoush fe716baba7 created AqiLocation widget. 2025-05-27 16:10:58 +03:00
Faris Armoush 34279cfdae added location_pin.svg icon. 2025-05-27 16:10:49 +03:00
Faris Armoush 0bf34c66aa Animated AqiSubValueWidget. 2025-05-27 15:45:32 +03:00
Faris Armoush 7726ceecb8 made AqiSubValueWidget use the correct colors. 2025-05-27 15:21:45 +03:00
Faris Armoush ae2078d28c Merge branch 'dev' of https://github.com/SyncrowIOT/web into SP-1594-FE-Implement-Real-Time-AQI-Data-Panel-for-Selected-Sensor 2025-05-27 15:17:59 +03:00
Faris Armoush 7f5d2ca6ea Merge pull request #206 from SyncrowIOT/SP-1592-FE-Build-AQI-Breakdown-Percentage-Chart-with-Standard-Color-Codes
SP-1592-FE-Build-AQI-Breakdown-Percentage-Chart-with-Standard-Color-Codes
2025-05-27 15:17:10 +03:00
Faris Armoush 5a5173c19b Merge branch 'dev' of https://github.com/SyncrowIOT/web into SP-1592-FE-Build-AQI-Breakdown-Percentage-Chart-with-Standard-Color-Codes 2025-05-27 15:16:37 +03:00
Faris Armoush 83363b4c50 Made RangeOfAqiChart._lines colors use ColorsManager colors instead of statically defining them in the widget itself using Hex codes. 2025-05-27 15:15:29 +03:00
Faris Armoush 95eca869c9 Implemented AqiSubValueWidget. 2025-05-27 15:12:11 +03:00
Faris Armoush 5f3a0c74ac Merge branch 'dev' of https://github.com/SyncrowIOT/web into SP-1592-FE-Build-AQI-Breakdown-Percentage-Chart-with-Standard-Color-Codes 2025-05-27 14:06:48 +03:00
Faris Armoush 03009ed276 made a RangeOfAqiChart._lines a getter. 2025-05-27 13:21:42 +03:00
Faris Armoush a1142eb38c gave range of aqi chart a tooltip that shows the necessary data. 2025-05-27 13:17:05 +03:00
Faris Armoush 1aa7bf2162 fixed charts clipping overflow in chart. 2025-05-27 12:37:36 +03:00
Faris Armoush 043820f84f does not emit an entirely new state when we already have chart data on loading. 2025-05-27 12:33:48 +03:00
Faris Armoush d90d3d4026 added loading state to range of aqi chart. 2025-05-27 12:29:06 +03:00
Faris Armoush 3ac5254abf fixed bug in total energy consumption chart. 2025-05-27 12:26:21 +03:00
Faris Armoush f5d926f5a2 modify left side titles. 2025-05-27 12:21:59 +03:00
Faris Armoush 1b0d8d446c modified flex's values. 2025-05-27 09:47:06 +03:00
Faris Armoush 8a5173f429 made font size of AqiTypeDropdown slightly smaller. 2025-05-27 09:36:35 +03:00
Faris Armoush bee8652d03 responsivness 2025-05-26 16:59:44 +03:00
Faris Armoush 9546d7bdd1 fixed titles widget for bottom title. 2025-05-26 16:56:38 +03:00
Faris Armoush cb4956f915 made range of aqi fake data random and not linear. 2025-05-26 16:56:25 +03:00
Faris Armoush ec7b0aa078 shows AnalyticsErrorWidget and spacing under it only when there is an error. 2025-05-26 15:58:34 +03:00
Faris Armoush 296b03e1aa shows month data instead of index on bottom titles of RangeOfAqiChart. 2025-05-26 15:54:56 +03:00
Faris Armoush 177c7f1030 Responsiveness of RangeOfAqiChartTitle. 2025-05-26 15:49:38 +03:00
Faris Armoush 3746c36a71 Merge pull request #205 from SyncrowIOT/sp-1493-data-foramtting-2.0
sp-1493-data-formatting-2.0.
2025-05-26 15:19:18 +03:00
Faris Armoush 0b4337fb6c sp-1493-data-formatting-2.0. 2025-05-26 15:17:29 +03:00
Faris Armoush 171dc52e28 Created AqiTypeDropdown. 2025-05-26 15:10:30 +03:00
Faris Armoush 642d8e9591 Merge pull request #204 from SyncrowIOT/SP-1493-data-formatting
SP-1493-data-formatting
2025-05-26 14:24:46 +03:00
Faris Armoush 5a8ef578c3 SP-1493-data-formatting 2025-05-26 14:16:43 +03:00
Faris Armoush 63ca98895f moved RangeOfAqiChartTitle. 2025-05-26 13:27:12 +03:00
Faris Armoush 7e54cfdccd Implemented min, max, average informative cells to RangeOfAqiChartBox. 2025-05-26 13:25:14 +03:00
Faris Armoush fb4d44450f Disabled animation in RangeOfAqiChart. 2025-05-26 11:25:12 +03:00
Faris Armoush 12e4285b14 removed unnecessary Stack widget from RangeOfAqiChart. 2025-05-26 11:24:53 +03:00
Faris Armoush 82adbcf4df loads and clears aqi range data in FetchAirQualityDataHelper. 2025-05-26 11:24:00 +03:00
Faris Armoush 7305d511bc Added spaceUuid to GetRangeOfAqiParam model. 2025-05-26 11:23:33 +03:00
Faris Armoush 61acaa17c5 fixed typo. 2025-05-26 11:22:11 +03:00
Faris Armoush 4af81bcc10 make the aqi range chart read its data from RangeOfAqiBloc. 2025-05-26 11:22:05 +03:00
Faris Armoush d4dd7a19ba make the generated fake aqi range data, look better on the chart. 2025-05-26 11:21:42 +03:00
Faris Armoush 9ab906d24c Injected RangeOfAqiBloc into AnalyticsPage. 2025-05-26 11:10:23 +03:00
Faris Armoush 5c57143ea5 Created RangeOfAqiBloc along with its events, and state. 2025-05-26 11:09:45 +03:00
Faris Armoush 4a3085e1b4 Created RangeOfAqiService along with its fake implementation until the API is ready. 2025-05-26 11:00:57 +03:00
Faris Armoush eb8ba1806c Created GetRangeOfAqiParam model. 2025-05-26 10:59:07 +03:00
Faris Armoush 902419f9c4 Created RangeOfAqi model. 2025-05-26 10:58:05 +03:00
Faris Armoush 926bcd9a5d Extracted lines data into a helper method for ease of readability. 2025-05-26 10:48:04 +03:00
Faris Armoush 33f9add78a Extracted some logic of RangeOfAqiChart into a helper class. 2025-05-26 10:41:36 +03:00
Faris Armoush 563a3e1cf5 Refactored RangeOfAqiChart to consolidate line chart creation into a reusable method, improving code maintainability and reducing duplication. 2025-05-26 10:31:21 +03:00
Faris Armoush 791b71276a populated linear data for RangeOfAqiChart, for a more pleasant dev experience and debugging. 2025-05-26 10:29:38 +03:00
Faris Armoush 24e3eb2311 extracted titlesData into a private factory method to enahnce readability. 2025-05-26 10:18:15 +03:00
Faris Armoush 82006e9aaf Implemented the side titles of RangeOfAqiChart. 2025-05-26 10:12:52 +03:00
Faris Armoush cedef666f6 Merge pull request #202 from SyncrowIOT/SP-1493-rework
SP-1493 rework
2025-05-26 10:03:10 +03:00
Faris Armoush a10d998ec6 Merge pull request #203 from SyncrowIOT/SP-1513-rework
SP-1513-rework
2025-05-26 10:02:49 +03:00
Faris Armoush ed50ac03d3 Merge pull request #201 from SyncrowIOT/SP-1492-landing_page_analytics_button_design
SP-1492-landing_page_analytics_button_design
2025-05-26 09:57:23 +03:00