Commit Graph
86 Commits
Author SHA1 Message Date
mohammad dbdf9fca76 fix this
17. The door lock/create password the screen, save button will create a pass as much the user click on the save button

and Fixed the time being displayed incorrectly
in DoorDialog
2024-07-01 13:58:24 +03:00
Abdullah Alassaf 0bd6a5013d Solved conflicts and added latest update from routines design branch 2024-07-01 12:38:52 +03:00
Abdullah Alassaf b3bfe9decc Design enhancments 2024-07-01 01:08:20 +03:00
mohammad baae756acc fix bugs on create password 2024-06-30 23:19:00 +03:00
mohammad 53c33187f4 fix bugs on create password 2024-06-30 23:15:01 +03:00
mohammad 0fa6693c6c fix bugs on create password 2024-06-30 23:04:28 +03:00
Abdullah Alassaf 6699866ff0 Added latest changes from dev and solved conflicts 2024-06-30 16:27:42 +03:00
mohammad b00218ba5d CreateTemporaryPassword 2024-06-30 14:59:18 +03:00
mohammad 695d6c109b CreateTemporaryPassword 2024-06-30 12:49:05 +03:00
mohammad 578b9586d2 CreateTemporaryPassword 2024-06-30 11:54:14 +03:00
mohammad babaada63f CreateTemporaryPassword 2024-06-29 23:44:47 +03:00
mohammad e8184c00ff CreateTemporaryPassword 2024-06-29 23:38:52 +03:00
mohammad 8d6d5da5cd CreateTemporaryPassword 2024-06-29 00:32:19 +03:00
mohammad 1f93614900 CreateTemporaryPassword 2024-06-28 23:50:14 +03:00
mohammad 3e7b6839d9 CreateTemporaryPassword 2024-06-27 16:59:05 +03:00
Abdullah Alassaf 4b09259a47 Bug fixes 2024-06-26 23:33:01 +03:00
Abdullah Alassaf 61c225af45 Implemented devices groups 2024-06-26 22:30:56 +03:00
ashrafzarkanisala 9fe25b9bd3 finished adding tasks and removing them , added error handling 2024-06-26 20:32:34 +03:00
ashrafzarkanisala 6413d2b876 working on functions view 2024-06-25 10:38:39 +03:00
Abdullah Alassaf f98ebdb2ba Added gateway screen and bloc 2024-06-25 02:21:35 +03:00
ashrafzarkanisala 759888857d finished rooms call with all devices and single devices call 2024-06-23 20:12:38 +03:00
ashrafzarkanisala b58af41b88 add all devices fetch 2024-06-23 12:01:06 +03:00
Abdullah Alassaf 28678be844 Fixed timer issue 2024-06-23 02:34:10 +03:00
ashrafzarkanisala 1fe4603cbf connected all devices 2024-06-22 16:44:17 +03:00
Abdullah Alassaf 073b7445d9 Implemented 3 gange count down timer 2024-06-13 10:38:49 +03:00
ashrafzarkanisala a8132c37db push scene devices body with blocs. need to drop the future builder - enhancment 2024-06-13 02:13:44 +03:00
Abdullah Alassaf 76f5c6d325 bug fixes and read sensors states 2024-06-06 11:14:25 +03:00
Abdullah Alassaf 0eea5242e1 Added smart door bloc 2024-05-23 02:45:31 +03:00
Abdullah Alassaf 44b08c482d Implemented ceiling, wall sensors functionality 2024-05-22 23:55:35 +03:00
Abdullah Alassaf 008ba8be32 Added three gang bloc, event, state, and model 2024-05-21 01:51:53 +03:00
Abdullah Alassaf 7d4ce7f7b3 Implemented Acs functions and fixed design issue 2024-05-21 00:13:27 +03:00
Abdullah Alassaf 4257d69768 Implemented Ac functionality, and bug fixes 2024-05-20 02:40:50 +03:00
Abdullah Alassaf 0f75c3def1 Fixed logout issue 2024-05-18 23:45:23 +03:00
Mohammad Salameh fbe2f5fe53 !! BIG CHANGE TO ASSETS GEN !!
changed the method of generating assets to be more declrative when it comes to names of the assets.

