Commit Graph

27 Commits

Author SHA1 Message Date
a52f2c0b5a Add close method override in DevicesCubit
Add override for close method in DevicesCubit to set _isClosed flag and call super.close(). This prevents further operations after closing.
2024-03-19 15:17:40 +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
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
13e80fbad7 fetch groups 2024-03-18 11:46:27 +03:00
65cbf10485 temp 2024-03-17 09:38:26 +03:00
c5f1b8d090 switch functionality initial implantation 2024-03-14 01:14:54 +03:00
00d1ad50f1 built 3 gang switch View 2024-03-14 00:38:00 +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
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
5a9c96b0a8 Built Curtains List view
Modified Category Model(default value of devices status is now null)
Added a category getter in each devices cubit ( AcCubit, LightsCubit ...)
2024-03-05 12:36:57 +03:00
33b7149dde fixed padding bug
fixed AC interface routing issue
2024-03-04 17:10:34 +03:00
282739acf7 Added ac bounds in model
implemented bounds in AC Temp controls
2024-03-04 15:55:02 +03:00
49b24e14eb Fixed navigation issue 2024-03-04 15:03:57 +03:00
7ecac02a8a light interface 2024-03-04 14:38:48 +03:00
d9a3f9e2a0 code refactoring 2024-03-03 19:07:24 +03:00
24ccb243d4 fixed Universal AC temperature control 2024-03-03 16:17:00 +03:00
643b206d4c cleaned some warring messages 2024-03-03 13:10:03 +03:00
136987c56a built Lights List 2024-03-03 13:05:34 +03:00
7e98329738 added Null state from the AC universal switch (in case the status for the ACs are different from each other) 2024-03-03 11:37:30 +03:00
bcaed7a4b8 Converted all the devices models to extends from DeviceModel for the purpose of unifying.
Initialized Lights feature.
2024-03-02 21:57:11 +03:00
4ee5426e9c Implemented AC Interface 2024-02-29 12:11:39 +03:00
3fabd41e72 Stabilized UI elements across multiple devices
Synchronized ACs Status functionality
2024-02-28 12:22:45 +03:00
4c27cce519 Switches updated 2024-02-27 10:13: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
cdfb778884 initialized Devices Page 2024-02-20 16:01:50 +03:00
d27063f149 initialized Dashboard Page 2024-02-20 12:08:59 +03:00