Commit Graph
113 Commits
Author SHA1 Message Date
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
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 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 6df6880ba3 refactor: improve layout spacing and enhance preferences menu in HeaderLayout 2026-07-03 15:59:14 +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 5040d41152 fix: revert layout variant to 'header-first' in ModuleLayout and update HeaderLayout logo 2026-07-03 15:09:55 +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 eed10fb4d2 feat: add menu filtering to sidebar and expand menu data with new items 2026-07-03 14:48:19 +07:00
Firman Ramdhani 5572bca964 refactor: implement nested menu support in sidebar using recursive components and flyout menus 2026-07-03 14:19:34 +07:00
Firman Ramdhani 81fa9aa9d6 feat: implement dynamic sidebar navigation with module-based routing and layout integration 2026-07-03 13:26:26 +07:00
Firman Ramdhani 0e9188aeae feat: implement single-page module with data services, transformers, and UI components 2026-07-03 11:53:48 +07:00
Firman Ramdhani 299ddaad27 feat: add initial implementation of state management for full-page presentation 2026-07-01 18:06:40 +07:00
Firman Ramdhani 95692b2bcf feat: add ActionTools component documentation and update navigation links 2026-07-01 17:27: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 293069a594 style: adjust navigation search bar positioning and button styling for improved aesthetics 2026-06-24 18:09:52 +07:00
Firman Ramdhani e313967075 feat: enable local search with detailed view in VitePress configuration 2026-06-24 17:51:34 +07:00
Firman Ramdhani cccc2c40fc docs: enrich documentation with architectural foundations, component descriptions, and external library links across the codebase. 2026-06-24 17:43:55 +07:00
Firman Ramdhani 3d56eed2b8 feat: update docs site branding with custom logo, favicon, and elegant navbar styling 2026-06-24 16:35:14 +07:00
Firman Ramdhani 30c95e338b feat: revamp documentation landing page and update project naming convention 2026-06-24 16:04:23 +07:00
Firman Ramdhani 8e56e05d1b feat: redesign documentation landing page with custom theme and updated site navigation 2026-06-24 14:18:43 +07:00
Firman Ramdhani f05e1c6d05 docs: expand monorepo architectural documentation and add Git link to homepage 2026-06-24 13:53:48 +07:00
Firman Ramdhani 0ed535e652 feat: add Gitea social link to documentation and update local development instructions in README 2026-06-24 13:29:02 +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 81de76a510 refactor: relocate shell-demo app to the showcase directory 2026-06-22 18:22:39 +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
Firman Ramdhani 25f3cd3b30 feat: implement CoreAppShell component with flexible layout configurations and state management context 2026-06-22 16:27:50 +07:00
Firman Ramdhani 4d2558cf71 refactor: memoize Zod schemas and internationalize form labels and messages in demo components 2026-06-22 11:34:25 +07:00