Commit Graph

235 Commits

Author SHA1 Message Date
amirrezaghabeli 79a0ecd87f Refactor tender dialogs to utilize ViewModel and improve state management
- Updated `TendersFilterDialog` and `TendersSortDialog` to use a stateful approach, allowing for better management of selected filters and sorting options.
- Integrated `TendersViewModel` into both dialogs, enabling direct interaction with the view model for setting date ranges and statuses.
- Enhanced the UI to reflect changes in state, ensuring a more responsive user experience when applying filters and sorting.
- Updated the `d_tenders_page.dart` to pass the view model and handle filter and sort actions appropriately.
2025-10-12 15:29:54 +03:30
amirrezaghabeli 6d674a4a1b Update dependencies and enhance tender approval status handling
- Updated `pubspec.lock` to reflect new versions for several packages, including `async`, `fake_async`, `leak_tracker`, and `vm_service`.
- Modified `TenderApprovalStatus` enum to include a new status `approved`.
- Updated routing for `YourTendersRouteData` to accept a status parameter and pass it to the `YourTendersScreen`.
- Adjusted API calls and view models to utilize the new status handling, ensuring proper filtering and display of tender data based on approval status.
- Enhanced filter dialog to support new status options and improved user feedback in the UI for submitted and approved tenders.
2025-10-12 14:57:33 +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 b43ebf885b Refactor provider initialization to load only essential providers at startup. Introduce TabNavigationService for managing tab state and update screens to respond to tab changes. Clean up view models and navigation logic for improved performance and maintainability. 2025-10-06 14:12:40 +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 0600572804 added sized box 2025-10-05 10:29:08 +03:30
amirrezaghabeli d050aab728 Refactor loading and error handling in DesktopHomePage; improve notification click handling in service worker 2025-10-05 10:23:29 +03:30
amirrezaghabeli 56620d4c1b tender detail changes 2025-10-04 10:37:49 +03:30
amirrezaghabeli 5f1b939d95 fixed jira tm-172 and pagination dialog design changed 2025-10-02 10:10:13 +03:30
amirrezaghabeli 48b998f281 fixed TM-173 jira task 2025-10-01 14:40:02 +03:30
amirrezaghabeli 006b421a9e fixed TM-171 jira task 2025-10-01 14:11:53 +03:30
amirrezaghabeli 64f5eea50e fixed tenders tablet draawer not opening bug 2025-10-01 11:08:51 +03:30
amirrezaghabeli b9cc4cb11f adde budget badge on tenders 2025-09-30 12:59:12 +03:30
amirrezaghabeli 92c759b6c6 fixed rest of the bugs 2025-09-30 12:37:54 +03:30
amirrezaghabeli 1746ff81bd TM-164,165,167 bugs fixed 2025-09-30 12:14:05 +03:30
amirrezaghabeli fc925f7b84 fixed bugs 2025-09-30 11:12:17 +03:30
amirrezaghabeli 4ef3ca206d notifications colors fix 2025-09-29 09:15:40 +03:30
amirrezaghabeli 6e82f2c73f mark single notification as read 2025-09-28 14:28:18 +03:30
llsajjad 271b253f23 Fixed seen item in notifications 2025-09-28 12:52:13 +03:30
amirrezaghabeli 05047f2d92 fixed more dialog 2025-09-28 09:42:15 +03:30
amirrezaghabeli 7b50d7da1e price extension added 2025-09-28 09:05:26 +03:30
amirrezaghabeli 82d907ef74 changed safe areas and filter string 2025-09-28 08:50:43 +03:30
amirrezaghabeli 7b8660cc25 added string 2025-09-28 07:28:29 +03:30
amirrezaghabeli 292d6653a0 fixed strings 2025-09-28 07:26:19 +03:30
amirrezaghabeli fd19e8c66c fixing conflict 2025-09-28 07:23:25 +03:30
amirrezaghabeli 26a29003d9 notification se more added 2025-09-27 15:31:40 +03:30
amirrezaghabeli c989f3ae1f fixed time ago in notifications 2025-09-27 13:57:47 +03:30
amirrezaghabeli ebcce6b9f8 merge conflicts 2025-09-27 13:39:36 +03:30
llsajjad fa974bc4a2 added new response data from notifications api 2025-09-27 13:02:12 +03:30
amirrezaghabeli ae348c3ed9 update notification tab data when clicking on navigation bars 2025-09-27 10:47:13 +03:30
a.ghabeli b6a61df904 Merge pull request 'fixed safe area' (#168) from fix_safe_area into main
Reviewed-on: https://repo.ravanertebat.com/TM/tm_app/pulls/168
2025-09-27 08:56:27 +03:30
amirrezaghabeli ac57392919 fixed safe area 2025-09-27 08:55:57 +03:30
llsajjad 811a1c1385 Fixed notification pagination for all and unread 2025-09-27 08:54:11 +03:30
amirrezaghabeli e49c12b6cc merge with conflict 2025-09-25 12:48:32 +03:30
amirrezaghabeli 70ecad74d1 fixed notification update fixed 2025-09-25 12:21:46 +03:30
amirrezaghabeli d6296e0b83 some changes 2025-09-25 11:18:40 +03:30
amirrezaghabeli 44b9e16a8d web show notification when push notification is recieved 2025-09-24 15:33:48 +03:30
a.ghabeli 8a786b6ca4 Merge pull request 'safearea' (#160) from safearea into main
Reviewed-on: https://repo.ravanertebat.com/TM/tm_app/pulls/160
2025-09-24 13:51:47 +03:30
llsajjad b38c3fd4a4 Fixed loading bug in notification mobile 2025-09-24 13:39:19 +03:30
llsajjad e5cf89c2ce Added SafeArea to all page 2025-09-24 13:19:37 +03:30
amirrezaghabeli a053dae333 added safe area to forgot password 2025-09-24 13:13:19 +03:30
amirrezaghabeli 8458da4f15 fixed auth pages sizes and push notification navigate bug 2025-09-24 13:11:48 +03:30
llsajjad 7456418ea2 Fixed warning context and hard code strings in notificationModelView and some widgets 2025-09-24 12:15:53 +03:30
a.ghabeli a8e65f3cb5 Merge pull request 'navihate to notificatons when after click on push notification' (#158) from notification_on_click into main
Reviewed-on: https://repo.ravanertebat.com/TM/tm_app/pulls/158
2025-09-24 09:03:13 +03:30
amirrezaghabeli 576a099c56 navihate to notificatons when after click on push notification 2025-09-24 09:02:17 +03:30
a.ghabeli 060609c86a Merge pull request 'added_unread_allread_notification' (#157) from added_unread_allread_notification into main
Reviewed-on: https://repo.ravanertebat.com/TM/tm_app/pulls/157
2025-09-24 08:43:05 +03:30
llsajjad 1901b84b2d Fixed CircularProgressIndicator color and position show in notification 2025-09-23 16:07:44 +03:30
llsajjad 1f60954c53 Added unread list api in notification 2025-09-23 15:49:30 +03:30
llsajjad 70066c26e8 Added markAll as read for notification 2025-09-23 15:01:42 +03:30