Open chesterkmr opened 1 month ago
Latest commit: 13895becbc564df42c56c439a31f94e4852a7ec4
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
The recent updates to the kyb-app
and workflows-dashboard
projects introduce significant improvements, including enhanced build configurations, new components for managing customer data, and refined localization support. Notable changes involve the restructuring of UI elements, improved type definitions, and expanded API functionality. These enhancements collectively aim to streamline development, improve user interaction, and ensure robust functionality throughout the applications.
Files | Change Summary |
---|---|
apps/kyb-app/package.json |
Updated dependencies, added new build scripts (build-portable , postinstall ), and specified main entry point for application packaging. |
apps/kyb-app/src/common/components/atoms/Chip/Chip.tsx |
Changed BaseChipVariantProps from private to exported, enhancing type accessibility. |
apps/kyb-app/src/components/providers/CustomerProvider/*.tsx |
Reordered import statements in CustomerProvider.tsx ; introduced CustomerProviderPortable for managing customer context with improved performance using useMemo . |
apps/kyb-app/src/hooks/useCustomerQuery/useCustomerQuery.ts |
Added enabled parameter to useCustomerQuery for conditional query activation. |
apps/kyb-app/src/lib.ts |
Introduced toggleDevmode function for managing development mode via local storage. |
apps/kyb-app/src/lib/collection-flow-portable/*.tsx |
Added CollectionFlowPortable component for managing collection flows, including props for customer context and UI management. |
apps/kyb-app/src/pages/CollectionFlow/*.tsx |
Refactored CollectionFlow.tsx to use a centralized collectionFlowElements for UI components; added logging for debugging. |
apps/workflows-dashboard/package.json |
Updated @ballerine/common dependency and added @ballerine/kyb-app as a local dependency. |
apps/workflows-dashboard/public/locales/*.json |
Introduced localization files for Chinese and English, providing comprehensive translations for UI elements and error messages. |
apps/workflows-dashboard/src/domains/ui-definitions/*.ts |
Added workflowDefinition property to IUIDefinition , linking UI definitions to workflow data. |
apps/workflows-dashboard/src/pages/UIDefinitions/components/*.tsx |
Added new column in UIDefinitionsTable for displaying collection flow, enhancing interactivity. |
services/workflows-service/prisma/data-migrations |
Updated commit reference to a new version for underlying dependencies. |
services/workflows-service/src/ui-definition/ui-definition.service.ts |
Modified list method to include workflowDefinition data in query results for comprehensive datasets. |
apps/kyb-app/vite.config.ts |
Enhanced Vite build configuration to support library output with defined entry points. |
apps/kyb-app/vite.lib.config.ts |
New configuration file added for building the collection-flow-portable library with optimized settings. |
apps/kyb-app/tsconfig-lib.json |
New TypeScript configuration set up for the library. |
sequenceDiagram
participant User
participant CustomerProvider
participant CustomerProviderPortable
participant CollectionFlowPortable
User->>CustomerProvider: Request customer data
CustomerProvider->>CustomerProviderPortable: Pass customer data
CustomerProviderPortable->>CollectionFlowPortable: Provide context and customer info
CollectionFlowPortable->>User: Render collection flow UI
🐇 In a world of code, so bright and new,
Changes abound, with magic in view.
Components and flows, all dance in line,
Whiskers twitch with joy, oh how they shine!
From builds to context, the rabbit does cheer,
Celebrating progress, bringing us near! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
CustomerProviderPortable
component for enhanced customer data management.CollectionFlowPortable
component for managing collection flow interfaces.Enhancements
toggleDevmode
feature for easier development mode switching.Bug Fixes
useCustomerQuery
hook for conditional query execution.Documentation
Chores