Faris Armoush
000fe70663
format.
2025-05-21 09:59:50 +03:00
Faris Armoush
4257f7f0f3
Corrected color of titles in charts.
2025-05-21 09:55:17 +03:00
Faris Armoush
15343be258
show space uuid in analytics devices dropdown.
2025-05-20 14:11:25 +03:00
Faris Armoush
c21842cc6d
removed overflow and fixed sizing and text drawing of PowerClampEnergyStatusWidget.
2025-05-20 13:56:00 +03:00
Faris Armoush
625f737791
SP-1506 rework
...
Remove extra line.
The colors of the data on X axis and Y axis are not identical to design.
Display days only on the X axis.
When the bar chart loads, we see it coming from the top (check the attached video).
2025-05-19 11:08:26 +03:00
Faris Armoush
494ae1c941
SP-1495 reworks.
...
1. Overlapping line not removed.
2. The colors of the data on X axis and Y axis are not identical to design.
3. Day 1 and 2 are missing on the X axis.
4. When the chart loads, we see it coming from the top right corner (check the attached video).
5. Display all available devices even if they have no data and make the chart empty state.
2025-05-19 10:52:44 +03:00
Faris Armoush
f67d0e2912
SP-1494 reworks.
...
1. When the chart loads, we see it coming from the top right corner (check the attached video).
2. Day 1 is missing on the X axis.
3. Overlapping line not removed.
2025-05-19 10:17:48 +03:00
Faris Armoush
a849c1dafb
removed unused import.
2025-05-15 16:31:11 +03:00
Faris Armoush
3e3e17019a
format.
2025-05-15 16:22:54 +03:00
Faris Armoush
b1bae3cb15
fixed overflow bug on charts.
2025-05-15 15:59:02 +03:00
Faris Armoush
900d47faae
Merge pull request #190 from SyncrowIOT/SP-1506-FE-implement-chart-per-phase
...
SP-1506-FE-chart per phase api integration.
2025-05-15 14:30:58 +03:00
Faris Armoush
d80f5e1f3a
Refactor energy consumption charts to enhance grid data configuration
...
Updated the grid data for EnergyConsumptionByPhasesChart, EnergyConsumptionPerDeviceChart, and TotalEnergyConsumptionChart to include horizontal line visibility and set a horizontal interval of 250. Removed unused phasesJson constant from TotalEnergyConsumptionChart for cleaner code.
2025-05-15 14:25:13 +03:00
Faris Armoush
c07b53107e
SP-1506-FE-chart per phase api integration.
2025-05-15 10:51:09 +03:00
Faris Armoush
887ac58f40
fixed import.
2025-05-14 15:59:40 +03:00
Faris Armoush
c709477500
some refactors to further clarify intent.
2025-05-14 15:55:12 +03:00
Faris Armoush
0e61e52bf8
Connected devices to widgets, and is currently making the necessary and correct api calls for everything to function properly.
2025-05-14 15:35:22 +03:00
Faris Armoush
3dfbcb5935
connect device dropdown to bloc.
2025-05-14 14:31:28 +03:00
Faris Armoush
b7ef9da35d
Sp 1513 fe implement device dropdown and live status card presence vacancy ( #179 )
...
* Called the widget of presence sensor status widgets.
* Enahnced `PowerClampEnergyDataDeviceDropdown` design and made it a dropdown.
* connected the realtime feature to the occupancy side bar, but with a mock id.
* revert default tab to energyManagement.
2025-05-11 16:59:15 +03:00
Faris Armoush
d6f0b53b59
Sp 1494 api integration ( #180 )
...
* SP-1494-api-integration.
* fixed left stide titles intervals in total energy consumption chart.
* Adjusted tooltip and title intervals in energy management charts to improve accuracy by incrementing displayed values by one.
* Refactor AnalyticsCommunitiesSidebar to use AnalyticsSpaceTreeView and enhance community/space selection handling
* Gave every tab its own selection logic using the strategy design pattern, along with clearing the selection when changing tabes to avoid collision between features.
2025-05-11 16:46:00 +03:00
Faris Armoush
5e6c14efeb
added loading indicators to charts.
2025-05-07 12:20:46 +03:00
Faris Armoush
4e3e63723e
added error messages everywhere.
2025-05-07 11:43:05 +03:00
Faris Armoush
682e69e65f
modify data to migrate to days instead of months.
2025-05-06 15:44:33 +03:00
Faris Armoush
428cd34492
Fixed device cell sizing.
2025-05-06 13:19:55 +03:00
Faris Armoush
1a6121c452
Made analytics energy management view scrollable, to allow for a better UX experience.
2025-05-06 12:24:47 +03:00
Faris Armoush
e8f9ae944c
Refactor BlocListener in PowerClampEnergyDataWidget to simplify state handling
2025-05-06 09:17:35 +03:00
Faris Armoush
38184ca8b2
Integrated realtime data.
2025-05-05 16:58:48 +03:00
Faris Armoush
4d5de7bc05
making good progress on realtime data integration.
2025-05-05 16:34:56 +03:00
Faris Armoush
1a3006fa43
Power clamp info integration.
2025-05-05 12:57:27 +03:00
Faris Armoush
490ca2057e
Reduce bar width in EnergyConsumptionPerDeviceChart for improved visual clarity.
2025-05-05 10:34:23 +03:00
Faris Armoush
06637a16bb
Add EnergyConsumptionPerDevice functionality and update related components
2025-05-05 10:32:12 +03:00
Faris Armoush
c3cce334ab
data populator.
2025-05-05 09:56:29 +03:00
Faris Armoush
947e9e404c
left side intervals.
2025-05-05 09:54:17 +03:00
Faris Armoush
cd8264b6ce
Progress on making EnergyManagementView responsive.
2025-05-05 09:47:54 +03:00
Faris Armoush
7467be6980
Refactored PowerClampPhase to be more readable by extracting widgets into helper private methods to enhance readability.
2025-05-05 09:15:13 +03:00
Faris Armoush
0353c73dac
Moved PowerClampPhase widget to its own file.
2025-05-05 09:12:27 +03:00
Faris Armoush
a050792f32
extracted PowerClampPhase into its own widget.
2025-05-05 09:11:11 +03:00
Faris Armoush
464f7b7347
working on responsiveness.
2025-05-04 16:50:28 +03:00
Faris Armoush
cd54574279
progress towards drawing the phases widgts.
2025-05-04 16:07:51 +03:00
Faris Armoush
18acae3e85
Added type annotation.
2025-05-04 15:02:27 +03:00
Faris Armoush
f081a7fc2d
implemented header, and power clamp data widgets.
2025-05-04 14:59:49 +03:00
Faris Armoush
5996ff3928
Extracted fetching energy management data from the widgets themselves to the parent widget AnalyticsEnergyManagementView.
2025-05-04 14:29:35 +03:00
Faris Armoush
a0d1cb988a
moved EnergyConsumptionByPhasesTitle to its own file.
2025-05-04 14:26:52 +03:00
Faris Armoush
c3ec9000d4
Extracted EnergyConsumptionByPhasesTitle into its own widget to improve readability and assert separation of concerns.
2025-05-04 14:26:38 +03:00
Faris Armoush
3d6a60b406
load energy consumption by phases from bloc, and made the widget use the said data.
2025-05-04 14:24:53 +03:00
Faris Armoush
6b883c8bb3
Implemented Energy Consumption by Phases chart.
2025-05-04 13:22:38 +03:00
Faris Armoush
08c99bcbcb
Renamed EnergyConsumptionByPhasesChart to EnergyConsumptionByPhasesChartBox
2025-05-04 12:02:09 +03:00
Faris Armoush
f6448d3eff
Implement EnergyConsumptionByPhasesChart with structured layout and phase indicators
2025-05-04 12:01:40 +03:00
Faris Armoush
a657a9a25e
Refactor padding and add const constructors for improved performance and consistency in chart widgets
2025-05-04 11:20:47 +03:00
Faris Armoush
7242218b2f
Textstyles.
2025-05-04 11:10:22 +03:00
Faris Armoush
e43de3f64c
Introduce ChartTitle widget for consistent chart headings in EnergyConsumptionPerDeviceChartBox and TotalEnergyConsumptionChartBox
2025-05-04 11:08:56 +03:00