Commit Graph

111 Commits

Author SHA1 Message Date
4849bb41ba Added function to single card, included tag and location to cards 2025-04-15 02:13:00 +03:00
ebcd89d2a5 Refactor ceiling sensor functions and update slider helper mappings for improved value handling 2025-04-14 16:24:50 +03:00
1493e35f6a removed unused method. 2025-04-14 14:35:24 +03:00
f19cc616be moved CpsSliderHelpers to its own file. 2025-04-14 14:32:49 +03:00
06383018b9 refactored helpers into a helper class to release some complexity out of the widget. 2025-04-14 14:32:22 +03:00
9e3a78f6b7 Update dialog header to reflect sensor condition type dynamically 2025-04-14 12:10:42 +03:00
a27b2e758c Merge branch 'dev' of https://github.com/SyncrowIOT/web into SP-1278-FE-Allow-Simple-Edit-Delete 2025-04-14 12:06:42 +03:00
9bf37243a6 remove unused code and make a limitation for the nobody time picker 2025-04-13 14:55:55 +03:00
11feaf7c87 passed correct operation name to onSliderChanged and onConditionChanged. in CpsDialogSliderSelector`. 2025-04-13 11:10:51 +03:00
36e88d033b Refactor SliderValueSelector layout for improved readability and maintainability 2025-04-13 10:56:19 +03:00
c54fd780b7 Update sensitivity function to adjust max value and add image assets; modify dialog logic for sensitivity handling 2025-04-13 10:43:17 +03:00
dcbca64814 Fix spacing in ValueDisplay text output for improved readability 2025-04-13 10:16:20 +03:00
c62e8b3f15 Update _displayText method to format values with two decimal places for improved precision 2025-04-13 10:14:35 +03:00
60a1a9ad6f Add dividendOfRange parameter to FunctionSlider and related components for improved range handling 2025-04-13 10:09:39 +03:00
828db5d5e4 Refactor CpsDialogSliderSelector to improve value parsing and formatting in _displayText method 2025-04-13 09:57:45 +03:00
ebbecb9738 Update toggleCodes in CeilingSensorHelper to replace 'self_test_result' and 'movement' with 'checking_result' and 'body_movement' for improved clarity. 2025-04-13 09:18:09 +03:00
49439816d5 Update SliderValueSelector to improve text styling for unit and range labels 2025-04-10 16:43:33 +03:00
a5d26d04eb Remove unused variables from CeilingSensorDialog to streamline state management 2025-04-10 16:35:19 +03:00
74046c5aed Refactor SliderValueSelector and ValueDisplay to include unit handling and improve UI consistency across sensor dialogs. 2025-04-10 16:22:02 +03:00
fadb23d631 Refactor SliderValueSelector layout by removing unnecessary SizedBox and adjusting spacing for improved UI consistency. 2025-04-10 15:26:36 +03:00
cf103d5a7c Add CpsDialogSliderSelector for enhanced slider functionality and integrate with CeilingSensorDialog 2025-04-10 15:25:29 +03:00
551779c33a moved widgets to their own files. 2025-04-10 14:41:58 +03:00
9d3b58deeb Refactor wall presence sensor components and add new widgets for improved functionality and clarity to ensure reusability in the future for other devices. 2025-04-10 14:32:09 +03:00
6d612398ed Update operation names in CpsFunctions and add toggle codes to CeilingSensorHelper 2025-04-09 16:41:03 +03:00
3f565788d5 Refactor CeilingSensorDialog to be a StatefulWidget. 2025-04-09 15:42:22 +03:00
c1d9846899 Enhance CeilingSensorHelper: Add deviceName and deviceId parameters to sensor functions 2025-04-09 15:41:21 +03:00
5b29228738 Merge branch 'dev' of https://github.com/SyncrowIOT/web into SP-1275-FE-Identify-Add-Ceiling-Sensor-Card-to-IF-THEN-Sections 2025-04-09 13:21:43 +03:00
4ea91b9333 SP-1276/ Show Configuration Pop-up on Drop. 2025-04-09 13:16:36 +03:00
6c691d4b3c displays ceiling sensor in routine 2025-04-09 12:46:43 +03:00
c90b9a1912 bugfix/ range index errorof automations in routines. 2025-04-09 12:24:59 +03:00
7860292276 Merge branch 'dev' of https://github.com/SyncrowIOT/web into SP-1367-FE-Save-Flow-edit-or-delete-the-device-functions 2025-04-09 12:19:53 +03:00
fd6b737556 Refactor one_gang_switch_dialog.dart to use one_gang_switch instead of ac in function names and variables 2025-04-09 12:17:26 +03:00
3d5825adca Merge branch 'SP-1366-FE-Add-Gateway-Device-Card-to-Devices-Section' of https://github.com/SyncrowIOT/web into SP-1367-FE-Save-Flow-edit-or-delete-the-device-functions 2025-04-09 11:21:20 +03:00
9c97e2879a Refactor constructor syntax for Gateway functions to use initializer list 2025-04-09 10:57:22 +03:00
d08ab8caac add dialogType to devices and add parameter in showSwitchFunctionsDialog 2025-04-09 10:09:56 +03:00
774f21a55b Refactor RoutineDevices to consolidate device data preparation in a single map to remove code duplication. 2025-04-09 09:59:15 +03:00
9b69ec31e9 Refactor RoutineDevices to use a class-level constant for allowed product types. 2025-04-09 09:57:18 +03:00
a242377ea6 Fully refactored CreateRoutine/Gateway feature. 2025-04-09 09:46:45 +03:00
3a0c8edf86 SP-1365/ Gateway Functions Popup (for “Then” section). 2025-04-08 16:42:31 +03:00
970f7ed16f SP-1365 2025-04-08 16:42:12 +03:00
006bd4c8ae SP-1364/ Gateway Conditions Popup (for “If” section) 2025-04-08 16:20:22 +03:00
b6752683fd Add Gateway dialog and functions integration 2025-04-08 15:08:53 +03:00
9d4395e204 Added gateway product type to IfContainer. 2025-04-08 15:08:01 +03:00
7accf1d4c8 SP-1366- Add Gateway Device Card to Devices Section. 2025-04-08 13:07:53 +03:00
a56f4e488e Refactor routine_view_card.dart to adjust the size of the CircularProgressIndicator
Fix routine popup
Update wall_presence_sensor.dart to handle null selectedOperationName
2025-04-07 16:42:44 +03:00
6bd9fb7e4e Refactor routine_view_card.dart to adjust the size o 2025-04-07 16:22:21 +03:00
d264409d29 - Refactor the WpsFunctions class in wps_functions.dart to use 'cm' instead of 'temp' for the description of operational values.
- Update the WallPresenceSensor class in wall_presence_sensor.dart to use the selected operation name
2025-04-07 14:27:36 +03:00
ca44f3bf55 fix routine popup 2025-04-07 12:53:12 +03:00
9949a0a0bf Merge pull request #131 from SyncrowIOT/SP-1281-FE-Save-Display-Configured-Sensor-as-a-Card
save presence state and edit selected value
2025-04-07 09:30:38 +03:00
8dc4081a89 save presence state and edit selected value 2025-04-06 16:38:34 +03:00