100 Commits
Author SHA1 Message Date
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 c1d5e301f3 rename web/desktop packages to pos-web/pos-desktop and 2026-07-31 14:20:07 +07:00
Firman Ramdhani c9c5b2c86e refactor: implement enterprise storage provider 2026-07-31 14:20:01 +07:00
Firman Ramdhani 90e1bc2ea0 refactor: standardize theme colors, update UI components, and refine auth redirection logic 2026-07-31 13:32:06 +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 0470101fde refactor: standardize theme colors, update UI components, and refine auth redirection logic 2026-07-31 11:54:42 +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 f91bbefddc chore: adjustment status badged color 2026-07-31 11:09:44 +07:00
Firman Ramdhani 8ae2772f78 feat: adjustment TYPOGRAPHY SCALES 2026-07-31 07:29:48 +07:00
Firman Ramdhani 93ec37f361 feat: adjustment theme css for update TYPOGRAPHY SCALES 2026-07-31 07:16:53 +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 8a6a16ce9a feat: export notification and modal component from ui 2026-07-30 13:39:31 +07:00
Firman Ramdhani c7ed85378b remove product-site application and its related assets from the repository 2026-07-29 17:28:36 +07:00
Firman Ramdhani 5f87a9f2e3 feat: centralize brand information in package data and integrate dynamically into contact and footer sections 2026-07-29 16:44:16 +07:00
Firman Ramdhani 90dea678dd refactor: enable re-triggering of ecosystem section animations by resetting states and clearing timeouts on intersection exit 2026-07-29 15:56:26 +07:00
Firman Ramdhani db57a22a09 feat: add product section components and integrate them into the homepage landing page 2026-07-29 15:50:27 +07:00
Firman Ramdhani b43df8f35b refactor: transition navigation to a persistent fixed-wrapper layout with improved scroll-based floating state styles 2026-07-29 15:42:39 +07:00
Firman Ramdhani 6506122033 feat: add nextjs-agent-rules documentation for product-site 2026-07-29 15:30:33 +07:00
Firman Ramdhani eb63a48047 feat: initialize product-site app with Next.js, i18n routing, and custom brand configurations 2026-07-29 15:29:35 +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 a01b0c1339 feat: update ag grid theme 2026-07-27 18:01:22 +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 ca0c57277a fix: update default search key in EnterpriseDataTable component 2026-07-27 12:04:52 +07:00
Firman Ramdhani 3dcc084dfc feat: enhance styling for action buttons in detail and form page providers 2026-07-27 12:03:01 +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 b332da4808 feat: enhance confirmation dialogs and form error handling; add new utility functions 2026-07-24 16:21:27 +07:00
Firman Ramdhani b7e9af9b07 feat: add custom postfix column support and date formatting in EnterpriseDataTable 2026-07-24 13:52:36 +07:00
Firman Ramdhani 1e082a20cc refactor: replace icons and adjust text sizes in SummaryPanel component 2026-07-23 18:38:30 +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 7132ebc025 refactor: comment out unused TableSettingDrawer import in data table component 2026-07-23 17:31:04 +07:00
Firman Ramdhani 56cb8d9103 fix(docs): update paths in configuration and core app shell documentation 2026-07-23 17:26:51 +07:00
Firman Ramdhani 980952252d feat(showcase): add PouchDB sample component and storage page
- Implemented PouchSample component for managing POS configurations and item inventories using PouchDB.
- Created StoragePage to encapsulate the PouchSample component.
- Added UI components page with various UI elements including buttons, forms, and data grids.
- Defined Electron type declarations for printing and auto-update functionalities.
- Extended event registry with custom application events for printing and stock updates.
- Configured Vite for the showcase application with React and Tailwind CSS support.
- Updated package.json and pnpm-lock.yaml to include necessary dependencies for the showcase app.
2026-07-23 17:26:41 +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 8f2eecd8ae refactor: remove unused SummaryPanel component from BulkActionConfirmationModal 2026-07-23 15:59:11 +07:00
Firman Ramdhani 79b291cf74 refactor: improve code readability by formatting and restructuring useRef and useCallback hooks in EnterpriseDataTable component 2026-07-23 15:58:08 +07:00
Firman Ramdhani 9a8d94cd98 feat: update full-page module endpoint and transformer logic, optimize data-table search clearing, and hardcode auth token for development 2026-07-23 15:33:55 +07:00
Firman Ramdhani d69549b747 feat: implement server-side search, filter state management, and clearable inputs for data tables with associated API transformer updates. 2026-07-23 15:12:49 +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 ddf11741e9 feat: enhance data-table with search, filter/setting drawers, and updated UI controls 2026-07-23 12:30:39 +07:00
Firman Ramdhani 4e13423409 feat: implement bulk action confirmation modal and related functionality
- Updated request methods for batch operations in constants.ts to use PUT instead of POST.
- Added new translation keys for bulk actions in English and Indonesian language files.
- Created BulkActionConfirmationModal component to handle bulk lifecycle actions with progress tracking and summary display.
- Introduced SummaryPanel component to show aggregated results of bulk actions.
- Enhanced BulkActionMenu to support custom bulk actions and improved action handling based on selected rows.
- Integrated bulk action handling in EnterpriseDataTable, allowing for batch processing of selected entities.
- Added new types for bulk action modal state and results in entity.ts.
- Exported BulkActionConfirmationModal from the module index for accessibility.
2026-07-23 11:47:23 +07:00
Firman Ramdhani 0243b6aa96 feat: enhance internationalization with new translation keys, improve action handling in data tables, and add responsive view support for row actions 2026-07-22 15:35:39 +07:00
Firman Ramdhani 9a1422ef28 feat: add fields translations to common.json and enhance EnterpriseDataTable with status column and StatusBadge component 2026-07-22 13:42:28 +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 058a571866 feat: add EnterpriseDataTable component, integrate standard pagination, and update AgGridProvider for enhanced data handling 2026-07-21 18:52:37 +07:00
Firman Ramdhani bd88ed53a4 refactor: integrate standard pagination, update payment methods API, and replace custom data table with EnterpriseDataTable component 2026-07-20 17:04:04 +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 7cec05464a feat: update API endpoint, add hardcoded auth token, and configure detail page highlight key 2026-07-20 15:15:01 +07:00
Firman Ramdhani ac049c7cf7 feat: update API endpoint, mock auth token, adjust meta schema, and add detail page highlight key 2026-07-20 14:47:35 +07:00
Firman Ramdhani 84ea3c5b3e feat: standardize pagination and response structure for API data services 2026-07-20 14:46:27 +07:00
Firman Ramdhani efa1c086a0 feat: add transformPayloadFilter method to IDataTransformer and integrate it in getMany for filter transformation 2026-07-20 14:29:20 +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 853769b1f8 feat: add StatusBadge component with configurable status display 2026-07-16 11:36:17 +07:00
Firman Ramdhani d004836615 fix: remove highlightDataKey from EnterpriseDetailPageProvider in FullPagePageDetail 2026-07-16 11:28:55 +07:00
Firman Ramdhani a4240643ec fix: rename getCustomStatusConfig to getCustomStatusBadgeConfig in EnterpriseDetailPageConfig 2026-07-16 11:27:28 +07:00
Firman Ramdhani 546bdfee49 fix: rename getCustomStatusConfig to getCustomStatusBadgeConfig in EnterpriseDetailPageProvider 2026-07-16 11:27:15 +07:00
Firman Ramdhani efc8cb44a5 fix: update data extraction in EnterpriseDetailPageProvider and enhance action handling for master data states 2026-07-16 11:21:53 +07:00
Firman Ramdhani ed6e8f31ee fix: update BreadcrumbBar component to correctly assign keys and enhance error handling in EnterpriseDetailPageProvider 2026-07-16 10:51:06 +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
Firman Ramdhani 03eb4a803b fix: update fallback color in getIntentColor function to use theme default 2026-07-15 18:09:37 +07:00
Firman Ramdhani 43f9d3d491 feat: add StatusBadge component and integrate action confirmation modal
- Introduced StatusBadge component for displaying various status indicators with customizable colors and icons.
- Updated ModulePageHeader to conditionally render badges based on props.
- Implemented ActionConfirmationModal for handling lifecycle actions (delete, activate, etc.) with support for forms and custom body rendering.
- Enhanced EnterpriseDetailPageProvider to manage action confirmation modal state and execution of actions.
- Added new modal configurations for various actions in EnterpriseDetailPageConfig.
- Updated theme provider to include ModalsProvider and Notifications for better user feedback.
2026-07-15 17:27:29 +07:00
Firman Ramdhani 7ce4ced7d6 feat: enhance enterprise module with new actions and UI improvements
- Added support for rollback and hold actions in the enterprise module.
- Updated tooltip labels for action buttons to improve user experience.
- Refactored PageActions component to use tooltipLabel instead of shortcutLabel.
- Introduced height prop for system pages (Coming Soon, Forbidden, Maintenance, Not Found) for better layout control.
- Improved ModulePageHeader to accept custom button properties and enhanced title handling.
- Cleaned up default privileges by removing unused actions (ALLOW_DUPLICATE, ALLOW_SAVE).
- Implemented detail page provider with comprehensive action handling for CRUD operations.
- Created a new full-page detail component for better data presentation.
2026-07-15 15:28:58 +07:00
Firman Ramdhani 383e2627e0 feat: add moduleType to configurations, introduce DetailPageProvider, and consolidate macOS detection into module provider context 2026-07-13 15:39:10 +07:00
Firman Ramdhani 0bbd376125 feat: add DataTable component to FullPagePageIndex and remove placeholder content 2026-07-13 14:29:11 +07:00
Firman Ramdhani 56d3803457 refactor: rename withMenuFilter prop to showMenuFilter in SidebarMenu component
style: update text size and color in BookmarkDrawer and HistoryDrawer components
2026-07-13 14:14:35 +07:00
Firman Ramdhani eeab2df2f2 feat: Implement history and bookmark management features
- Added BookmarkDrawer component for managing saved bookmarks.
- Added HistoryDrawer component for viewing and managing browsing history.
- Introduced useHistoryTracker hook to track page visits and sync history across tabs.
- Created HistorySetting and NotificationSetting components for user-configurable settings.
- Implemented IndexedDB storage for bookmarks and history items.
- Added event constants for layout, device, and authentication events.
- Updated localization files for new features in English and Indonesian.
- Enhanced system settings to include history retention configuration.
2026-07-13 14:09:03 +07:00
Firman Ramdhani 164ec284ae feat: implement platform-specific keyboard shortcuts and refactor shortcut data management 2026-07-13 10:17:07 +07:00
Firman Ramdhani ad5be7056a fix: update storage key in theme store to use AppStorageKey.THEME 2026-07-10 23:04:47 +07:00
Firman Ramdhani acd597305a refactor: move theme store to a new directory and update import paths 2026-07-10 23:00:41 +07:00
Firman Ramdhani 2b8f9a9cbc feat: add full page index component with pagination and actions
- Implemented FullPagePageIndex component with mock data for database clusters.
- Added pagination and bulk actions for managing database clusters.
- Created navigation context hooks for detail, edit, duplicate, and create actions.
- Introduced a new store for managing state in full-page and single-page modules.

