11 Commits

Author SHA1 Message Date
602d8a8dc9 feat: Update reportTask method to return success status and improve loading state handling in ReportTaskBottomSheet 2025-06-12 23:27:50 +05:30
a97fb1f541 feat: Clear selected images instead of pre-signed URLs in comment task bottom sheet 2025-06-12 23:01:39 +05:30
916cfa3af4 feat: Add support for reported pre-signed URLs in comments and daily progress report 2025-06-12 22:02:19 +05:30
5cf0202cc1 feat: Remove unused selectedProjectId from DailyTaskPlaningController and update AssignTaskBottomSheet to use ProjectController's selectedProjectId 2025-06-12 21:13:12 +05:30
daf132c3b5 feat: Update comment task bottom sheet layout and enhance comment display with improved spacing and attachment handling 2025-06-12 19:14:27 +05:30
3a449441fa feat: Enhance project and task management features
- Added clearProjects method in ProjectController to reset project states.
- Updated fetchProjects and updateSelectedProject methods for better state management.
- Enhanced ReportTaskController to support image uploads with base64 encoding.
- Modified ApiService to handle image data in report and comment tasks.
- Integrated ProjectController in AuthService to fetch projects upon login.
- Updated LocalStorage to clear selectedProjectId on logout.
- Introduced ImageViewerDialog for displaying images in a dialog.
- Enhanced CommentTaskBottomSheet and ReportTaskBottomSheet to support image attachments.
- Improved AttendanceScreen to handle project selection and data fetching more robustly.
- Refactored EmployeesScreen to manage employee data based on project selection.
- Updated Layout to handle project selection and display appropriate messages.
- Enhanced DailyProgressReportScreen and DailyTaskPlaningScreen to reactively fetch task data based on project changes.
- Added photo_view dependency for improved image handling.
2025-06-12 17:28:06 +05:30
b81ac33b2d feat: Enhance project selection handling across various screens and controllers 2025-06-11 21:55:15 +05:30
ba42551b25 fix: Add validation to prevent target exceeding pending tasks in assign task functionality 2025-06-03 17:14:48 +05:30
c474aad1dc fix: Improve validation for completed work and display pending work in report task bottom sheet 2025-06-03 11:43:24 +05:30
938bf58ff6 feat: Enhance ReportTaskController with image picking and form field management
- Added image picking functionality using ImagePicker for selecting images from camera or gallery.
- Refactored form field controllers in ReportTaskController for better management and disposal.
- Updated reportTask and commentTask methods to use the new controller references.
- Implemented image removal functionality in ReportTaskController.
- Modified ReportTaskBottomSheet to clear fields upon initialization and added a callback for successful reports.
- Updated attendance and regularization logs UI for better loading states and error handling.
- Improved logout functionality in LocalStorage and integrated it into layout and left bar components.
- Adjusted initial route logic in main.dart to redirect users based on authentication status.
2025-05-30 14:41:04 +05:30
34100a4d9e -- Enhance layout with floating action button and navigation improvements
- Added a floating action button to the Layout widget for better accessibility.
- Updated the left bar navigation items for clarity and consistency.
- Introduced Daily Progress Report and Daily Task Planning screens with comprehensive UI.
- Implemented filtering and refreshing functionalities in task planning.
- Improved user experience with better spacing and layout adjustments.
- Updated pubspec.yaml to include new dependencies for image handling and path management.
2025-05-28 17:35:42 +05:30