Commit Graph
140 Commits
Author SHA1 Message Date
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
Firman Ramdhani 94e7b99712 refactor: remove unused DataTable component and clean up filter logic in FullPagePageIndex 2026-07-23 16:50:09 +07:00
Firman Ramdhani fa119deec2 feat: add configurable data table filtering and update API endpoints for the example module 2026-07-23 13:24:08 +07:00
Firman Ramdhani f70aa9d29e feat: enhance full page functionality with updated translations, improved pagination handling, and new bulk action components 2026-07-22 10:56:26 +07:00
Firman Ramdhani a761ba05c9 feat: implement bulk action framework, expand data table component, and update enterprise module configuration. 2026-07-20 17:03:25 +07:00
Firman Ramdhani f2cff7699a fix: update cSpell.words in settings.json and improve code formatting in various files 2026-07-20 14:18:33 +07:00
Firman Ramdhani 6a11ed2420 fix: update module configuration imports to use lowercase variable names for consistency 2026-07-20 14:12:04 +07:00
Firman Ramdhani dd18787ee7 refactor: integrate Zustand store into EnterpriseModuleProvider and update module configurations to use store-based state management 2026-07-20 14:09:46 +07:00
Firman Ramdhani d089c40707 feat: integrate AG Grid with Mantine theme and add showcase component 2026-07-20 11:48:47 +07:00
Firman Ramdhani d004836615 fix: remove highlightDataKey from EnterpriseDetailPageProvider in FullPagePageDetail 2026-07-16 11:28:55 +07:00
Firman Ramdhani 546bdfee49 fix: rename getCustomStatusConfig to getCustomStatusBadgeConfig in EnterpriseDetailPageProvider 2026-07-16 11:27:15 +07:00
Firman Ramdhani 9b09938a50 Refactor i18n structure and update language files
- Removed old validation and common language files for English and Indonesian.
- Created new language files for English and Indonesian under the updated directory structure.
- Updated setup to reflect new language file paths and changed default language to English.
- Modified storage keys from 'locale' to 'language' for consistency.
- Added new language files for various modules including bookmarks, history, navigation, and system settings.
- Introduced new booking module language files for both English and Indonesian.
- Implemented a login page component with basic structure.
2026-07-16 10:35:08 +07:00