Commit Graph
537 Commits
Author SHA1 Message Date
mohammad 5493ca6fb0 Refactor device filtering logic to improve code readability 2025-04-17 10:38:25 +03:00
mohammad 7005d8ba83 Refactor device filtering logic and improve code readability
- Extracted the logic for filtering implemented devices into a separate method `_getOnlyImplementedDevices`
- Created a set `allowedDevices` to store the allowed device types
- Updated the filtering logic to use the `allowedDevices` set for checking device types
- Removed unnecessary conditions for filtering devices

Fix nullability issues in `Action` model

- Added null checks for `actionExecutor`, `entityId`, `name`, `type`, and `productType` properties in the `fromJson` method of the `Action` model
- Set default values for `actionExecutor` and `entityId` if they are null
- Updated the type casting for `name`, `type`, and `productType` properties to avoid potential nullability issues
2025-04-17 10:16:10 +03:00
mohammad 1cff69d496 change icon 2025-04-17 09:39:58 +03:00
mohammad 60df77efad add OneGang product type to routine 2025-04-17 09:32:20 +03:00
Faris Armoush ccde857c29 Merge pull request #80 from SyncrowIOT/SP-1398-FE-in-the-wizerd-the-batch-control-title-doesn-t-represent-the-the-accurate-device-name
SP-1398-FE-in-the-wizerd-the-batch-control-title-doesn-t-represent-the-the-accurate-device-name
2025-04-13 16:23:49 +03:00
Faris Armoush 408e78962c SP-1398 2025-04-13 16:18:49 +03:00
Faris Armoush dcdbc02ca0 Adds AppLoadingIndicator widget and replaces CircularProgressIndicator in SceneView. 2025-04-13 15:50:52 +03:00
Faris Armoush 31025e9176 Refactors SceneView constructor and improves conditional rendering for automation list 2025-04-13 15:49:13 +03:00
Faris Armoush 8219de6821 Injects SceneBloc using the new factory. 2025-04-13 15:28:44 +03:00
Faris Armoush fbdf3817ab Created a factory helper to create a SceneBloc. 2025-04-13 15:25:48 +03:00
Faris Armoush 17422edd0d sp-1268-rework-v2. 2025-04-13 15:21:20 +03:00
hannathkadher 9472390284 Merge pull request #76 from SyncrowIOT/bugifx/empty-subspace-routine-creation
fixed issue on empty subspace
2025-03-28 11:38:14 +04:00
fkarmoush 56407c6426 indentation and trailing commas. 2025-03-26 13:49:54 +03:00
fkarmoush 02d61ca0bb Refactor DevicesViewBody and SceneView to improve widget structure and replace CreateUnitWidget with EmptyDevicesWidget for better handling of empty states. 2025-03-26 13:44:49 +03:00
fkarmoush 99ee4b9878 Add EmptyDevicesWidget to display message when no routines are available. 2025-03-26 13:34:07 +03:00
hannathkadher ef5e7c3154 fixed issue on empty subspace 2025-03-25 14:15:14 +04:00
hannathkadher a64a41548f updated delete endpoint for automation 2025-03-14 13:02:14 +04:00
hannathkadher 0d50aa68fa updated endpoint for update automation 2025-03-14 12:58:12 +04:00
hannathkadher 88aac86b10 updated endpoint for getting automation by id 2025-03-14 12:55:33 +04:00
hannathkadher 0673548745 changed endpoint for getting automations by space 2025-03-14 12:53:29 +04:00
hannathkadher c2fc8fa0ae changed endpoint for create automation endpoint 2025-03-14 12:40:52 +04:00
mohammad d95588ce84 remove unused code 2025-03-03 17:34:15 +03:00
mohammad 7e2e591d71 remove unused code 2025-03-01 15:19:15 +03:00
mohammad 2ec81bda9c connect the real time for all devices 2025-03-01 15:08:51 +03:00
mohammad 13757d89ee Merged with dev 2025-02-26 12:17:57 +03:00
mohammad d3068b8e14 changes in threeGang 2025-02-26 10:58:32 +03:00
mohammad 7c5d7e1dda remove unused code 2025-02-25 12:45:23 +03:00
mohammad 0a97a4867d disconnect real-time to some devices 2025-02-25 12:41:49 +03:00
mohammad 22789234fe Sensitivity Start from 1 2025-02-23 16:30:50 +03:00
mohammad 8393ec353a fetchDevices by projectUuid 2025-02-20 16:02:25 +03:00
Abdullah Alassaf 0b45d61b25 Fixed list issue in the manage home screen 2025-02-20 10:50:47 +03:00
Abdullah Alassaf 450b773921 set default values in the devices models instead of late, and fixed issues in the AC bloc 2025-02-20 04:13:37 +03:00
hannathkadher 3f7f7ce49f updated project hardcoded values 2025-02-16 20:55:13 +04:00
mohammad 2dc4e16a75 connect all devices to real-time and change the channel function 2025-02-16 14:54:39 +03:00
mohammad cd41720244 active the implemented device 2025-02-16 10:04:34 +03:00
hannathkadher 67209961b4 added project model 2025-02-15 11:54:02 +04:00
mohammad efed5f55a7 add project id to env file and hide about 2025-02-11 11:05:13 +03:00
mohammad 9897c19dad fixes bugs and add project id staging 2025-02-10 10:26:02 +03:00
Abdullah Alassaf 4ca4086bd3 Merged with dev 2025-02-02 22:32:15 +03:00
mohammad 1189b52c57 remove comment DevicesViewBody and fix home page 2025-02-02 13:17:25 +03:00
mohammad c578d63134 all_devices and Restrict_user 2025-01-29 14:10:38 +03:00
Abdullah Alassaf 457b7c2c51 Updated gradle and kotlin 2025-01-26 20:38:37 +03:00
Abdullah Alassaf 4ae04cf2af Merged with Dev 2025-01-26 13:08:40 +03:00
mohammad d72253e3de hide SceneSettings 2025-01-23 18:41:50 +03:00
mohammad 790479effb restrict_spaceMemberUser_and_change_SignUpModel 2025-01-23 18:35:01 +03:00
mohammad de024994c9 showSpaceBottomSheet in a DefaultAppBar and Routine trigger from the device screen
and fixes github comments
and i used this package flutter_html: ^3.0.0-beta.2
2025-01-20 15:50:36 +03:00
mohammad bcc4ba98ff size changes 2025-01-19 16:56:42 +03:00
mohammad df0f1c6c94 user_agreement and privacy_policy sign up and menu 2025-01-19 16:49:54 +03:00
mohammadnemer1 1f62cadcec Merge pull request #66 from SyncrowIOT/Implement_Change_Password_Flow
change_password
2025-01-16 18:02:33 +03:00
mohammad ee01a89d21 change file name 2025-01-16 18:01:23 +03:00