Commit Graph

36 Commits

Author SHA1 Message Date
AmirReza Jamali ae08b946f6 Refactor tenders pagination and enhance API integration
- Updated TendersRepository and TendersService to support cursor-based pagination.
- Modified TendersViewModel to manage pagination state and handle API responses more effectively.
- Replaced existing pagination UI components with a new WindowedPagination widget across desktop, mobile, and tablet views.
- Improved notification handling in the UI to reflect the presence of notifications dynamically.
- Adjusted main tenders slider to ensure proper rendering based on the current page index.
2026-05-26 18:30:46 +03:30
AmirReza Jamali 35af3e94ea Add liked tenders functionality to HomeRepository and ViewModel
- Integrated LikedTendersService into HomeRepository to fetch the count of user-liked tenders.
- Updated HomeViewModel to load and manage the userLikedTendersCount.
- Adjusted UI components across home pages to display the liked tenders count.
- Refactored date handling in date_utils.dart to improve timestamp parsing and validation.
- Enhanced unit tests for date utilities to cover new edge cases.
2026-05-24 18:23:37 +03:30
amirrezaghabeli 41bba5d32c fixed home 2026-04-16 09:10:37 +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 1746ff81bd TM-164,165,167 bugs fixed 2025-09-30 12:14:05 +03:30
amirrezaghabeli ebcce6b9f8 merge conflicts 2025-09-27 13:39:36 +03:30
amirrezaghabeli ac57392919 fixed safe area 2025-09-27 08:55:57 +03:30
llsajjad e5cf89c2ce Added SafeArea to all page 2025-09-24 13:19:37 +03:30
amirrezaghabeli c421f85c95 cleared console problems 2025-09-16 08:36:03 +03:30
amirrezaghabeli 65822036c8 tender stat model naming fixed 2025-09-08 11:06:25 +03:30
amirrezaghabeli 79d986c12d fix home problem 2025-09-07 12:29:25 +03:30
llsajjad 468556acb3 Fixed pagination for your tenders in home 2025-09-07 10:43:54 +03:30
llsajjad cd827ecbe4 added new response model for tenders 2025-09-07 10:07:53 +03:30
amirrezaghabeli 9398c83b8e get liked list approvals 2025-09-05 12:59:01 +03:30
amirrezaghabeli 777d9c3e70 delete likes in liked screen 2025-09-03 15:15:37 +03:30
llsajjad 79874c40b1 Added liked tenders desigm and data from api 2025-09-02 16:56:42 +03:30
amirrezaghabeli cab78c8f4d added string for every screen and removed from app strings 2025-09-01 17:50:51 +03:30
amirrezaghabeli dd46eb6054 refactor home 2025-08-27 13:22:35 +03:30
amirrezaghabeli 0f657228c8 feedback stats added 2025-08-27 09:40:48 +03:30
llsajjad 925e178f16 unCommentted second card row in home 2025-08-27 08:43:06 +03:30
amirrezaghabeli f964186a87 some changes navigation in web and response changes 2025-08-26 12:22:42 +03:30
llsajjad b0d5a23a9a fixed some bug 2025-08-25 15:23:39 +03:30
amirrezaghabeli 14ab9a75ca check web and tablet for logic 2025-08-23 15:22:28 +03:30
amirrezaghabeli 47edc00b97 home and tender change 2025-08-22 09:30:02 +03:30
amirrezaghabeli 8e95f31b57 fixed home loading 2025-08-20 14:56:19 +03:30
llsajjad efd75d2a23 Fixed status data in home 2025-08-20 14:27:21 +03:30
llsajjad ed5768decb Added getStates in home 2025-08-20 13:57:33 +03:30
llsajjad 45a2f854a4 Fixed your tender and recommendedTenders in home 2025-08-20 10:35:36 +03:30
llsajjad 95e7b516b3 Added pagination to recommand in home 2025-08-18 15:30:22 +03:30
amirrezaghabeli 4874153488 changes 2025-08-18 10:19:05 +03:30
llsajjad 34afaa9d4d Added data from api for recommended 2025-08-18 08:23:05 +03:30
amirrezaghabeli 36c3faa747 refactor codes 2025-08-12 12:16:33 +03:30
amirrezaghabeli 9ea9480818 check and fix in ui 2025-08-10 16:05:03 +03:30
amirrezaghabeli 1fdfc52297 home logic added 2025-08-09 14:15:02 +03:30
amirrezaghabeli 99b6bbb13f some fixes 2025-08-09 10:40:33 +03:30
amirrezaghabeli eaa9ef18c2 home responsive and some changes 2025-08-09 08:18:05 +03:30