159 Commits

Author SHA1 Message Date
Vaibhav Surve
aac65104ab refactor(logging): remove sensitive flag from logSafe calls across multiple controllers and services 2025-07-09 11:35:35 +05:30
Vaibhav Surve
a9067bd407 feat(comment-editor): disable list buttons and adjust layout for improved usability 2025-07-08 17:57:53 +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
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
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
Vaibhav Surve
83ad10ffb4 feat: update UI components for improved consistency and add tab indicator styling 2025-07-03 13:22:04 +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
e71e4d633a feat: Implement JWT token expiration handling and refresh logic in ApiService 2025-06-23 17:35:50 +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
ef6521faa2 feat: Implement loading skeletons in dashboard and layout screens for better UX 2025-06-19 15:35:09 +05:30
d1305e1dba feat: Increase default timeout duration for API requests from 10 to 30 seconds 2025-06-19 11:39:52 +05:30
f834422c4e feat: Increase timeout duration for API requests and update relevant calls 2025-06-19 11:26:42 +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
d765b96df4 feat: Refactor user data fetching to use base URL from ApiEndpoints for improved maintainability 2025-06-13 11:01:05 +05:30
0ad8847b94 feat: Update application ID in build.gradle and refactor imports and methods in service files for improved clarity and organization 2025-06-13 10:51:23 +05:30
8e47d28005 feat: Add getGlobalProjects method and update project fetching logic 2025-06-12 22:06:59 +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
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
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
0b8a5364ae fix: Comment out unused base URL in API service files and update login redirection path 2025-06-06 12:25:12 +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
19e705f428 Refactor DailyTask and ReportTask screens for improved UI and functionality; update project selection and team member display logic. 2025-05-16 16:53:09 +05:30
f9a2966292 Fix API endpoint for creating an employee by updating the URL to the correct path 2025-05-16 16:33:31 +05:30
628aaa0387 Add comment task feature with API integration and UI updates 2025-05-13 17:02:31 +05:30
a41459f16b Add Report Task feature with controller, model, and UI integration 2025-05-12 16:27:38 +05:30
db0b525e87 Add Daily Task feature with controller, model, and UI integration
- Implement DailyTaskController for managing daily tasks and fetching projects.
- Create TaskModel to represent task data structure.
- Develop DailyTaskScreen for displaying tasks with filtering options.
- Update routes to include Daily Task navigation.
- Enhance DashboardScreen to link to Daily Task.
- Add Daily Task option in the left navigation bar.
2025-05-12 11:13:22 +05:30
23de99432a Enhance attendance functionality by adding optional markTime parameter in uploadAttendanceImage method, and refactor attendance button logic using AttendanceButtonHelper for improved readability and maintainability. 2025-05-10 15:19:36 +05:30
eeddee5168 Refactor loading animation in LoadingComponent to use SingleChildScrollView for better layout handling 2025-05-09 10:49:34 +05:30
1ea960b0ec Add employee management features including controller, models, and UI
- Implemented AddEmployeeController for handling employee creation logic.
- Created EmployeeScreen and AddEmployeeScreen for employee management UI.
- Added API endpoints for fetching and creating employees.
- Updated EmployeeModel to include additional fields: jobRole, email, and phoneNumber.
- Refactored MyRefreshWrapper to MyRefreshableContent for consistency.
- Enhanced navigation to include employee management routes.
2025-05-09 09:58:44 +05:30
1ea8447d6c seperated the api service 2025-05-07 10:38:07 +05:30
defd753ab0 made chnages into attendence screen 2025-05-06 17:47:43 +05:30
e841824f8f enhanced refresh token handelling 2025-05-06 10:50:45 +05:30
2a91ccc323 added loggers 2025-05-05 16:56:58 +05:30
3b7dfd09ff displayed only accesable projects 2025-05-05 13:09:59 +05:30
0ac896e933 made int type chnages for guid 2025-05-05 10:55:37 +05:30
70943aad01 handelled the left bar employee names 2025-05-03 12:08:25 +05:30
bf003bac63 handelled the requests 2025-05-03 10:58:22 +05:30
4207e235e5 added loading componant 2025-05-02 15:27:19 +05:30