94 Commits

Author SHA1 Message Date
ec6c24464e Refactor logging mechanism across services and widgets
- Introduced a new `logSafe` function for consistent logging with sensitivity handling.
- Replaced direct logger calls with `logSafe` in `api_service.dart`, `app_initializer.dart`, `auth_service.dart`, `permission_service.dart`, and `my_image_compressor.dart`.
- Enhanced error handling and logging in various service methods to capture exceptions and provide more context.
- Updated image compression logging to include quality and size metrics.
- Improved app initialization logging to capture success and error states.
- Ensured sensitive information is not logged directly.
2025-06-25 12:10:57 +05:30
e6d05e247e Refactor logging implementation across controllers and services
- Replaced instances of the Logger package with a custom appLogger for consistent logging.
- Introduced app_logger.dart to manage logging with file output and storage permissions.
- Updated all controllers (e.g., DashboardController, EmployeesScreenController, etc.) to use appLogger for logging messages.
- Ensured that logging messages are appropriately categorized (info, warning, error) throughout the application.
- Implemented a file logging mechanism to store logs in a designated directory.
- Cleaned up old log files to maintain only the most recent logs.
2025-06-24 13:11:22 +05:30
99a9b47a19 feat: Enhance attendance chart visibility based on project selection 2025-06-23 15:52:58 +05:30
67d78f02b7 feat: Add no data message to attendance dashboard chart 2025-06-23 15:49:06 +05:30
f7fcad2992 feat: Improve project ID handling and enhance attendance chart data observation 2025-06-23 15:36:40 +05:30
f1764eed81 feat: Refactor project ID handling and enhance CommentTaskBottomSheet integration 2025-06-23 15:27:06 +05:30
6e11fc8c52 feat: Enable AttendanceDashboardChart in the dashboard screen 2025-06-23 13:01:46 +05:30
6c3370437d feat: Update models and API service for improved data handling and type safety 2025-06-22 18:40:10 +05:30
6cdf35374d feat: Enhance dashboard functionality with attendance overview and chart visualization 2025-06-20 19:01:58 +05:30
405916bb48 feat: Add custom skeleton loaders for employee list and daily progress report screens 2025-06-19 16:42:24 +05:30
97c873167f feat: Add employee list skeleton loader for improved loading experience 2025-06-19 16:22:48 +05:30
ef6521faa2 feat: Implement loading skeletons in dashboard and layout screens for better UX 2025-06-19 15:35:09 +05:30
660bd3cdf1 feat: Enhance project selection interaction by adding tap gesture to collapse dropdown 2025-06-19 13:15:02 +05:30
44d72b73ac feat: Add optional approvedBy field to TaskModel and update JSON parsing 2025-06-19 11:14:21 +05:30
3ede53713d feat: Refactor task management to include work area and activity IDs, update task creation logic, and enhance category selection 2025-06-18 19:15:41 +05:30
206c84b3a1 feat: Implement task management features including task creation, assignment, and employee selection 2025-06-18 11:40:08 +05:30
93a2350858 feat: Add report action and comment functionality in daily task planning
- Implemented ReportActionBottomSheet for reporting actions on tasks.
- Created TaskActionButtons for handling report and comment actions.
- Added WorkStatusResponseModel and WorkStatus model for managing work statuses.
- Refactored DailyProgressReportScreen to utilize new action buttons for reporting and commenting.
- Enhanced task data preparation for reporting and commenting actions.
2025-06-17 15:41:23 +05:30
5275ad940b Remove Sales, Comment Task, and Report Task screens; update pubspec.yaml to clean up asset paths. 2025-06-13 11:37:08 +05:30
658f3f26e0 feat: Enhance dashboard stats display with project selection validation and user feedback 2025-06-12 23:59:13 +05:30
59e6634023 feat: Refactor project selection handling in attendance actions and controllers 2025-06-12 23:18:58 +05:30
c7600e8e26 feat: Align app bar elements and adjust padding in attendance and employee screens 2025-06-12 22:51:44 +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
11d9f107ad feat: Refactor attendance data loading logic to streamline project change handling and improve initial data fetch 2025-06-12 19:29:38 +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
b38d987eac feat: Update layout structure to use Stack for project list overlay and adjust spacing in dashboard 2025-06-12 11:55:02 +05:30
56efbe8869 feat: Refactor project selection handling and update UI across various screens 2025-06-12 11:31:36 +05:30
b81ac33b2d feat: Enhance project selection handling across various screens and controllers 2025-06-11 21:55:15 +05:30
936faae07d fix: Update initial route to redirect to /dashboard instead of /home 2025-06-11 20:25:26 +05:30
313350e1a5 feat: Add home route and update logout functionality in user profile bar 2025-06-11 20:25:01 +05:30
6a36064af7 feat: Implement project management features across controllers and views
- Added DashboardController and ProjectController for managing project data.
- Enhanced LayoutController to support project selection and loading states.
- Created UserProfileBar for user-specific actions and information.
- Refactored app initialization logic to streamline setup and error handling.
- Updated layout views to integrate project selection and improve user experience.
2025-06-11 17:11:50 +05:30
8c2d258848 feat: Implement loading state in ForgotPasswordScreen during password reset process 2025-06-10 17:26:35 +05:30
040a8f0a2e feat: Add AttendanceLogViewButton for employees with check-in records 2025-06-10 15:44:24 +05:30
2ccd237329 feat: Update navigation logic for MPIN and OTP authentication to redirect to home page; add failed attempts tracking in MPIN controller 2025-06-10 15:32:15 +05:30
c253c14481 feat: Refactor OTP authentication to use email instead of phone number 2025-06-10 12:14:05 +05:30
25dfcf3e08 feat: Add MPIN authentication and OTP login screens
- Implemented MPINAuthScreen for generating and entering MPIN.
- Created MPINScreen for user interaction with MPIN input.
- Developed OTPLoginScreen for OTP verification process.
- Added request demo bottom sheet with organization form.
- Enhanced DashboardScreen to check MPIN status and prompt user to generate MPIN if not set.
2025-06-10 10:04:18 +05:30
516a779626 fix: Replace Row with Wrap for employee name and job role display to support multiline text 2025-06-06 12:27:52 +05:30
905b3e32c5 fix: Update employee name and designation display to allow for multiline text 2025-06-06 12:23:12 +05:30
d99221e800 fix: Enhance contact number validation in organization form 2025-06-04 11:09:15 +05:30
3bd25c1172 fix: Add percent indicator for visual progress representation in daily task planning 2025-06-03 17:26:43 +05:30
fc9fbaafa9 fix: Enhance loading state management and error handling in organization form submission 2025-06-03 15:17:49 +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
6fa8858d87 fix: Update project selection logic to fetch task data instead of projects 2025-06-03 11:05:21 +05:30
f1005af7be fix: Enhance login error handling with custom snackbar and update UI for beta environment 2025-06-03 09:46:34 +05:30
aca2722ee4 refactor: Update Checkbox fill color handling and enhance agreement toggle interaction 2025-05-31 16:46:10 +05:30
9ad8bdc893 fix: Update button onPressed to null and adjust background color in Layout 2025-05-31 12:02:01 +05:30
08991f2095 refactor: Improve LoginController and LoginScreen structure and readability 2025-05-31 10:43:39 +05:30
ad4b24dd78 feat: Add beta environment indicator to layout 2025-05-30 15:12:35 +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
8b01161448 Implement forgot password functionality and enhance UI in the authentication flow 2025-05-29 13:11:27 +05:30
915471f4c0 Add date formatting function and display current date in employee list tab 2025-05-28 18:14:46 +05:30