Commit Graph
151 Commits
Author SHA1 Message Date
shancheas 532e30672e feat: enhance packing slips module with new action and language support
- 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.
2026-08-31 16:02:40 +07:00
shancheas 71046973ae feat: add currency input field and enhance currency formatting utilities
- 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.
2026-08-31 15:36:53 +07:00
shancheas efe321ca2f feat: implement payable invoice functionality and enhance invoice processing
- 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.
2026-08-31 15:14:58 +07:00
shancheas 5a6b109a89 feat: refactor option loading functions to support active status filtering
- 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.
2026-08-31 15:05:48 +07:00
shancheas c0d08df82b fix: update import paths for packing slips module to reflect new directory structure
- 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.
2026-08-31 14:42:02 +07:00
shancheas 67e1e0a74f feat: integrate Playwright for E2E testing and enhance testing framework
- 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.
2026-08-31 11:52:27 +07:00
shancheas 166e0d40ac feat: introduce archify skill for generating architecture diagrams
- 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.
2026-08-31 11:31:29 +07:00
shancheas 050fafd731 feat: implement packing slips module with comprehensive functionality
- 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.
2026-08-31 09:35:31 +07:00
shancheas 15efa358f9 feat: implement sales invoices module with comprehensive functionality
- 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.
2026-08-27 17:43:34 +07:00
shancheas 133e73a070 feat: enhance employee management with purpose-based configurations and improved routing
- 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.
2026-08-27 15:10:42 +07:00
shancheas b21d647c8b feat: implement coming soon pages and enhance menu structure
- 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.
2026-08-27 13:45:23 +07:00
shancheas 6b012a6aae refactor: improve code formatting and organization across multiple components
- 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.
2026-08-27 13:09:57 +07:00
shancheas 105cf3030a feat: implement privilege permissions table and enhance user detail views
- 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.
2026-08-27 12:22:27 +07:00
shancheas eadd4e3c81 feat: enhance user entity and transformer with employeeId support
- 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.
2026-08-27 11:06:08 +07:00
shancheas b22ce99840 feat: introduce users management module with CRUD functionality
- 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.
2026-08-27 10:35:50 +07:00
shancheas 4d9c83ee83 feat: implement sales management module with product and order 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.
2026-08-26 15:29:46 +07:00
shancheas ee6c3273d9 feat: enhance weekdays management with tabbed interface and improved layout
- 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.
2026-08-26 12:09:12 +07:00
shancheas 27dfc167d2 feat: implement location management with interactive maps
- 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.
2026-08-26 07:56:04 +07:00
shancheas 5287da918c feat: introduce employees and logistics management modules
- 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.
2026-08-26 07:34:03 +07:00
shancheas 73d84f3874 feat: add configuration module for managing branches, divisions, and customers
- 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.
2026-08-25 22:56:07 +07:00
shancheas a5a42cf87e feat: add privileges management module with CRUD functionality
- 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.
2026-08-25 19:06:50 +07:00
shancheas 67ae5b6c11 refactor: improve code formatting and consistency across multiple files
- 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.
2026-08-25 17:50:48 +07:00
Firman Ramdhani e0d55dae13 fix: prevent menu closure when switching language in user dropdown
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.
2026-08-04 16:47:53 +07:00
Firman Ramdhani dd3330da5e fix: prevent menu closure when switching language in user dropdown
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.
2026-08-04 16:45:12 +07:00
Firman Ramdhani 065bf70703 chore: add inline documentation for toggling history and bookmark features in module layouts 2026-08-03 12:57:20 +07:00
Firman Ramdhani 26c5a6faaa feat: implement AuthPageGuard and GlobalCredentialChecker to enforce session management and token validation 2026-08-03 12:42:09 +07:00
Firman Ramdhani 9e30c8a5e5 refactor: consolidate individual system pages into a single reusable StatusPage component 2026-08-03 11:20:45 +07:00
Firman Ramdhani bfea7e7773 refactor: migrate and reorganize frontend module structures across web applications 2026-07-31 17:51:26 +07:00
Firman Ramdhani c9c5b2c86e refactor: implement enterprise storage provider 2026-07-31 14:20:01 +07:00
Firman Ramdhani 0c4450ae25 refactor: standardize theme colors, update UI components, and refine auth redirection logic 2026-07-31 12:00:46 +07:00
Firman Ramdhani 2c8c9d22b4 refactor: standardize theme colors, update UI components, and refine auth redirection logic 2026-07-31 11:49:09 +07:00
Firman Ramdhani 61adbd4dac core: change base font size sm at density compact 2026-07-31 07:00:33 +07:00
Firman Ramdhani c033befca4 feat: setup auth schema 2026-07-30 16:53:29 +07:00
Firman Ramdhani fdbc5dfe99 feat: setup auth schema 2026-07-30 16:43:27 +07:00
Firman Ramdhani fcea8f221b feat: implement @repo/brand package for centralized asset management and automated distribution to consuming apps 2026-07-29 12:27:27 +07:00
Firman Ramdhani abce00ca47 feat: UI login page 2026-07-27 22:57:16 +07:00
Firman Ramdhani b55606817c refactor: simplify form draft key generation 2026-07-27 21:58:18 +07:00
Firman Ramdhani 0f5a1ef1d1 feat: implement sidebar menu persistence using zustand 2026-07-27 17:45:57 +07:00
Firman Ramdhani 75e0424e36 feat: implement persistent AG Grid column state 2026-07-27 17:02:58 +07:00
Firman Ramdhani a2616f2b2d feat: refine sidebar icon styling 2026-07-27 16:44:05 +07:00
Firman Ramdhani c8852ce094 refactor: remove unused imports from index.tsx and render-date.tsx 2026-07-27 14:22:28 +07:00
Firman Ramdhani a1a82c5307 feat: implement RouterProvider, add draft mode mechanisms, update storage keys, and refactor module transformation logic. 2026-07-27 14:17:42 +07:00
Firman Ramdhani e2872a3d18 fix: enhance 401 error handling by redirecting to login with current path 2026-07-27 12:34:48 +07:00
Firman Ramdhani 0f9b44e70f refactor: replace localStorage with appStorage for token management in apiClient 2026-07-27 12:29:44 +07:00
Firman Ramdhani 94fc29722c refactor: replace secure storage with app storage across components and hooks 2026-07-27 12:23:46 +07:00
Firman Ramdhani 5f97c6b2b0 feat: implement full page components and validation schema; enhance translations and form handling 2026-07-27 11:52:40 +07:00
Firman Ramdhani db1abcbdd4 refactor: remove single-page module and related components 2026-07-27 11:15:56 +07:00
Firman Ramdhani e55c33069b feat(i18n): add "save_changes" translations for English and Indonesian
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
2026-07-27 11:14:15 +07:00
Firman Ramdhani 1812f7c585 refactor: update icons and improve action visibility in row and bulk action menus 2026-07-23 18:29:40 +07:00
Firman Ramdhani e99aeb6def refactor: remove unused showcase components and related files
- 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.
2026-07-23 17:23:05 +07:00