Commit Graph

45 Commits

Author SHA1 Message Date
5eee0a2bfd Merged with SP-203 2024-07-25 14:15:06 +03:00
2b8767aa4b profile page with HomeCubit 2024-07-24 16:05:35 +03:00
69b901afed profile page with HomeCubit 2024-07-24 16:03:22 +03:00
7a773f1653 push autoamtion api connect 2024-07-24 01:41:10 +03:00
6699866ff0 Added latest changes from dev and solved conflicts 2024-06-30 16:27:42 +03:00
4b09259a47 Bug fixes 2024-06-26 23:33:01 +03:00
d4f4cfa1ba Added latest changes and solved the conflicts 2024-06-26 22:46:29 +03:00
ea4dc852f8 update devices 2024-06-26 11:53:32 +03:00
f98ebdb2ba Added gateway screen and bloc 2024-06-25 02:21:35 +03:00
1045d72bbe push routines style and create scene view 2024-06-12 01:54:03 +03:00
631ba53d7a Implemented home management and user invitation flows 2024-06-05 03:42:00 +03:00
6a9c2967d2 Implemented home creation and add counter to the sign up screen 2024-06-03 00:26:07 +03:00
9877dde78e Added create a unit screen, and implemented otp screen bloc and view 2024-05-30 10:59:22 +03:00
cda41ecf74 Implemented firebase and onesignal 2024-05-23 17:09:10 +03:00
4257d69768 Implemented Ac functionality, and bug fixes 2024-05-20 02:40:50 +03:00
0f75c3def1 Fixed logout issue 2024-05-18 23:45:23 +03:00
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
414a205833 built the interface for the blind curtains. 2024-05-06 14:38:29 +03:00
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
09e0695bcc syncing to origin/dev 2024-04-17 16:29:27 +03:00
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
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
af7b497cdb apend 2024-04-04 15:51:58 +03:00
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
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
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
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
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
ee095d0fdc bug_fixing 2 2024-03-24 14:59:29 +03:00
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
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
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
13e80fbad7 fetch groups 2024-03-18 11:46:27 +03:00
024f15728b getting spaces and rooms from api {null checks} 2024-03-13 13:52:22 +03:00
0f3cc453ce Semi-implemented getting spaces feature 2024-03-12 11:14:31 +03:00
d3bd10730c Modified Devices Pages 2024-03-11 12:04:26 +03:00
f11b6d8d32 Added page swipe for navigation 2024-03-10 16:57:12 +03:00
f8e8591d13 Implemented room device interface
(AC only)
2024-03-07 14:53:13 +03:00
bf275d5adf Implemented the page view functionality
-synced page controllers
2024-03-07 12:57:35 +03:00
c5f88caec3 Partially implemented the page view functionality
-page controller on change need to be figured correctly
2024-03-06 23:11:09 +03:00
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
b99247c937 Added appbar actions for all the views
Added appbar leading logo for the menu view
2024-03-05 13:42:58 +03:00
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
c95a9c7817 initialized menu page 2024-02-21 16:39:16 +03:00
d5196fda45 initialized Routine Page 2024-02-21 13:47:08 +03:00