123 Commits

Author SHA1 Message Date
Vaibhav Surve
2fef2e508e feat(contact): support multiple project selection in AddContact functionality 2025-07-08 15:28:20 +05:30
Vaibhav Surve
a8c890a60d feat(comment): improve comment submission feedback and validation messages 2025-07-08 13:17:21 +05:30
Vaibhav Surve
77e27ff98e feat(contact): enhance AddContact functionality with validation and initialization state 2025-07-08 13:10:15 +05:30
Vaibhav Surve
445cd75e03 feat(contact): implement contact editing functionality and update API integration 2025-07-07 15:34:07 +05:30
Vaibhav Surve
45ce53539c feat(directory): enhance search functionality in Directory and Notes views 2025-07-07 13:41:46 +05:30
Vaibhav Surve
7a2798401a feat: Add Notes functionality and integrate with Directory
- Introduced NotesController to manage notes fetching, updating, and state management.
- Created NoteListResponseModel and NoteModel to handle notes data structure.
- Implemented API service method to fetch directory notes.
- Added NotesView to display notes with editing capabilities.
- Updated DirectoryController to include a flag for toggling between Directory and Notes views.
- Refactored DirectoryMainScreen to accommodate the new NotesView and toggle functionality.
- Enhanced UI components for better user experience in both Directory and Notes views.
2025-07-07 12:55:52 +05:30
Vaibhav Surve
e7940941ed feat(directory): enhance AddContact functionality to support multiple emails and phones, improve logging, and refactor contact detail display 2025-07-05 13:19:53 +05:30
Vaibhav Surve
62c49b5429 feat(directory): add form reset functionality in AddContactController and initialize fields in AddContactBottomSheet 2025-07-05 11:57:15 +05:30
Vaibhav Surve
549d8cce3c feat(directory): add comment submission functionality and UI components 2025-07-04 16:55:50 +05:30
Vaibhav Surve
be71544ae4 feat(directory): implement comment editing functionality and enhance comment model 2025-07-04 15:09:49 +05:30
a0f1602f4e feat(directory): add contact profile and directory management features
- Implemented ContactProfileResponse and related models for handling contact details.
- Created ContactTagResponse and ContactTag models for managing contact tags.
- Added DirectoryCommentResponse and DirectoryComment models for comment management.
- Developed DirectoryFilterBottomSheet for filtering contacts.
- Introduced OrganizationListModel for organization data handling.
- Updated routes to include DirectoryMainScreen.
- Enhanced DashboardScreen to navigate to the new directory page.
- Created ContactDetailScreen for displaying detailed contact information.
- Developed DirectoryMainScreen for managing and displaying contacts.
- Added dependencies for font_awesome_flutter and flutter_html in pubspec.yaml.
2025-07-02 15:57:39 +05:30
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
ef60677c98 feat: Update default selected range to '15D' in DashboardController 2025-06-23 17:48:49 +05:30
f7fcad2992 feat: Improve project ID handling and enhance attendance chart data observation 2025-06-23 15:36:40 +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
4ba30145ef feat: Update loading state initialization and remove unused fetchProjects method 2025-06-19 12:32:35 +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
58a66546e4 fix: Simplify image picking logic by removing null check for pickedFiles 2025-06-18 12:18:25 +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
602d8a8dc9 feat: Update reportTask method to return success status and improve loading state handling in ReportTaskBottomSheet 2025-06-12 23:27:50 +05:30
59e6634023 feat: Refactor project selection handling in attendance actions and controllers 2025-06-12 23:18:58 +05:30
8e47d28005 feat: Add getGlobalProjects method and update project fetching logic 2025-06-12 22:06:59 +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
4022197b7f feat: Remove automatic selection of the first project after fetching projects 2025-06-12 20:26:41 +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
1f784d96f4 feat: Enhance image handling in task reporting and commenting with compression and content type detection 2025-06-12 18:00:31 +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
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
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
18987aa97a feat: Update navigation logic in LoginController to redirect to home page after MPIN check 2025-06-10 16:33:32 +05:30
a2a7eb84b0 feat: Update password validation to require a minimum length of 6 characters 2025-06-10 15:43:44 +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
deff7aea7d feat: Add contact picking functionality in employee form and update dependencies 2025-06-04 12:44:27 +05:30
d7680df3a9 fix: Update validation for completed work to allow zero as a valid input 2025-06-04 11:18:07 +05:30
52fbd88252 fix: Refactor login controller to improve form initialization and credential handling 2025-06-03 15:32:47 +05:30
a844c758b0 fix: Add country selection and phone number validation in employee form 2025-06-03 15:04:53 +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
08991f2095 refactor: Improve LoginController and LoginScreen structure and readability 2025-05-31 10:43:39 +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
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
6ca5ce43aa Enhance AttendanceController: add separate loading states for projects, employees, attendance logs, and regularization logs; adjust default date range logic; improve date range picker functionality, restricted todays date selection 2025-05-21 17:42:29 +05:30
c6f45b8852 Remove unused UI screens: ModalScreen, NotificationScreen, TabsScreen, ToastMessageScreen 2025-05-21 16:45:46 +05:30