- Introduced new functions for loading and managing plan document options, improving user experience in selecting documents based on customer context.
- Implemented grouping of documents by customer in the `FormDocumentsPreview` component, enhancing clarity in document displays.
- Updated validation schemas to ensure proper handling of document associations with selected customers, preventing invalid selections.
- Added unit tests for new functionalities, ensuring reliability and correctness in document management.
- Enhanced language support for user prompts related to document selection, improving overall usability.
These changes significantly improve the handling of plan documents within the application, streamlining user interactions and ensuring data integrity.
- Added a new report engine UI, including configuration-driven report screens for sales and logistics.
- Created `ReportProvider`, `ReportTable`, and related components for rendering reports with server-side data fetching.
- Introduced `logisticsReportsModuleConfig` and `salesReportsModuleConfig` for managing report configurations and API interactions.
- Updated navigation to include sales and logistics reports with proper labels and paths.
- Enhanced language support for report titles in English and Indonesian.
- Implemented bookmark and filter functionalities for reports, improving user interaction and data management.
These changes establish a robust reporting framework, enhancing the application's data visualization capabilities and user experience.
- Introduced `useSidebarStore` for managing sidebar state, including opened keys and initialization logic.
- Added utility functions `getAllParentKeys`, `shouldShowMenuChildren`, and `getVisibleMenuKeys` to enhance sidebar functionality.
- Created unit tests for the sidebar store and utility functions to ensure correct behavior and state management.
- Updated `sidebar.tsx` to utilize the new utility functions for improved menu item rendering.
These changes enhance the sidebar's functionality and state management, providing a better user experience in navigating the application.
- Updated various components to utilize `FieldCurrencyInput` for quantity inputs, improving user experience in financial data entry.
- Introduced `formatDecimal` utility for consistent decimal formatting across the application, ensuring accurate display of numeric values.
- Refactored quantity handling in forms and tables to support decimal values, enhancing data integrity and usability.
- Added unit tests for new decimal formatting functionality to ensure reliability and correctness.
These changes improve the sales module's handling of numeric inputs and displays, providing a more user-friendly experience for managing financial data.
- Added `FormCustomersPreview` and `FormDocumentsPreview` components to display customer and document information in the plan form.
- Implemented customer location handling in the validation schema to ensure proper data representation.
- Updated the `FormGeneral` component to integrate the new previews, improving user experience during plan creation.
- Added unit tests for new functionalities to ensure reliability and correctness.
- Enhanced language support for preview sections in both English and Indonesian.
These changes improve the plan form's usability by providing clear previews of customers and documents, streamlining the planning process.
- Added "Process" action to the packing slips module, allowing users to transition packing slips from draft to processed status.
- Updated English and Indonesian language files to include the new "Process" action, improving user experience and consistency across languages.
- Refactored sales status handling to accommodate the new action, ensuring proper workflow integration.
These changes enhance the packing slips functionality by providing additional actions and improving language support, streamlining user interactions.
- Introduced `FieldCurrencyInput` component for handling currency input in forms, supporting formatted display while maintaining numeric values.
- Implemented `RenderCurrency` component for displaying currency values with proper formatting.
- Enhanced `CurrencyUtils` to include parsing and formatting functions for Rupiah, ensuring accurate representation in UI.
- Updated various components and forms to utilize the new currency input and rendering capabilities, improving user experience in financial data entry.
- Added unit tests for currency input and formatting functionalities to ensure reliability and correctness.
These changes enhance the application's handling of currency inputs and displays, providing a more user-friendly experience for financial transactions.
- 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.
- Clarified the transition from Draft to Processed in the sales workflow, specifying that it can occur through both invoice addition to the sales plan and manual triggers.
- Improved formatting in the Core App Shell documentation by separating tips and warnings into distinct lines for better readability.
These changes enhance the documentation's clarity and usability, aiding developers in understanding the workflow and component usage.
- 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.
- Introduced new utility functions for handling server-side pagination, including `resolveServerSideInitialRowCount` and `shouldRestorePaginationPage`.
- Updated `EnterpriseDataTable` to utilize these utilities for improved pagination behavior, ensuring proper row count handling and page restoration.
- Added a new test file for the pagination utilities to validate their functionality and ensure reliability.
- Modified navigation logic to reset pagination state after creating or duplicating entries, enhancing user experience.
These changes improve the data table's handling of server-side pagination, ensuring a smoother experience when navigating through data entries.
- 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 skill for managing index and list table layouts in the ERP project, detailing layout and data contracts.
- Updated project guidelines to reference the new index layout skill.
- Introduced rules for page composition, column definitions, audit fields, action column width, and toolbar functionality.
- Created utility functions for computing action column width and formatting audit fields, along with corresponding unit tests to ensure reliability.
These changes enhance the application by providing a structured approach to index layouts, improving consistency and usability across the ERP project.
- 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.
- Added a new `api.md` file detailing the TrackGo HTTP API, including agent rules, authentication mechanisms, and global HTTP contracts.
- Established a new RBAC (Role-Based Access Control) framework in `web-rbac.mdc` to ensure all product modules in `apps/web` are gated by permissions from `GET /auth/me`.
- Updated security and web module architecture rules to incorporate RBAC requirements, ensuring consistent application of permissions across modules.
This commit enhances the project's API clarity and security by providing a structured approach to user permissions and interactions.
- 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.
- Added .cursor/sessions/* to .gitignore to prevent session files from being tracked.
- Enhanced coding standards in SKILL.md by adding semicolons to TypeScript examples for consistency.
- Improved formatting in continuous learning, detail layout, and other SKILL.md files for better readability.
These changes aim to streamline development processes and maintain code quality across the project.
- Introduced coding standards for TypeScript and React in SKILL.md.
- Added continuous learning skill with configuration and evaluation scripts.
- Created detail layout guidelines for read-only pages.
- Established form layout rules for data-entry forms.
- Documented project guidelines for the frontend monorepo.
- Implemented security review checklist for frontend/Electron applications.
- Developed a verification loop skill for comprehensive session checks.
This commit enhances the skill set available for developers, ensuring adherence to best practices and improving code quality.