Commit Graph

36 Commits

Author SHA1 Message Date
340ac35b3e display multiple error 2024-09-19 13:25:21 +04:00
af31d33778 display long error message in two line 2024-09-19 13:11:04 +04:00
a72fc0b466 Added dialogue for success message 2024-09-02 13:25:58 +04:00
288ea6a1e2 Bug fixes 2024-06-30 15:10:01 +03:00
1fb8a8d035 Merge pull request #26 from SyncrowIOT/forgot_pass
forget password added
2024-06-25 15:53:16 +03:00
57b29abf74 Bug fixes and removed the unused code in the auth cubit 2024-06-25 15:44:00 +03:00
3efe1a540b notes modified 2024-06-25 14:58:33 +03:00
04b9336f50 notes modified 2024-06-25 14:42:26 +03:00
08d3ff3e0f forget password added 2024-06-25 10:54:42 +03:00
f98ebdb2ba Added gateway screen and bloc 2024-06-25 02:21:35 +03:00
76f5c6d325 bug fixes and read sensors states 2024-06-06 11:14:25 +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
28576f2cd5 Implemented sign up and otp screens 2024-05-29 01:51:36 +03:00
f7db91f212 Added sign up screen and model 2024-05-23 14:08:40 +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
c3bc40e0d7 bugs fixed 2024-04-20 01:30:45 +03:00
6266780258 Update form key to be a final field and add validators for email and password
- Make the form key a final field in the AuthCubit class
- Add validators for email and password fields in the AuthCubit class
- Update the LoginForm widget to use the form key from AuthCubit class
- Add validators for email and password fields in the LoginForm widget
2024-04-16 16:44:17 +03:00
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
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
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
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
3cbc3d7fa9 Add autovalidate mode to LoginForm
Set autovalidate mode to onUserInteraction in the LoginForm widget to improve
user experience.
2024-03-19 14:58:33 +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
024f15728b getting spaces and rooms from api {null checks} 2024-03-13 13:52:22 +03:00
c03b2b248d Fixed navigation bug 2024-03-10 15:57:43 +03:00
37187acdf4 Merged Auth branch & Curtains branch 2024-03-10 15:09:06 +03:00
a6018b282e Redesigned Splash Screen and Login Screen 2024-03-10 14:49:17 +03:00
ce34933738 Added loading and success icons to login button 2024-03-10 10:58:45 +03:00
d70c370c2e Added form validation for login view 2024-03-07 15:33:14 +03:00
f734801e94 Initialized Auth pages for future work
Implemented Login functionality
2024-03-07 10:29:19 +03:00
481fe1c0f3 replaced Gap Class with the appropriate SizedBox
removed the Gap dependency
2024-03-02 15:52:28 +03:00
3190361901 initialized Application theme 2024-02-17 16:27:27 +03:00
16f47f744c initialized Splash UI
initialized Login UI
initialized Home(no Devices) UI
Added Colors (from syncrow website)
Added Logo
2024-02-15 00:10:33 +03:00
84e142a099 initial commit 2024-02-14 10:58:43 +03:00