Commit Graph
100 Commits
Author SHA1 Message Date
Faris Armoush 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
Faris Armoush eb708edc83 Merge pull request #226 from SyncrowIOT/SP-1510-show-date-on-bottom-titles-of-occupancy-chart
SP-1510-show date instead of index in occupancy chart.
2025-06-03 16:44:56 +03:00
Faris Armoush 46feb0ea28 SP-1509 attatch space uuid to analytics device dropdown on energy management tab. 2025-06-03 15:20:30 +03:00
Faris Armoush 710f316f8d Merge pull request #223 from SyncrowIOT/SP-1600-FE-Single-Batch-Control-Migration
Sp 1600 fe single batch control migration
2025-06-03 12:27:10 +03:00
Faris Armoush 7cc46d464f SP-1510-show date instead of index in occupancy chart. 2025-06-03 12:24:38 +03:00
Faris Armoush 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
Faris Armoush d1df33b31e Refactor WallSensorBloc to integrate new service dependencies and utilize a factory for instantiation. Enhanced event handling methods for improved error management and real-time status updates from Firebase, including optimized parsing logic for device status values. 2025-06-03 11:15:06 +03:00
Faris Armoush 6a36405530 Refactor TwoGangSwitchBloc to integrate new service dependencies and utilize a factory for instantiation. Enhanced event handling methods for improved error management and real-time status updates from Firebase, including parsing logic for device status values. 2025-06-03 10:48:01 +03:00
Faris Armoush 88a7607395 Refactor TwoGangGlassSwitchBloc to integrate new service dependencies and utilize a factory for instantiation. Enhanced event handling methods for improved error management and state updates, including real-time status listening from Firebase. 2025-06-03 10:33:33 +03:00
Faris Armoush f58ddf76da Refactor LivingRoomBloc to integrate new service dependencies and utilize a factory for instantiation. Enhanced event handling methods for improved error management and state updates, including real-time status listening from Firebase. 2025-06-03 10:19:10 +03:00
Faris Armoush a71a66034c Refactor ThreeGangGlassSwitchBloc to integrate new service dependencies and utilize a factory for instantiation. Enhanced event handling methods for improved error management and state updates. 2025-06-03 09:49:26 +03:00
Faris Armoush b06a23cc60 Refactor WallLightSwitchBloc to integrate new service dependencies and utilize a factory for instantiation. Improved event handling methods for better error management and state updates. 2025-06-02 16:40:13 +03:00
Faris Armoush 5595bb7f25 Refactor OneGangGlassSwitchBloc to utilize new service dependencies and implement a factory for instantiation. Enhanced event handling methods for improved error management and state updates. 2025-06-02 16:35:55 +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 97801872e0 Implemented an initial remote implementation of RangeOfAqiService. 2025-06-02 14:29:04 +03:00
Faris Armoush fa9210f387 added fromJson factory methods to RangeOfAqi, and to RangeOfAqiValue data models. 2025-06-02 14:28:50 +03:00
Faris Armoush 57b6f01177 SP-1593 Implemented the agreed upon api contract. 2025-06-02 14:26:47 +03:00
Faris Armoush 77d39bfc53 Refactor CurtainBloc to use new service dependencies and implement a factory for instantiation. Updated event handling methods for improved error management and state updates. 2025-06-02 11:26:30 +03:00
Faris Armoush 3bd2bd114b migrate CeilingSensorBloc to use the new services. 2025-06-02 11:13:56 +03:00
Faris Armoush f98636a2e5 Migrated AcBloc single/batch controls the new services. 2025-06-02 10:44:43 +03:00
Faris Armoush 19548e99ab indentation and formatting of WaterHeaterBloc. 2025-06-02 10:20:05 +03:00
Faris Armoush b60c674496 Created a factory for the WaterHeaterBloc, and injected the necessary dependenices. 2025-06-02 10:12:53 +03:00
Faris Armoush 6f3dfb607e Extracted single/batch control services creation into a factory for ease of reusablility for the sake of this migration. 2025-06-02 10:11:23 +03:00
Faris Armoush 62dabf1ce2 Made values in DeviceControlDialog selectable for a better UX. 2025-06-02 10:10:50 +03:00
Faris Armoush f07dbad1ea Merge pull request #220 from SyncrowIOT/SP-1664-FE-Sider-bar-tree-behavior-issues-on-Analytics-page
Sp 1664 fe sider bar tree behavior issues on analytics page
2025-06-01 16:45:19 +03:00
Faris Armoush 15ea1b4c5a Merge pull request #221 from SyncrowIOT/enable-hot-reload
enable hot reload on web.
2025-06-01 16:00:46 +03:00
Faris Armoush 17f6985dbf enable hot reload on web. 2025-06-01 15:59:29 +03:00
Faris Armoush 393a5361f0 Apply correct business logic in AirQualityDataLoadingStrategy. 2025-06-01 15:40:12 +03:00
Faris Armoush 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
Faris Armoush 94847fa936 SP-1664-Fe-Sider-bar-tree-behavior-issues-on-Analytics-page. 2025-06-01 15:36:52 +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 2e12d73151 randomize generated fake data in FakeAirQualityDistributionService. 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 accafb150e . 2025-06-01 14:24:07 +03:00
Faris Armoush 736e0c3d9c Injected AirQualityDistributionBloc into AnalyticsPage. 2025-06-01 14:23:14 +03:00
Faris Armoush 455d9c1f01 Created AirQualityDistributionBloc. 2025-06-01 14:22:25 +03:00
Faris Armoush 4479ed04b7 Created a AirQualityDistributionService along with its fake implementation. 2025-06-01 14:22:25 +03:00
Faris Armoush 286dea3f51 created a GetAirQualityDistributionParam. 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 1998a629b6 added some opacity to metric colors. 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 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