Commit Graph
22 Commits
Author SHA1 Message Date
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 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 179b4f00a3 Refactor code structure for improved readability and maintainability 2026-01-19 11:03:10 +07:00
Firman Ramdhani a3758c9f3a feat: update Storybook assets and configuration
- Added new preview script for Storybook rendering.
- Updated iframe source to use the new script.
- Refreshed project.json with updated metadata and timestamps.
2026-01-19 10:34:44 +07:00
Firman Ramdhani 914c267e66 feat(tests): add basic arithmetic functions and corresponding tests
- Implemented `add` and `subtract` functions in multiple packages (web, ui, utils).
- Created unit tests for these functions using Vitest in respective test files.
- Updated turbo.json to include a new test pipeline for coverage and watch mode.
2026-01-14 18:35:20 +07:00
Firman Ramdhani 63b84a54e9 feat: enhance DateService with timezone support and improved date manipulation methods 2026-01-13 18:07:57 +07:00
Firman Ramdhani 554c5fbee3 feat: add initial TypeScript and ESLint configurations for library and React applications
- Created TypeScript configuration files for library and React applications.
- Added ESLint configurations for library, React, and Storybook.
- Implemented a basic Button component in the UI package.
- Set up Vite for the docs development environment.
2026-01-09 18:26:12 +07:00
Firman Ramdhani 41287c027b feat(docs-dev): remove deprecated docs-dev application files and configurations 2026-01-09 09:43:14 +07:00
Firman Ramdhani fec32487bb chore: update dependencies and improve package configurations
- Upgraded '@vitejs/plugin-react' from 3.1.0 to 5.1.2
- Updated 'eslint' from 8.57.0 to 8.57.1
- Removed unused dependency '@module/template' from apps/web
- Added 'eslint' as a devDependency in packages/typescript-config
- Updated various Babel packages to their latest versions
- Updated 'react-refresh' from 0.14.2 to 0.18.0
- Updated 'browserslist' from 4.24.4 to 4.28.1 and related dependencies
- Removed deprecated 'globals' package and updated its version
- Cleaned up package structure and ensured compatibility with newer Node versions
2026-01-05 18:01:47 +07:00
Firman Ramdhani e6485b066d feat: init commit for setup monorepo 2026-01-05 17:38:05 +07:00