feat: add navigation localization files

- Added English and Indonesian localization files for navigation menu items.
- Included translations for various modules including CRM, Sales, Supply Chain, and more.

feat: create system information shortcuts component

- Developed Shortcut component to display keyboard shortcuts with search functionality.
- Implemented System component to show placeholder information when system details are unavailable.
- Added localization for shortcuts and system information in English and Indonesian.

feat: implement global theme store

- Created a Zustand store for managing theme color scheme with localStorage persistence.

feat: add module page header component

- Developed ModulePageHeader component for consistent page header across modules.
- Included breadcrumb navigation, title, description, and action buttons.

feat: define default privileges for enterprise module

- Established default privileges for CRUD operations and other actions in the enterprise module.
2026-07-10 22:58:55 +07:00
Firman Ramdhani 430b231360 fix: add meta tag to prevent translation by Google 2026-07-06 15:23:46 +07:00
Firman Ramdhani a43ea0697a feat: internationalize sidebar collapse and expand labels using translation keys 2026-07-06 15:21:04 +07:00
Firman Ramdhani d91293eac1 style: update sidebar search action icon variant from light to subtle 2026-07-06 13:54:17 +07:00
Firman Ramdhani 34d1dff0f6 feat(sidebar): add expand/collapse functionality and search menu with keyboard shortcuts
feat(i18n): add translations for expand/collapse menu and search menu
2026-07-06 13:27:28 +07:00
Firman Ramdhani 3b89200c2b Merge branch 'main' of https://git.eigen.co.id/eigen/fe-monorepo-template into core/page-provider 2026-07-06 12:25:00 +07:00
Firman Ramdhani 9b82d2e47e feat(pouch-service): move toContainsRegex method to PouchService and add listIndexes and explain methods 2026-07-06 11:59:19 +07:00
Firman Ramdhani d1ce292e3c feat(core-storage): add PouchEnvelope tests and LocalStorageService implementation
- Introduced tests for PouchEnvelope to validate envelope-aware CRUD operations using an in-memory PouchDB.
- Implemented LocalStorageService with encryption support for sensitive keys, including tests for setItem, getItem, removeItem, and clear methods.
- Defined a generic storage interface (IStorageService) to enforce type-safe serialization/deserialization across storage implementations.
2026-07-06 11:38:37 +07:00
Firman Ramdhani c9dbe6c204 feat: add system pages for information, notifications, and settings with corresponding navigation and i18n support 2026-07-03 16:27:30 +07:00
Firman Ramdhani 03fc2d2036 refactor: update notification strings and improve translations in common.json 2026-07-03 16:18:33 +07:00