Commit Graph
50 Commits
Author SHA1 Message Date
mohammad 600ed7992d power_clamp_chart_functionality 2024-10-23 16:38:40 +03:00
mohammad b7b326969a power_clamp 2024-10-20 16:57:13 +03:00
mohammad 40ee207623 bugs fixes 2024-10-10 10:00:48 +03:00
mohammad 465a2e3108 curtain wizard & bugs fixes 2024-10-09 14:58:08 +03:00
mohammad e0049c0aec curtain wizard 2024-10-08 17:02:24 +03:00
mohammad f2172bd6e8 garage Alarm 2024-10-08 13:06:32 +03:00
mohammad 978e77c167 remove socket from water heater 2024-10-08 10:27:05 +03:00
mohammad 75b3036e03 water leak 2024-10-08 10:11:08 +03:00
mohammad b89053c1fb fiz wizard issue 2024-10-07 15:24:06 +03:00
mohammad b8b6ec67c7 setting 2024-09-30 17:30:16 +03:00
mohammad fed39b7198 setting 2024-09-30 17:02:31 +03:00
Abdullah Alassaf 2fb18965f4 Bug fixes 2024-09-29 01:52:17 +03:00
mohammad 4e345db842 one gang wizard &two Gang wizard & wh wizard 2024-09-26 16:26:39 +03:00
mohammad 04e8131fb2 Bug fixes 3 2024-09-23 16:33:39 +03:00
mohammad 429009aefa bug fixes 2 2024-09-23 14:37:07 +03:00
Abdullah Alassaf 62e80c89a2 Bug fixes 2024-09-23 00:35:07 +03:00
mohammad d97efe229d door sensor 2024-09-22 17:27:29 +03:00
mohammad 58e13da887 door sensor 2024-09-22 15:32:47 +03:00
mohammad c3273c729d water heater and timer and schedule ui and api ,
Circulate ui and Inching ui
2024-09-21 08:53:43 +03:00
mohammad f0feb4021f water heater and timer and schedule ui and api ,
Circulate ui and Inching ui
2024-09-20 11:50:39 +03:00
mohammad 740ca4e4ba schedule for one gang and two gang and three gange 2024-09-18 13:01:15 +03:00
mohammad 42b5ff105f schedule for one gang and two gang and three gange 2024-09-18 12:59:28 +03:00
mohammad ddaf36797d two gang schedule 2024-09-15 16:48:16 +03:00
mohammad ea3bc4b5e1 curtain changes 2024-09-02 15:04:16 +03:00
mohammad 9c23ab1399 curtain changes 2024-08-29 16:54:43 +03:00
Abdullah Alassaf dcc98445d7 Implemented smart door animation 2024-08-26 16:45:50 +03:00
mohammad 5aec3d37fb fix password 2024-08-07 17:20:19 +03:00
mohammad 0ef2f3b866 door lock password update 2024-08-06 14:58:06 +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 e8184c00ff CreateTemporaryPassword 2024-06-29 23:38:52 +03:00
Abdullah Alassaf d4f4cfa1ba Added latest changes and solved the conflicts 2024-06-26 22:46:29 +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
mohammad 417806146a update devices edited 2024-06-26 12:15:34 +03:00
mohammad ea4dc852f8 update devices 2024-06-26 11:53:32 +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
Abdullah Alassaf 4257d69768 Implemented Ac functionality, and bug fixes 2024-05-20 02:40:50 +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 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 95f7ade9e6 removed try-catch blocks from auth_api.dart, devices_api.dart and spaces_api.dart files 2024-04-16 15:45:04 +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 80d424f114 Refactor code for consistency and readability
- Removed unused imports and commented-out code
- Updated class inheritance for AuthState subclasses
- Reorganized code structure for better readability
- Cleaned up debug print statements and replaced with dart:developer logs
2024-04-15 12:03:25 +03:00
Mohammad Salameh bff4b9493c Refactor device control logic and add temperature and fan speed enums
- Refactor device control logic in the app to improve readability and maintainability.
- Add temperature modes (hot, cold, wind) and fan speeds (auto, low, middle, high) enums.
- Update icon mappings and utility functions for temperature modes and fan speeds.
2024-04-03 18:54:21 +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 79279180df Refactor code for better readability and maintainability
- Add method to get token and validate in AuthCubit
- Update AuthState with loading, success, and error states for token
- Use BlocBuilder in SplashView for token validation and navigation

This commit refactors the code in AuthCubit to include a method to get the token and validate it. It also updates the AuthState with loading, success, and error states for token handling. In SplashView, BlocBuilder is now used to handle token validation and navigation based on the token status.
2024-03-19 11:15:45 +03:00
Mohammad Salameh 13e80fbad7 fetch groups 2024-03-18 11:46:27 +03:00
Mohammad Salameh 65cbf10485 temp 2024-03-17 09:38:26 +03:00
Mohammad Salameh c5f1b8d090 switch functionality initial implantation 2024-03-14 01:14:54 +03:00