Commit Graph
104 Commits
Author SHA1 Message Date
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
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 edd71243a4 feat: implement FieldRichTextEditor component using TipTap and Mantine integration 2026-06-22 11:24:44 +07:00
Firman Ramdhani eaec6ec38f feat: replace ObjectSelect with LocalSelect and introduce custom FieldSelect wrappers for object-based RHF state management 2026-06-22 11:06:29 +07:00
Firman Ramdhani 195928d56a feat: add reusable AsyncSelect and ObjectSelect components with infinite scroll hook support 2026-06-16 01:23:36 +07:00
Firman Ramdhani f9a6519da4 perf: stabilize useConditionalField default values with useRef and replace Zod superRefine with declarative unions for performance 2026-06-15 23:06:58 +07:00
Firman Ramdhani 50cce32ada feat: add useConditionalField hook and implement reactive form showcase examples 2026-06-15 22:03:11 +07:00
Firman Ramdhani f7c7bc6907 feat: introduce reusable Zod validator registry with comprehensive atomic schema modifiers and localization support 2026-06-15 20:44:27 +07:00
Firman Ramdhani c9278d09cb refactor: rename base validator to sample validator in source and documentation 2026-06-15 20:28:35 +07:00
Firman Ramdhani a72b73bac4 feat: implement comprehensive Form UI library with React Hook Form integration, Zod validation, and i18n support. 2026-06-15 18:40:22 +07:00
Firman Ramdhani 00a2f218cc feat: update default density in ThemeProvider to 'compact' 2026-05-29 17:42:31 +07:00
Firman Ramdhani b2e622c57e feat: improve diagram labels in README for clarity and consistency 2026-05-29 16:41:11 +07:00
Firman Ramdhani ab0625d393 feat: enhance architecture diagrams in README for core-api and core-i18n with improved styling and clarity 2026-05-29 16:29:46 +07:00
Firman Ramdhani d3eb242ebe docs: Enhance documentation across multiple modules for clarity and structure
- Updated CONFIGURATION.md to improve navigation and added mermaid diagrams for better visualization of processes.
- Revised IPC_ARCHITECTURE.md to clarify the security model and added diagrams to illustrate the architecture.
- Improved README.md files in core-api, core-events, core-i18n, and core-storage for consistency and clarity, including better descriptions and structural enhancements.
2026-05-29 16:21:25 +07:00
Firman Ramdhani 9f1158653a feat: enhance README with detailed overview of core storage engine and PouchDB integration 2026-05-29 16:01:55 +07:00
Firman Ramdhani 6712558eaf feat: implement PouchDB storage layer with CRUD operations and add showcase UI component 2026-05-29 15:35:14 +07:00
Firman Ramdhani d0ebceb1bb refactor: decouple core-storage services from static keys and update i18n setup to use configurable storage adapters 2026-05-28 13:27:13 +07:00
Firman Ramdhani b4af762baa style: enhance README diagrams with improved subgraph labels and node styling for clarity 2026-05-28 12:33:40 +07:00
Firman Ramdhani c510feadbb docs: update README files for core packages with architecture diagrams and usage examples 2026-05-28 12:20:53 +07:00
Firman Ramdhani df229c9984 refactor: decouple core-events registry by implementing consumer-side TypeScript module augmentation and reorganizing showcase demos 2026-05-28 11:51:43 +07:00
Firman Ramdhani 6fde65f04e feat: introduce core-events package with event bus, hooks, and a web showcase demo 2026-05-28 11:20:35 +07:00