- Introduced `isPayableInvoice` utility to determine the payability of invoices based on status and balance.
- Updated sales invoice detail page to conditionally create payment actions for payable invoices.
- Refactored form allocations to load only payable sales invoices, improving data integrity in payment forms.
- Enhanced sales payment form to validate invoice payability before processing.
- Added unit tests for `isPayableInvoice` to ensure accurate functionality.
- Updated sales status transitions to allow draft invoices to be processed or cancelled, improving workflow flexibility.
These changes enhance the sales invoicing process by ensuring that only valid invoices are processed for payments, improving overall user experience and data management.
- Updated `loadDivisionOptions`, `loadBranchOptions`, `loadCustomerOptions`, `loadEmployeeOptionsForPurpose`, and `loadProductOptions` to utilize the new `createOptionLoader` function with active status parameters.
- Introduced `ACTIVE_LOOKUP_PARAMS` to streamline the inclusion of additional parameters in option loading.
- Added unit tests for `createOptionLoader` and new utility functions for managing product options, ensuring robust functionality and reliability.
These changes enhance the option loading mechanism across various modules, improving data retrieval and filtering capabilities.
- Adjusted import statements in various files within the packing slips module to correct the paths to shared entities and components.
- Ensured consistency in the import structure across the module, improving maintainability and reducing potential import errors.
These changes enhance the organization of the packing slips module by aligning import paths with the updated directory structure.
- Added Playwright for end-to-end testing in the `apps/web` module, including a new `login.spec.ts` for testing login functionality.
- Updated package.json to include Playwright dependencies and new test commands for E2E testing.
- Enhanced .gitignore to exclude Playwright test results and reports.
- Modified existing documentation to reflect the integration of Playwright and updated testing guidelines.
- Refactored test commands to streamline the testing process, including a dedicated command for E2E tests.
These changes improve the testing framework by providing robust E2E testing capabilities, enhancing the reliability and quality of the application.
- Added a new Archify skill, enabling users to create polished architecture, workflow, sequence, data-flow, and lifecycle diagrams.
- Implemented comprehensive functionality including rendering, validation, and delivery of diagrams in various formats.
- Integrated a user-friendly command-line interface for generating and previewing diagrams.
- Developed supporting files including package.json, LICENSE, and SKILL.md for documentation and licensing.
- Added unit tests to ensure reliability and functionality of the new skill.
These changes enhance the application by providing a structured approach to visualizing system architecture and workflows, improving user experience and data representation.
- Introduced a new Packing Slips module, including routes for creating, editing, and viewing packing slips.
- Added components for packing slip forms, detail views, and index pages, enhancing user experience and data management.
- Integrated language support for English and Indonesian in the packing slips module.
- Developed remote data services and transformers for handling packing slip data, ensuring robust data operations.
- Implemented unit tests to validate functionality and reliability across the new module.
These changes enhance the application by providing a structured approach to packing slip management, improving user experience and data handling.
- Introduced a new Sales Invoices module, including routes for creating, editing, and viewing sales invoices.
- Added components for invoice forms, detail views, and index pages, enhancing user experience and data management.
- Integrated language support for English and Indonesian in the sales invoices module.
- Developed remote data services and transformers for handling sales invoice data, ensuring robust data operations.
- Implemented unit tests to validate functionality and reliability across the new module.
These changes enhance the application by providing a structured approach to sales invoice management, improving user experience and data handling.
- Refactored employee management components to support purpose-based configurations for sales and logistics.
- Updated routing to dynamically load employee modules based on the selected purpose, improving modularity and code organization.
- Introduced new utility functions for handling employee positions and module configurations, enhancing flexibility in employee data handling.
- Enhanced form components to conditionally render based on the purpose, improving user experience and data entry accuracy.
- Added unit tests to validate new functionalities and ensure reliability across employee management features.
These changes improve the employee management experience by providing a more tailored approach to handling employee data based on specific business needs.
- Added a new ComingSoonPage component for displaying a status page for features that are not yet available.
- Integrated the ComingSoonPage into the sales and logistics modules for routes such as invoices, payments, packing slips, and reports.
- Updated the MENU_ITEMS structure to include new nested items for sales and logistics, enhancing the organization of the menu.
- Introduced placeholder functionality in the menu to manage visibility of items that are not yet available.
- Updated navigation labels in both English and Indonesian to reflect new menu items and improve user experience.
These changes enhance the application's navigation and user experience by clearly indicating upcoming features and improving menu organization.
- Enhanced readability by restructuring code formatting in various components, including API documentation, user management, and sales modules.
- Standardized table and object definitions for better clarity in API documentation.
- Improved layout and indentation in React components for better maintainability.
- Updated unit tests to reflect changes in formatting and ensure consistency.
These changes enhance the overall code quality and maintainability of the project, making it easier for developers to navigate and understand the codebase.
- Added a new PrivilegePermissionsTable component to display permissions associated with user privileges in a structured format.
- Refactored DetailPermissions and UserPageDetail components to utilize the new PrivilegePermissionsTable for better organization of privilege information.
- Introduced employeeId support in user management, allowing for enhanced user detail views and improved data handling.
- Updated validation schemas and unit tests to accommodate new employee and privilege relationships.
These changes improve the user management experience by providing clearer visibility into user privileges and associated employee details.
- Added employeeId field to UserEntity and UserDto interfaces for better user management.
- Updated UsersRemoteDataTransformer to handle employeeId mapping and transformation.
- Enhanced unit tests to validate employeeId handling and added new test cases for audit actor UUIDs.
- Modified user page index to display employeeId alongside employee details.
These changes improve the user management module by providing additional employee identification capabilities, enhancing data handling and user experience.
- Added a new Users module, including routes for creating, editing, and viewing user details.
- Implemented UI components for user forms and detail views, with validation schemas for user data.
- Integrated language support for English and Indonesian in the users module.
- Developed unit tests for user remote data services and transformers to ensure functionality and reliability.
These changes enhance the application by providing a structured approach to user management, improving user experience and data handling.
- Introduced a new Sales module, consolidating routes for managing sales requests and orders.
- Added a Products module for handling product details, including creation, editing, and viewing functionalities.
- Implemented UI components for product forms and detail views, with validation schemas for product data.
- Integrated language support for English and Indonesian in the new modules.
- Developed unit tests for sales and product remote data services and transformers to ensure functionality and reliability.
These changes enhance the application by providing a structured approach to sales management, improving user experience and data handling.
- Refactored `DetailWeekdays` and `FormWeekdays` components to utilize a tabbed interface for better organization of weekday-related information.
- Introduced `FieldValue` components for displaying start and end branches, and customer details within each tab.
- Added a new CSS file for managing z-index stacking context to ensure Leaflet maps render correctly beneath modals.
- Updated `LocationMap` and `RouteMap` components to include the new CSS for proper layering.
- Enhanced unit tests for `LocationMap` to verify the correct stacking context.
These changes improve the user experience by providing a more structured and visually appealing way to manage weekdays and their associated data.
- Introduced a new `LocationMap` component for handling latitude and longitude inputs in forms and detail views.
- Updated form and detail components to utilize the `LocationMap`, enhancing user experience by allowing map-based location selection.
- Added internationalization support for map-related labels in English and Indonesian.
- Developed unit tests for the `LocationMap` to ensure functionality and reliability.
This commit enhances the application by providing a user-friendly interface for managing geographical locations, improving data accuracy and user interaction.
- Added new modules for managing employees and logistics, including routes for creating, editing, and viewing employee details and logistics cycles.
- Implemented UI components for employee forms and detail views, with validation schemas for employee data.
- Integrated language support for English and Indonesian in the new modules.
- Developed unit tests for employee remote data services and transformers to ensure functionality and reliability.
This commit enhances the application by providing structured management for employees and logistics, improving user experience and data handling.
- Introduced a new Configuration module with routes for managing branches, divisions, and customers.
- Implemented UI components for creating, editing, and viewing branch details, including general information, location, and working schedule.
- Added validation schemas for branch data and integrated language support for English and Indonesian.
- Developed comprehensive unit tests for the branches remote data service and transformer to ensure functionality and reliability.
This commit enhances the application by providing a structured approach to configuration management, improving user experience and data handling.
- Introduced a new Privileges module, including routes for creating, editing, and viewing privileges.
- Implemented a detailed permissions matrix for managing actions (view, create, update, delete, import) associated with each privilege.
- Added validation schema for privilege creation and editing.
- Developed UI components for displaying and managing privilege details and permissions.
- Integrated language support for English and Indonesian in the privileges module.
- Created unit tests for the privileges remote data service and transformer to ensure functionality.
This commit enhances the application by providing a comprehensive privileges management system, improving user role management and permissions handling.
- Standardized import statements and removed unnecessary line breaks for better readability in various components.
- Enhanced error handling and logging in the useElectronPrinter hook.
- Updated sample data formatting in AgGridShowcase for improved clarity.
- Refactored JSX elements for consistent indentation and structure in LandingSample, AuthPage, and EventsPage components.
- Consolidated and simplified conditional rendering logic in several components.
These changes aim to enhance code maintainability and readability throughout the project.
Set comboboxProps={{ withinPortal: false }} on the language Select
inside Menu.Dropdown so its option list renders inside the Menu's DOM
tree rather than a portal. This prevents the Menu from treating option
clicks as outside interactions and closing before changeLanguage fires.
Set comboboxProps={{ withinPortal: false }} on the language Select
inside Menu.Dropdown so its option list renders inside the Menu's DOM
tree rather than a portal. This prevents the Menu from treating option
clicks as outside interactions and closing before changeLanguage fires.
fix(validation): improve Indonesian validation messages for clarity
refactor(ui): optimize useAsyncPaginate hook for better readability
fix(data-table): enhance error handling with detailed messages in EnterpriseDataTable
feat(enterprise-module): add form control to EnterpriseFormPageConfig and implement save confirmation modal
refactor(form-page): streamline form page context and improve save handling logic
feat(index-page): set document title based on config or translation key
refactor(module-provider): clean up comments and improve code organization
- Deleted PouchSample component and its associated logic for PouchDB data handling.
- Removed PrinterList component and its integration for printer management.
- Eliminated registry.ts for component registration, simplifying the showcase structure.
- Cleaned up ShellDemo component, removing unnecessary layout controls and demo configurations.
- Removed ShowcaseView component, consolidating the showcase functionality.