Commit Graph
25 Commits
Author SHA1 Message Date
Abdullah Alassaf 0f75c3def1 Fixed logout issue 2024-05-18 23:45:23 +03:00
Mohammad Salameh 6042208d02 dart fix --apply to remove unused imports and fixed some pages layouts 2024-04-29 11:49:08 +03:00
Mohammad Salameh 3607b5353d switched the safe area to be in the scaffold 2024-04-29 11:38:35 +03:00
Mohammad Salameh a12f006d63 Added Control functoinalty on the DoorLock 2024-04-29 11:38:11 +03:00
Mohammad Salameh ca71574bf2 Added Smart Linkage Button 2024-04-28 09:32:49 +03:00
Mohammad Salameh bb56ea42c5 Remove unused imports
Remove unused imports from multiple files in the project.
2024-04-19 17:48:18 +03:00
Mohammad Salameh 09e0695bcc syncing to origin/dev 2024-04-17 16:29:27 +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 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 37d2c1b53f apend 2024-04-04 00:01:02 +03:00
Mohammad Salameh 313912a941 Fixed conditional rendering logic for app bar in AppLayout widget
Update the condition to check for the presence of spaces in HomeCubit
instance before displaying the DefaultAppBar component. This improves
readability and maintainability of the code.
2024-04-03 02:00:46 +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 1397778123 Refacorted imports 2024-04-01 12:17:18 +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 a20dfa3709 Refactor device status handling and update UI components
- Update device status handling from 'status' to 'isOnline' for consistency
- Remove unused imports and redundant code related to light switches
- Refactor UI components to use 'isOnline' instead of 'status' for device status
2024-04-01 09:58:51 +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 42051bb977 Fixed the overflow in the login screen, the page is scrollable.
- Fixed Scrolling wasent working in login screen
- Changed Home page to indexed based view instead of PageView
2024-03-19 13:29:12 +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 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 d9a3f9e2a0 code refactoring 2024-03-03 19:07:24 +03:00
Mohammad Salameh 4ee5426e9c Implemented AC Interface 2024-02-29 12:11:39 +03:00
Mohammad Salameh d5196fda45 initialized Routine Page 2024-02-21 13:47:08 +03:00