Commit Graph
100 Commits
Author SHA1 Message Date
Faris Armoush c9c939c59f Merge pull request #154 from SyncrowIOT/Add-Flush-Mounted-Presence-Sensor-Single-Control
Add flush mounted presence sensor single control
2025-04-23 16:21:17 +03:00
Faris Armoush e1a2465130 Fix deviceId assignment in FlushMountedPresenceSensorBlocFactory and update _listenToChanges method for async handling 2025-04-23 13:11:25 +03:00
Faris Armoush 86164e746a Refactor FlushMountedPresenceSensorBloc creation to use factory method and streamline dependency injection 2025-04-23 12:15:50 +03:00
Faris Armoush 4a5176cf22 Refactor presence update data handling for improved precision and scaling 2025-04-23 12:11:13 +03:00
Faris Armoush 2bb7a6950a Refactor debounce duration handling in BatchControlDevicesService and ControlDeviceService 2025-04-23 10:52:08 +03:00
Faris Armoush 46860619a0 Add bloc dependency to pubspec.yaml 2025-04-23 10:48:24 +03:00
Faris Armoush 7adce3b94c Refactor _onFlushMountedPresenceSensorFetchBatchStatusEvent to use final for response variable 2025-04-23 10:44:44 +03:00
Faris Armoush 91f93d4395 Refactor FlushMountedPresenceSensorBloc to streamline device control logic and remove redundant code 2025-04-23 10:44:11 +03:00
Faris Armoush 42d6b64e58 Refactor FlushMountedPresenceSensorBloc to replace _runDeBouncer with _controlDevice for handling device control logic 2025-04-23 10:32:49 +03:00
Faris Armoush b11d4186fb Add BatchControlDevicesService integration to FlushMountedPresenceSensorBloc and ControlView 2025-04-23 10:31:26 +03:00
Faris Armoush 24130be665 organized instances in bloc. 2025-04-23 10:26:55 +03:00
Faris Armoush 8c960bd5f1 created BatchControlDevicesService interface. 2025-04-23 10:26:17 +03:00
Faris Armoush fb8ccdf0a6 Add FlushMountedPresenceSensorControlView for managing presence sensor settings 2025-04-23 10:24:38 +03:00
Faris Armoush 1975a1b6f4 created FlushMountedPresenceSensorBloc, events, and states for device management. 2025-04-23 10:24:14 +03:00
Faris Armoush 367d6717e7 Refactor PresenceUpdateData widget to support decimal values. 2025-04-23 10:23:28 +03:00
Faris Armoush 8c637e40ff Created FlushMountedPresenceSensorModel model. 2025-04-23 10:23:00 +03:00
Faris Armoush 05b3180510 Created ControlDeviceService interface and its remote and debounced implementation. 2025-04-23 10:22:41 +03:00
Faris Armoush 5d16555748 Merge pull request #151 from SyncrowIOT/SP-1447-FE-Invalid-Time-Limit-24h-Exceeding-Backend-Max-of-12h
SP-1447.
2025-04-21 18:59:57 +03:00
Faris Armoush bd15f30b8a Merge pull request #150 from SyncrowIOT/SP-1440-FE-On-routine-creation-edit-Page-When-saving-a-routine-the-confirmation-pop-up-is-not-identical-to-design
Sp 1440 fe on routine creation edit page when saving a routine the confirmation pop up is not identical to design
2025-04-21 18:59:37 +03:00
Faris Armoush 5f2684bdf4 Merge pull request #152 from SyncrowIOT/SP-702-WEB-Username-Caching-After-Logout-Requires-Screen-Refresh
Sp 702 web username caching after logout requires screen refresh
2025-04-21 18:58:57 +03:00
Faris Armoush b4ef22ef0a SP-702/ clears user data on logging out. 2025-04-21 14:23:40 +03:00
Faris Armoush d8afb562eb SP-1447, set the limit of gangs countdown to be 12 hours instead of 24 hours. 2025-04-21 12:07:21 +03:00
Faris Armoush 67a164e6d2 modified divider color to match figma design. 2025-04-21 10:59:09 +03:00
Faris Armoush cf20bdcd42 SP-1440 2025-04-21 10:57:46 +03:00
Faris Armoush 32b45ea5d7 Merge pull request #149 from SyncrowIOT/SP-1441-FE-On-routine-creation-page-When-the-user-drags-a-card-that-has-signs-and-selects-a-sign-without-a-number-then-confirms-the-value-appears-to-be-Null
Sp 1441 fe on routine creation page when the user drags a card that has signs and selects a sign without a number then confirms the value appears to be null
2025-04-21 10:32:38 +03:00
Faris Armoush 62fb8b3097 SP-1441 2025-04-21 10:28:44 +03:00
Faris Armoush 065bd33511 SP-1330. 2025-04-21 10:03:02 +03:00
Faris Armoush b9ab782c01 Merge pull request #148 from SyncrowIOT/SP-1435-FE-On-routines-page-when-the-screen-height-is-decreased-or-is-small-the-scroll-area-for-routine-cards-is-not-fitting-the-whole-screen-width
Sp 1435 fe on routines page when the screen height is decreased or is small the scroll area for routine cards is not fitting the whole screen width
2025-04-21 09:49:08 +03:00
Faris Armoush 4d5adf948c Merge pull request #147 from SyncrowIOT/SP-1433-FE-Text-Alignment-Issue-in-UI-Component-in-adding-subspace-in-a-space
Sp 1433 fe text alignment issue in UI component in adding subspace in a space
2025-04-21 09:48:38 +03:00
Faris Armoush e45f57ca03 SP-1441 2025-04-17 16:55:44 +03:00
Faris Armoush 84264391d9 progress towards matching the design of save routine dialog. 2025-04-17 16:14:26 +03:00
Faris Armoush 2e4f904d3a style: improve code formatting and readability in SaveRoutineHelper 2025-04-17 14:39:33 +03:00
Faris Armoush c46cfb48a8 refactor: extract IF and THEN sections into separate methods for better readability 2025-04-17 14:38:04 +03:00
Faris Armoush a0dd128557 matched design of Function and action in SaveRoutineHelper.showSaveRoutineDialog 2025-04-17 14:30:30 +03:00
Faris Armoush 34fa426163 submitting password field in login logs the user in. 2025-04-17 14:17:43 +03:00
Faris Armoush 1407c173b0 tapping bugfix. 2025-04-17 13:28:00 +03:00
Faris Armoush 9431eb79c1 Fix loading state handling and refactor scene/automation rendering in FetchRoutineScenesAutomation 2025-04-17 13:18:44 +03:00
Faris Armoush 70f1f39fce Improve loading state handling and in FetchRoutineScenesAutomation. 2025-04-17 13:13:48 +03:00
Faris Armoush f912b41fd8 Refactor visibility handling for scenes and automations in FetchRoutineScenesAutomation 2025-04-17 13:12:09 +03:00
Faris Armoush 977875f1f2 SP-1435 2025-04-17 13:08:16 +03:00
Faris Armoush 8136804694 bugfix. 2025-04-17 12:18:09 +03:00
Faris Armoush ce253b2034 Remove unused parameters from CreateSubSpaceDialog constructor 2025-04-17 11:27:37 +03:00
Faris Armoush 024fbcdb83 Refactor CreateSubSpaceDialog to convert to StatefulWidget and manage text controller lifecycle 2025-04-17 11:25:39 +03:00
Faris Armoush a8430a7d3d Merge pull request #145 from SyncrowIOT/SP-1330-FE-Side-tree-text-breaks-incorrectly-causing-layout-issues
Sp 1330 fe side tree text breaks incorrectly causing layout issues
2025-04-17 09:49:33 +03:00
Faris Armoush 7ef6020dd8 Merge pull request #144 from SyncrowIOT/SP-1333-FE-set-barrier-dismissable-to-true
Sp 1333 fe set barrier dismissable to true
2025-04-17 09:49:11 +03:00
Faris Armoush 2a77483f46 Refactor CreateSubSpaceDialog to improve widget structure and readability 2025-04-17 09:45:14 +03:00
Faris Armoush a6fc99443b Refactor CreateSubSpaceDialog layout for improved readability and maintainability 2025-04-17 09:38:54 +03:00
Faris Armoush ae95d06482 Fix constructor parameter order in CreateSubSpaceDialog 2025-04-17 09:35:47 +03:00
Faris Armoush 18c886753d added trailing commas wherever neccessary in CreateSubSpaceDialog. 2025-04-17 09:35:33 +03:00
Faris Armoush 62bf4f2944 Refactor CreateSubSpaceDialog to use context extension for screen width calculations 2025-04-17 09:34:03 +03:00
Faris Armoush 726c173a76 SP-1433-FE-Text-Alignment-Issue-in-UI-Component-in-adding-subspace-in-a-space 2025-04-17 09:33:10 +03:00
Faris Armoush 01d5cb48cc Refactor onChanged callback in Checkbox for improved readability in CustomExpansionTileSpaceTree. 2025-04-16 14:49:20 +03:00
Faris Armoush 3216d6b879 Refactor fillColor assignment in CustomExpansionTileSpaceTree for improved readability. 2025-04-16 14:47:52 +03:00
Faris Armoush 52e1ff94de Refactor onItemSelected handling in CustomExpansionTileSpaceTree for improved readability. 2025-04-16 14:47:42 +03:00
Faris Armoush 0cc867a4ea Refactor text color assignment in CustomExpansionTileSpaceTree for improved readability. 2025-04-16 14:47:19 +03:00
Faris Armoush 3de7606a00 Refactor expansion icon handling in CustomExpansionTileSpaceTree for improved readability and maintainability. 2025-04-16 14:46:37 +03:00
Faris Armoush f709b92e12 Refactor constructor formatting and improve readability in CustomExpansionTileSpaceTree. 2025-04-16 14:44:31 +03:00
Faris Armoush f1667d4458 Refactor type annotations for onExpansionChanged and onItemSelected in CustomExpansionTileSpaceTree for improved clarity. 2025-04-16 14:44:11 +03:00
Faris Armoush b4f03ab6c3 Initialize ScrollController in initState for better state management in SpaceTreeView. 2025-04-16 14:36:37 +03:00
Faris Armoush 4c38c50649 Refactor notification handling in SidebarCommunitiesList for improved readability and maintainability. 2025-04-16 14:35:29 +03:00
Faris Armoush 8b441aaf46 Refactor SidebarCommunitiesList to be a StatelessWidget and update its usage across SpaceTreeView and SidebarWidget for improved performance and maintainability. 2025-04-16 14:09:36 +03:00
Faris Armoush afdd44e098 removed comments from SpaceTreeView. 2025-04-16 13:18:52 +03:00
Faris Armoush fc1d394509 Extracted SidebarCommunitiesList into a reusable widget. 2025-04-16 13:17:09 +03:00
Faris Armoush dce44e20ec Extracted EmptyResultsWidget into its own widget and file for reusability. 2025-04-16 13:11:56 +03:00
Faris Armoush 91c4c772b5 SP-1330. 2025-04-16 13:08:38 +03:00
Faris Armoush 50eb890d18 Merge pull request #142 from SyncrowIOT/SP-1278-FE-Allow-Simple-Edit-Delete
Added Ceiling Presence Sensor Device To Routine
2025-04-15 16:56:05 +03:00
Faris Armoush 9eefd522b7 bump flutter version on production github action. 2025-04-15 16:25:00 +03:00
Faris Armoush 4989a0e95c removed the use of Flexible that was causing an exception. 2025-04-15 16:24:46 +03:00
Faris Armoush 3c6b9f9ef4 Merge branch 'dev' of https://github.com/SyncrowIOT/web into dev 2025-04-15 16:12:03 +03:00
Faris Armoush 86b8771694 bump-v of web deployment action. 2025-04-15 16:12:01 +03:00
Faris Armoush ea1d3d18c8 Merge pull request #143 from SyncrowIOT/SP-1189-Rework-Add-Button-Not-clickable-Opening-Pop-up-in-Community-Screen
Sp 1189 rework add button not clickable opening pop up in community screen
2025-04-15 15:55:36 +03:00
Faris Armoush 9044645f95 remove screenWidth parameter from TagChipDisplay and use context.screenWidth instead. 2025-04-15 15:45:47 +03:00
Faris Armoush 7699453e6d moved styling of _buildChip up, and removed unnecessary SizedBox. 2025-04-15 15:43:50 +03:00
Faris Armoush d1a21be983 removed else from TagChipDisplay.build 2025-04-15 15:35:24 +03:00
Faris Armoush db8e5a4aa6 Refactor TagChipDisplay._groupedTags to enhance readabaility. 2025-04-15 15:32:31 +03:00
Faris Armoush fa5bb350c3 refactor: replace spaceNameController with spaceName in TagChipDisplay. 2025-04-15 15:29:25 +03:00
Faris Armoush 920827d763 Removed unnecessary SizedBox from TagChipDisplay. 2025-04-15 15:28:12 +03:00
Faris Armoush d3902d622e Moved constructor to be the first element in TagChipDisplay. 2025-04-15 15:27:45 +03:00
Faris Armoush a4432656ab refactor: extract EditChip into a private method for improved readability 2025-04-15 15:27:04 +03:00
Faris Armoush 90e0d2f52b Extracted Chip into a private method. 2025-04-15 15:24:36 +03:00
Faris Armoush 08e5e17910 Extracted Add Devices button into a private method. 2025-04-15 15:23:36 +03:00
Faris Armoush f57348e5cd converted to using expressions wherever possible in TagChipDisplay. 2025-04-15 15:13:47 +03:00
Faris Armoush be168aed93 refactor: simplify tag checking logic to enhance readability. 2025-04-15 15:08:30 +03:00
Faris Armoush a66784473f Replaced conditional with an if statement in TagChipDisplay. 2025-04-15 15:06:01 +03:00
Faris Armoush c0a963ded5 refactor: use context extension for text theme. 2025-04-15 15:05:31 +03:00
Faris Armoush 7945cefe53 added trailing commas wherever necessary. 2025-04-15 15:05:06 +03:00
Faris Armoush 7d0e50fb1d removed unnecessary comments. 2025-04-15 15:03:27 +03:00
Faris Armoush 117f6190dd removed unnecessary BuildContext from TagChipDisplay constructor, sorted its properies, and converted to using super.key. 2025-04-15 15:02:58 +03:00
Faris Armoush 748c67fd8b SP-1333 2025-04-15 14:52:20 +03:00
Faris Armoush 1bfab8cc76 SP-1189-Fix tapping ok and nothing happening bug by taking the action out of the widget. 2025-04-15 14:38:06 +03:00
Faris Armoush 7dcaa20da1 Enhanced the code and look of DialogFooter buttons. 2025-04-15 13:06:30 +03:00
Faris Armoush 616adccfdd Applied the correct scenario of tapping add community icon button. 2025-04-15 12:58:20 +03:00
Faris Armoush abf6555485 Merge branch 'dev' of https://github.com/SyncrowIOT/web into SP-1278-FE-Allow-Simple-Edit-Delete 2025-04-15 12:03:25 +03:00
Faris Armoush be0533645e Refactor dialog header text assignment in CeilingSensorDialog for clarity and readability. 2025-04-15 11:20:15 +03:00
Faris Armoush 254e03e3c7 Add mapping for 'sports_para' in slider range function 2025-04-15 11:19:58 +03:00
Faris Armoush 6bea4c2f4a Add mappings for moving_range and presence_range in slider helpers 2025-04-15 10:34:05 +03:00
Faris Armoush e2ec986bb9 Refactor mappable stepped functions to a static constant for improved readability and maintainability 2025-04-15 10:03:47 +03:00
Faris Armoush ceb1e1d23a Remove TODO comments. 2025-04-15 10:03:37 +03:00
Faris Armoush ee12980b47 Fix value parsing in CpsDialogSliderSelector to ensure two decimal precision 2025-04-15 10:03:21 +03:00
Faris Armoush ebcd89d2a5 Refactor ceiling sensor functions and update slider helper mappings for improved value handling 2025-04-14 16:24:50 +03:00