Commit Graph
174 Commits
Author SHA1 Message Date
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 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 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 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 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 a43ea0697a feat: internationalize sidebar collapse and expand labels using translation keys 2026-07-06 15:21:04 +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
Firman Ramdhani 1de110818a feat: implement notification dropdown component and add localized notification strings 2026-07-03 16:08:29 +07:00
Firman Ramdhani f9df63a27d feat: enhance HeaderLayout with user profile menu and notifications, update translations for common terms 2026-07-03 15:51:00 +07:00
Firman Ramdhani e7b542e96c feat: update sidebar layout to use 'sidebar-first' variant and enhance mobile menu header with CloseButton 2026-07-03 14:56:53 +07:00
Firman Ramdhani 8f14c4bc7b feat: add RowActions component for enhanced row-level actions in data grids
- Introduced RowActions component to manage row-level actions with tooltips and dropdown menus.
- Created types for row actions and page actions to standardize action properties.
- Implemented utility function to map action intents to Mantine theme colors.
- Updated CoreAppShell component to support optional slots for better flexibility.
- Added enterprise module structure with context hooks for managing module state and actions.
- Implemented draft management for forms to enhance user experience during data entry.
- Established context providers for detail, form, and index pages to streamline data handling.
- Updated dependencies to ensure compatibility with the latest versions.
2026-07-01 17:04:20 +07:00
Firman Ramdhani 1c2090f4fb feat(core-api): implement abstract data transformer architecture
- **Core API**: Introduced `IDataTransformer` interface and `BaseDataTransformer` abstract class.
- **Data Services**: Updated `BaseRemoteDataServices` and `DataServicesConfig` to support optional transformer injection. CRUD methods now auto-transform data mapping (DTO <-> Entity) when a transformer is provided.
- **Generics**: Updated `CommonRemoteDataServices` to forward the `TDTO` generic for strict type safety. Fixed `ApiResponse<T>` casting and excess property type checks.
- **Showcase/Samples**: Created `BookingTransformer` (snake_case to camelCase mapping) and injected it into `booking.data-services.ts`.
- **Advanced Showcase**: Added `AdvancedBookingTransformer` and `AdvancedBookingService` to demonstrate extending base transformers with custom methods (e.g., `getAvailabilityChart`).
- **Documentation**: Added comprehensive developer guide at `apps/docs-dev/src/packages/core-api/transformers.md`.
- **Testing**: Added 16 new unit tests for transformer integrations (identity and mock scenarios).

Note: The implementation is 100% backward compatible. All 49/49 tests pass and the TypeScript typecheck is entirely clean.
2026-07-01 11:13:09 +07:00
Firman Ramdhani ecb16c759d refactor: migrate docs-dev from storybook to vitepress config and update devcontainer configuration 2026-06-24 13:14:44 +07:00
Firman Ramdhani df579137cd docs: add comprehensive Core App Shell architecture and usage guide 2026-06-22 18:30:48 +07:00
Firman Ramdhani fb1d360a46 feat: add conditional close button for sidebar-first variant in mobile navigation 2026-06-22 18:18:21 +07:00
Firman Ramdhani 4bf99f6cd9 refactor: update AppShell navbar layout to support responsive widths and add mobile close button 2026-06-22 17:49:25 +07:00
Firman Ramdhani edc4e15325 refactor: rename navbar components and dimensions to sidebar for improved semantic consistency 2026-06-22 16:42:32 +07:00