77 Commits

Author SHA1 Message Date
AmirReza Jamali 7b5b6b85f8 Remove tender value chevron
continuous-integration/drone/push Build is passing
2026-06-29 15:08:40 +03:30
AmirReza Jamali 17ccd9d464 Navigate recommended tenders label to tab
continuous-integration/drone/push Build is passing
2026-06-28 11:42:45 +03:30
AmirReza Jamali 984f2e5139 refactor: use GET tenders/recommend and improve tender title UX
continuous-integration/drone/push Build is passing
Load the Recommended tab from GET /api/v1/tenders/recommend instead of the
AI POST flow with 503 fallback. Fix notification pagination offset, make
tender titles selectable across list and detail views, and ignore .cursor.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 12:23:53 +03:30
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 4b1260a437 Update home page navigation to reinitialize ViewModel after navigating to liked tenders 2026-05-25 18:21:13 +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
AmirReza Jamali 2515190576 Refactor date handling in tender data model and UI components. Added unixTimestampFromJson for parsing timestamps and updated timeConvertor to handle null values. Updated relevant model fields and UI to use the new parsing logic. Added unit tests for date utilities. 2026-05-24 15:28:47 +03:30
amirrezaghabeli 41bba5d32c fixed home 2026-04-16 09:10:37 +03:30
amirrezaghabeli f0cbe00b2f Update dependencies, enhance API endpoints, and refactor UI components
- Updated `pubspec.lock` to new package versions for `async`, `fake_async`, `leak_tracker`, and `vm_service`.
- Modified API endpoint for unread notifications to include `event_type=PUSH`.
- Refactored `CompletionOfDocumentsMobilePage` layout for improved structure.
- Simplified `DetailDropDown` widget by removing unnecessary animations.
- Updated `CommentBox` styling and adjusted padding for better UI consistency.
- Replaced deprecated `FormCard` implementation in final completion pages with a new widget structure.
- Enhanced button styles across various dialogs and pages for a cohesive design.
2025-10-13 16:10:18 +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 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 d050aab728 Refactor loading and error handling in DesktopHomePage; improve notification click handling in service worker 2025-10-05 10:23:29 +03:30
amirrezaghabeli 5f1b939d95 fixed jira tm-172 and pagination dialog design changed 2025-10-02 10:10:13 +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 e015c941d2 fixed rtl supoort in some pages 2025-09-17 14:33:04 +03:30
amirrezaghabeli c421f85c95 cleared console problems 2025-09-16 08:36:03 +03:30
amirrezaghabeli 7462d71b33 show eu flag if it is empty 2025-09-14 11:52:59 +03:30
llsajjad c7fc74a153 changed pagination to selectPage in t d yourTenders 2025-09-13 16:33:05 +03:30
llsajjad ddd464c2c2 replace unixToDate to timeConvertor 2025-09-13 12:59:47 +03:30
llsajjad ffa964f7e5 added notification some design and added item to navbar 2025-09-13 08:03:54 +03:30
amirrezaghabeli 2e0ff88b75 fix home and tenders scrolling and no data problem in tenders 2025-09-11 12:11:40 +03:30
amirrezaghabeli ffbc11d4cf removed country flags package and read flags from server and implement svg cahce structure 2025-09-11 11:04:29 +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 5649634464 some changes and fixes 2025-09-06 13:18:12 +03:30
amirrezaghabeli 0a7c11286d Merge branch 'main' of https://repo.ravanertebat.com/TM/tm_app 2025-09-05 13:12:44 +03:30
amirrezaghabeli 9398c83b8e get liked list approvals 2025-09-05 12:59:01 +03:30
llsajjad e67b021f26 Fixed size icon and web desktop design 2025-09-05 12:33:48 +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 22d1f03b6e added notifications and change in forgot password 2025-09-02 10:16:37 +03:30
amirrezaghabeli d8fc995804 some refactors 2025-09-01 18:18:46 +03:30
amirrezaghabeli cab78c8f4d added string for every screen and removed from app strings 2025-09-01 17:50:51 +03:30
amirrezaghabeli 471f6e3119 web fixes codes 2025-08-31 15:04:35 +03:30
amirrezaghabeli 0b2825f836 profile refactor 2025-08-27 13:30:09 +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 4f07facbb8 tablet navigation bar fixed 2025-08-26 14:58: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 2373ce3c26 fixed load again 2025-08-22 14:48:58 +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