Commit Graph

165 Commits

Author SHA1 Message Date
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 e6b4720dcd Update iOS deployment target to 13.0, enhance Flutter integration, and improve tender submission flow
- Changed the iOS deployment target from 12.0 to 13.0 in Podfile and project settings.
- Updated AppDelegate to support implicit Flutter engine initialization.
- Modified Info.plist to include scene configuration for multiple scenes.
- Enhanced CompletionOfDocumentsRouteData to accept a tenderId parameter.
- Implemented tender submission functionality in TenderDetailViewModel and updated UI components to reflect loading states and success/error messages.
- Added new strings for submission success and error notifications.
2026-05-30 16:48:05 +03:30
AmirReza Jamali 02057988dc Remove TaskStatus enum and related extensions, refactor BoardService and BoardResponse models for improved API integration, and update BoardViewModel to handle card movements between columns. Adjust UI components to reflect these changes and enhance error handling for card operations. 2026-05-26 10:41:34 +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
a.ghabeli 4525e06119 Merge pull request 'profile_changes' (#224) from profile_changes into develop
Reviewed-on: https://repo.ravanertebat.com/TM/tm_app/pulls/224
2026-05-24 12:13:00 +03:30
amirrezaghabeli d87fc452c7 fixed tenders detail date times 2026-05-05 13:56:18 +03:30
amirrezaghabeli eb75952b8e profile tabs fixed 2026-04-19 12:37:39 +03:30
amirrezaghabeli cc0032b21d fixed logout at refresh failed 2026-04-16 16:36:55 +03:30
amirrezaghabeli 41bba5d32c fixed home 2026-04-16 09:10:37 +03:30
amirrezaghabeli 7ae5c25ebb changed to test api url 2025-11-23 11:54:20 +03:30
amirrezaghabeli ae8501dc36 Refactor navigation structure and update asset references
- Swapped routes for Profile and Notification branches in the app's navigation structure.
- Updated the current index for navigation items in TabletNavigationWidget and related pages to reflect the new routing.
- Added a new logo SVG asset to the asset manager for branding consistency.
- Adjusted the pubspec.lock file to downgrade several package versions for compatibility.
2025-11-22 15:29:46 +03:30
amirrezaghabeli 64a1c30e6c Add logo SVG asset and improve authentication error handling
- Added a new logo SVG asset to the AssetsManager for better branding.
- Updated the AuthViewModel to notify listeners on authentication error changes.
- Modified DesktopNavigationWidget to use the new logo SVG with specified dimensions for improved layout.
2025-11-16 14:54:45 +03:30
amirrezaghabeli abf1cc3f7d Add board service and repository, update routes and assets
- Introduced BoardService and BoardRepository for managing board-related data.
- Updated app routes to reflect the new board screen structure.
- Added new board-related assets to the asset manager.
- Refactored BoardScreen navigation to utilize the new provider structure.
2025-11-11 12:58:05 +03:30
amirrezaghabeli a03e66f66b Enhance color theme and update board screen UI
- Added new color definitions for secondary and orange shades in AppColors.
- Updated TaskItem model to remove title and improve description handling.
- Refactored BoardScreen to utilize new color definitions and improve task display.
- Enhanced task status messaging and UI consistency across task cards.
2025-11-11 09:54:54 +03:30
amirrezaghabeli e03c87f99d Add board navigation and assets
- Introduced new board-related assets in AssetsManager.
- Updated NetworkManager to increase connection and receive timeouts to 20 seconds.
- Added BoardRouteData for navigation to the BoardScreen.
- Updated app routes to include the new board route.
- Modified DesktopNavigationWidget to include a navigation item for the board.
- Added a new string constant for the board label in TendersStrings.
2025-11-10 16:14:50 +03:30
amirrezaghabeli de659ca9cf Add clock asset and enhance meeting time dialogs
- Added a new clock icon asset to the AssetsManager.
- Updated MeetingTimeBottomSheet and MeetingTimeDialog to include a close button for better user experience.
- Introduced MeetingTimeSuccessfulRegisteredBottomSheet and MeetingTimeSuccessfulRegisteredDialog for confirming meeting time registration.
- Refactored submission dialogs to improve layout and interaction consistency.
2025-10-27 13:22:51 +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
a.ghabeli 2c5db7f297 Merge pull request 'added web tablet pages' (#214) from completion_of_documents into main
Reviewed-on: https://repo.ravanertebat.com/TM/tm_app/pulls/214
2025-10-13 14:52:20 +03:30
amirrezaghabeli 919b9fb2ed Refactor completion of documents routing and UI components
- Removed unused mobile route for completion of documents.
- Updated app routes to reflect the removal of the mobile route.
- Enhanced the desktop and mobile pages for completion of documents with improved layout and added TabletDesktopAppbar.
- Introduced meeting time handling in TenderDetailActions, integrating new bottom sheet and dialog components for better user interaction.
- Added meeting time state management in TenderDetailViewModel.
- Cleaned up deprecated files related to meeting time selection.
2025-10-13 14:51:39 +03:30
llsajjad be6b0bbe98 added web tablet pages 2025-10-13 11:54:23 +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 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 7e1240dffb some fixes 2025-10-06 10:32:58 +03:30
amirrezaghabeli 56620d4c1b tender detail changes 2025-10-04 10:37:49 +03:30
amirrezaghabeli 006b421a9e fixed TM-171 jira task 2025-10-01 14:11:53 +03:30
amirrezaghabeli b9cc4cb11f adde budget badge on tenders 2025-09-30 12:59:12 +03:30
amirrezaghabeli 11ae01d76a firebase permission in login 2025-09-29 10:27:06 +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
amirrezaghabeli 7b50d7da1e price extension added 2025-09-28 09:05:26 +03:30
amirrezaghabeli ebcce6b9f8 merge conflicts 2025-09-27 13:39:36 +03:30
amirrezaghabeli ae348c3ed9 update notification tab data when clicking on navigation bars 2025-09-27 10:47:13 +03:30
amirrezaghabeli e49c12b6cc merge with conflict 2025-09-25 12:48:32 +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
amirrezaghabeli 8458da4f15 fixed auth pages sizes and push notification navigate bug 2025-09-24 13:11:48 +03:30
amirrezaghabeli 576a099c56 navihate to notificatons when after click on push notification 2025-09-24 09:02:17 +03:30
a.ghabeli f630c0d0ab Merge pull request 'splash_scren' (#156) from splash_scren into main
Reviewed-on: https://repo.ravanertebat.com/TM/tm_app/pulls/156
2025-09-23 13:38:01 +03:30
amirrezaghabeli 801e170d7c sort and filter added to tenders web 2025-09-23 13:15:41 +03:30
a.ghabeli da3efc730a Merge pull request 'Added notification logic and view api' (#152) from logic_notification into main
Reviewed-on: https://repo.ravanertebat.com/TM/tm_app/pulls/152
2025-09-22 16:09:10 +03:30
llsajjad cfc61daf71 Added notification logic and view api 2025-09-22 16:05:08 +03:30
amirrezaghabeli f1214d8a28 added splash screen 2025-09-22 16:04:49 +03:30
amirrezaghabeli 0c2f953636 added fcm (device) token to login data 2025-09-22 09:47:47 +03:30
amirrezaghabeli f70229ab30 search logic added to desktop tenders 2025-09-22 09:28:09 +03:30
llsajjad 8a289f2d05 added new design for tenders desktop 2025-09-20 23:09:00 +03:30
llsajjad fff8d42759 added firebase for notification 2025-09-20 13:02:02 +03:30