Commit Graph

11 Commits

Author SHA1 Message Date
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
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
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
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
2c4543e83f Added Login with email model instead of json encode 2024-03-10 10:20:06 +03:00
5a7787b42d Added Error handling 2024-03-10 08:56:06 +03:00
f734801e94 Initialized Auth pages for future work
Implemented Login functionality
2024-03-07 10:29:19 +03:00
3190361901 initialized Application theme 2024-02-17 16:27:27 +03:00