it now include the file path name e.g (asset in the path "assets/images/home-images/home.png" will be generated as this "String assetsImagesHomeImageshome = "path" ".

this will be very helpful in the future when we want to orgnize the assets dir.
2024-05-07 12:26:12 +03:00
Mohammad Salameh 414a205833 built the interface for the blind curtains. 2024-05-06 14:38:29 +03:00
Mohammad Salameh c04e64b613 Initilized the Blinds View and its animations 2024-05-01 10:33:24 +03:00
Mohammad Salameh f8358a0877 Updated the API Endpoints, API Calls, Data Models and cubits to the lateset changes from the backend 2024-04-29 10:00:58 +03:00
Mohammad Salameh cc6b68e338 Update device interfaces and add new doors list view widget
- Add a new widget 'DoorsListView' for displaying a list of smart doors
- Update the navigation method to devices interfaces in 'RoomPageSwitch' widget
- Add battery and doorlock icons to auto generated assets
2024-04-16 14:53:43 +03:00
Mohammad Salameh df13c66b1a Refactor API error handling and add try-catch blocks
Added try-catch blocks for error handling in API's files to rethrow the errors to the cubit so cubits can update the UI based on them.

Refactored error handling in HTTPInterceptor and HTTPService classes.
2024-04-15 15:47:13 +03:00
Mohammad Salameh cfc395e210 Refactor HTTPInterceptor and add CustomSnackBar helper
Refactor HTTPInterceptor to handle error responses and add a CustomSnackBar
helper to display snack bars. This will improve error handling and user
feedback in the application.
2024-04-15 12:02:34 +03:00
Mohammad Salameh 6dfce18703 Refactor UI structure in curtain and light widgets
Simplify UI structure in curtain_view.dart and light_interface.dart by
rearranging the widget tree for better readability and maintainability.
2024-04-07 12:50:12 +03:00
Mohammad Salameh 37d2c1b53f apend 2024-04-04 00:01:02 +03:00
Mohammad Salameh 6577652702 Refactor AC mode control unit widget
Move fan speed and temperature mode logic to the DevicesCubit for better
separation of concerns and improved code readability. Update widget to use
BlocBuilder for state management and simplify control logic.
2024-04-03 18:53:54 +03:00
Mohammad Salameh e49627d3e1 Add status model and fetch device statuses
Added a new StatusModel class to represent device statuses and implemented
functionality to fetch and update device statuses in the DevicesCubit and
DeviceModel classes. Also updated UI components to display device status
information.
2024-04-03 11:07:55 +03:00
Mohammad Salameh 5ff5f65549 Refactor emit calls to use emitSafe method
Replace direct calls to emit with emitSafe method to ensure emitting
states only when the cubit is not closed. This helps prevent errors
when emitting states after the cubit is closed.
2024-04-03 02:12:35 +03:00
Mohammad Salameh 127d3a0295 Refactor code structure and update dependencies
Clean up code structure, remove unused imports, and update dependencies.
No functional changes made, only code organization improvements.
2024-04-03 01:55:50 +03:00
Mohammad Salameh 9cc479ba17 Refactor email and password validation logic in LoginForm widget
Update email and password validation logic in the LoginForm widget to only
perform validation when the state is not AuthTokenError. This ensures that
validation is skipped when there is an authentication token error.
2024-04-02 18:09:23 +03:00
Mohammad Salameh ef41940333 Add support for different device types in RoomPageSwitch
-Update the navigation approch to be device type orianted to the corresponding interface when tapped.
-Add three gang switch interface and related components
2024-04-02 15:45:21 +03:00
Mohammad Salameh 5dc4f96a71 Add functionality to fetch devices by room ID
Added a new method in DevicesCubit to fetch devices by room ID and updated
related classes and API calls to support this functionality.
2024-04-02 12:12:54 +03:00
Mohammad Salameh d1bc973b38 Refactor HomeCubit class for better instance management
Create a private static instance variable and refactor methods for better instance management in the HomeCubit class.
2024-04-01 12:09:01 +03:00