43 Commits

Author SHA1 Message Date
AmirReza Jamali 6cd8d7cc7f Update tenders recommendations view
continuous-integration/drone/push Build is passing
2026-06-29 13:27:21 +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 50e4f43738 feat: add AI recommendations flow for tenders
Implement company AI onboarding/recommendation models, services, repository, and tender UI integration with supporting tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 11:47:52 +03:30
AmirReza Jamali dde66521f6 Add Docker support and enhance data models for tender details
- Introduced a .dockerignore file to optimize Docker builds by excluding unnecessary files.
- Updated the Dockerfile to use a Flutter base image, enabling web builds for the application.
- Added new data models for `Lot` and `OrganizationAddress` to represent tender details more accurately.
- Enhanced the `Organization` model to include `companyId` and a nested `address` field.
- Updated the `TenderData` model to include new fields such as `noticeTypeCode`, `formType`, and `lots`, reflecting the API response structure.
- Regenerated necessary code for data models to ensure compatibility with the updated structures.
2026-06-03 13:32:42 +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
amirrezaghabeli 38222afcfa Enhance authentication flow and user role management
- Updated AuthViewModel to hydrate user data from storage on initialization.
- Added method to AuthRepository for retrieving stored customer data.
- Enhanced AuthService to save and retrieve customer data from SharedPreferences.
- Refactored UI components to use context.watch for user role updates in MeetingTimeDialog, TenderDetailActions, and TendersPage.
- Improved navigation logic in final completion pages to handle user interactions more effectively.
2025-10-14 12:24:04 +03:30
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 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 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 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 5f1b939d95 fixed jira tm-172 and pagination dialog design changed 2025-10-02 10:10:13 +03:30
amirrezaghabeli 92c759b6c6 fixed rest of the bugs 2025-09-30 12:37:54 +03:30
amirrezaghabeli fc925f7b84 fixed bugs 2025-09-30 11:12:17 +03:30
amirrezaghabeli ac57392919 fixed safe area 2025-09-27 08:55:57 +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
llsajjad e5cf89c2ce Added SafeArea to all page 2025-09-24 13:19:37 +03:30
amirrezaghabeli 801e170d7c sort and filter added to tenders web 2025-09-23 13:15:41 +03:30
llsajjad 987f499833 added Filter and Sort dialog design in tenders page 2025-09-22 17:18:41 +03:30
amirrezaghabeli 5b1d5d2681 removed submit and reject tender ability every where except tender details 2025-09-22 11:28:12 +03:30
amirrezaghabeli f70229ab30 search logic added to desktop tenders 2025-09-22 09:28:09 +03:30
llsajjad 6e6f248702 Fixed pagination tenders for desktop and
added new config for notification
2025-09-21 14:03:32 +03:30
llsajjad 8a289f2d05 added new design for tenders desktop 2025-09-20 23:09:00 +03:30
amirrezaghabeli e015c941d2 fixed rtl supoort in some pages 2025-09-17 14:33:04 +03:30
amirrezaghabeli 74b0927434 added request successful page and add animation for feedback of tenders 2025-09-16 10:20:12 +03:30
amirrezaghabeli c421f85c95 cleared console problems 2025-09-16 08:36:03 +03:30
amirrezaghabeli 2e0ff88b75 fix home and tenders scrolling and no data problem in tenders 2025-09-11 12:11:40 +03:30
amirrezaghabeli 33edb093f5 changed messages to toast 2025-09-07 10:14:05 +03:30
amirrezaghabeli 5649634464 some changes and fixes 2025-09-06 13:18:12 +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 6f4cc67fe6 some changes in web pages 2025-08-31 14:41:50 +03:30
amirrezaghabeli f6ab5e0560 tenders refactor 2025-08-27 14:06:57 +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
amirrezaghabeli 14ab9a75ca check web and tablet for logic 2025-08-23 15:22:28 +03:30
amirrezaghabeli 438a9bdccb some changes in tenders 2025-08-23 11:20:41 +03:30
amirrezaghabeli 36f66bfca5 merge branches 2025-08-18 08:28:18 +03:30
amirrezaghabeli 36c3faa747 refactor codes 2025-08-12 12:16:33 +03:30
amirrezaghabeli a7e208a5de merged branches 2025-08-12 09:11:26 +03:30
amirrezaghabeli d7deb592fa changed border color and tender tablet sizes 2025-08-11 08:10:06 +03:30
amirrezaghabeli 9ea9480818 check and fix in ui 2025-08-10 16:05:03 +03:30