amirrezaghabeli
13dbb5fae5
Enhance Customer model to include role attribute and update related components
...
- Added a new `role` attribute to the `Customer` model in `customer.dart` and updated the corresponding generated files.
- Modified the `AuthViewModel` to set the user role based on the logged-in user's role.
- Updated UI components in `TenderDetailActions` and `DesktopTendersPage` to conditionally render elements based on the user's role.
- Refactored tests to validate the new role attribute in the `Customer` model.
2025-10-14 09:12:24 +03:30
amirrezaghabeli
cee5e6c6d6
Add forgot password, reset password, and verify OTP providers and view models
...
- Implemented `ForgotPasswordViewModel`, `ResetPasswordViewModel`, and `VerifyOtpViewModel` for handling respective functionalities.
- Created provider functions for lazy loading of these view models in the app.
- Updated routing to utilize the new providers for managing state in the forgot password flow.
- Refactored UI components to integrate with the new view models, ensuring proper state management and user feedback during operations.
2025-10-06 15:39:08 +03:30
amirrezaghabeli
7560402632
Refactor dependency injection to use lazy loading for providers in the core configuration. Remove unused logout method from AuthViewModel and adjust ProfileViewModel to call localLogout directly from AuthRepository. Clean up constructor parameters in ProfileViewModel and TenderDetailViewModel by removing unnecessary dependencies.
2025-10-06 12:24:18 +03:30
amirrezaghabeli
42f2e93a8e
Update .gitignore to exclude Firebase configuration files and refactor notification handling in the app. Removed redundant logging and notification data storage in SharedPreferences. Introduced NotificationCheckService and NotificationStateService for improved notification management. Updated view models and UI components to utilize the new services, enhancing notification state tracking and user experience.
2025-10-06 11:59:54 +03:30
amirrezaghabeli
0653cdb6d7
changes
2025-10-06 08:58:36 +03:30
amirrezaghabeli
f1214d8a28
added splash screen
2025-09-22 16:04:49 +03:30
amirrezaghabeli
e85ac8d649
forgot password screns logic fixed
2025-09-22 14:25:59 +03:30
llsajjad
6a51c3656a
Fixed password and otp bugs
2025-09-17 15:58:49 +03:30
amirrezaghabeli
43ef5bd48b
merging branches
2025-09-17 10:15:41 +03:30
llsajjad
e9a1d0c665
added api for forgot password otp
2025-09-16 17:18:51 +03:30
llsajjad
69980925ad
added api for forgot password
2025-09-16 15:51:56 +03:30
llsajjad
bb1dbd5bbe
added design forgot password
2025-09-08 10:00:46 +03:30
amirrezaghabeli
0fbf88952f
forgot password ui added
2025-08-31 14:30:08 +03:30
amirrezaghabeli
f4d5d16959
fixed login problem
2025-08-27 14:50:18 +03:30
amirrezaghabeli
f81e9dd32d
fixed login bug
2025-08-21 10:59:28 +03:30
amirrezaghabeli
4b51071aad
merge branches
2025-08-20 13:11:22 +03:30
llsajjad
7e16198578
Fixed login bug after logout
2025-08-18 17:02:28 +03:30
amirrezaghabeli
36f66bfca5
merge branches
2025-08-18 08:28:18 +03:30
amirrezaghabeli
a00565cd4f
profile dependencies added
2025-08-17 09:46:33 +03:30
amirrezaghabeli
81d01d53ae
login added
2025-08-16 16:11:57 +03:30
amirrezaghabeli
86f0f03392
some changes
2025-08-11 10:27:33 +03:30
llsajjad
83ca169059
changed logoRepository to authRepository
2025-08-09 17:25:19 +03:30
amirrezaghabeli
09e21a1cc7
network manager and di added
2025-08-05 09:45:24 +03:30
Yashar Panahi
64c4ebf0f8
feat: add arch
2025-08-02 12:31:42 +03:30