Commit Graph
40 Commits
Author SHA1 Message Date
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
mohammad 9897c19dad fixes bugs and add project id staging 2025-02-10 10:26:02 +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 b547a126ed Bug fixes 2024-11-12 00:15:26 +03:00
hannathkadher 80d2651370 scene and automation has been updated 2024-10-31 10:19:38 +04:00
hannathkadher d025da6daf fixed space 2024-10-30 09:56:57 +04:00
mohammad 46662b5bac Implement Two-Gang & One-Gang 2024-09-15 10:15:37 +03:00
mohammad 9c23ab1399 curtain changes 2024-08-29 16:54:43 +03:00
mohammad a0405981a8 Scenes have been added to the device page 2024-07-08 15:59:43 +03:00
mohammad e6c9de1dbf Scenes have been added to the device page 2024-07-08 11:23:55 +03:00
Abdullah Alassaf 61c225af45 Implemented devices groups 2024-06-26 22:30:56 +03:00
Abdullah Alassaf 9877dde78e Added create a unit screen, and implemented otp screen bloc and view 2024-05-30 10:59:22 +03:00
Mohammad Salameh 2c8ea5d51c fixed DevicesView padding 2024-05-01 10:40:10 +03:00
Mohammad Salameh dd90a2133f removed snackbar calling in any place in the app except in the intercepter to improve
readability and reduce duplication of error message display logic.
2024-04-15 15:44:32 +03:00
Mohammad Salameh 2ae0c07830 Update import statements from relative tok apsulote paths. 2024-04-13 18:05:19 +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 81625cd50e Add device icons based on device type and update network exception handling
- Add logic to set device icons based on device type in DeviceModel.fromJson method
- Update network exception handling to parse HTML response in ServerFailure class
- Add html package as a dependency for parsing HTML responses
-Added Devices Icons by updateing device types mapping
2024-04-02 15:11:20 +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
Mohammad Salameh ee095d0fdc bug_fixing 2 2024-03-24 14:59:29 +03:00
Mohammad Salameh e17c0af144 Add HomeCubit and HomeState classes
This commit adds the HomeCubit class along with its corresponding HomeState
class. It also includes necessary imports and updates references to the
previously used SpacesCubit to the new HomeCubit in various files.
handled the multible onCreate -- HomeCubit
2024-03-24 14:43:13 +03:00
Mohammad Salameh c0bfd24751 Refactor device-related views and add error handling
Refactor device-related views to improve code structure and readability.
Add error handling for authentication token in the splash view.
Remove unnecessary NavCubit from the app initialization.
2024-03-21 13:58:20 +03:00
Mohammad Salameh 13e80fbad7 fetch groups 2024-03-18 11:46:27 +03:00
Mohammad Salameh 024f15728b getting spaces and rooms from api {null checks} 2024-03-13 13:52:22 +03:00
Mohammad Salameh 0f3cc453ce Semi-implemented getting spaces feature 2024-03-12 11:14:31 +03:00
Mohammad Salameh d3bd10730c Modified Devices Pages 2024-03-11 12:04:26 +03:00
Mohammad Salameh bf275d5adf Implemented the page view functionality
-synced page controllers
2024-03-07 12:57:35 +03:00
Mohammad Salameh c5f88caec3 Partially implemented the page view functionality
-page controller on change need to be figured correctly
2024-03-06 23:11:09 +03:00
Mohammad Salameh b3fcca639a Removed location from models
Added the spaces models
Added the rooms models
Added the Spaces cubit
Implemented the home dropdown functionality
2024-03-06 21:34:23 +03:00
Mohammad Salameh a9fdb2fc76 modified UI padding handling approach
added auth API endpoints
initialized curtains view for further development
2024-03-05 11:18:08 +03:00
Mohammad Salameh 33b7149dde fixed padding bug
fixed AC interface routing issue
2024-03-04 17:10:34 +03:00
Mohammad Salameh 49b24e14eb Fixed navigation issue 2024-03-04 15:03:57 +03:00
Mohammad Salameh 3fccadfc1d light switch
code refactor
2024-03-04 09:45:34 +03:00
Mohammad Salameh d9a3f9e2a0 code refactoring 2024-03-03 19:07:24 +03:00
Mohammad Salameh ad511fe3af added smooth_page_indicator for devices view body 2024-03-03 17:01:08 +03:00
Mohammad Salameh 4ee5426e9c Implemented AC Interface 2024-02-29 12:11:39 +03:00
Mohammad Salameh 3fabd41e72 Stabilized UI elements across multiple devices
Synchronized ACs Status functionality
2024-02-28 12:22:45 +03:00
Mohammad Salameh abe7072f2d AC devices page implemented
AC Cubit Add
New Devices Cubit Arch will be used
Devices Cubit (for devices categories, and devices page)
{
AC cubit,
Lights cubit.
... }
Replaced AssetsManager with Assets Class (auto generated)
2024-02-26 15:55:22 +03:00
Mohammad Salameh cdfb778884 initialized Devices Page 2024-02-20 16:01:50 +03:00
Mohammad Salameh d27063f149 initialized Dashboard Page 2024-02-20 12:08:59 +03:00