Closed chesterkmr closed 2 months ago
Latest commit: aeefe49abd36c88248b73eaf4025274c3a624037
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 changes introduce a new MCCPicker
component to enhance form functionality within the user interface. This component dynamically generates options from the MCC
data structure and integrates with existing JSON forms. Additionally, updates to localization files improve user input validation, ensuring data integrity. These enhancements streamline the form handling process, offering users a more interactive and intuitive experience.
Files | Change Summary |
---|---|
apps/kyb-app/src/.../MCCPicker/MCCPicker.tsx , apps/kyb-app/src/.../MCCPicker/index.ts |
Added MCCPicker component for dynamic form options; index.ts re-exports MCCPicker for easier imports. |
apps/kyb-app/src/.../json-form.fields.ts |
Updated imports and added MCCPicker to jsonFormFields , enhancing form functionality. |
services/workflows-service/prisma/data-migrations |
Updated commit identifier, reflecting changes in subproject version. |
services/workflows-service/src/.../translation.json |
Added new fields and validation messages for estimatedAnnualSales and cardPresentPercentage ; implemented min/max constraints for improved data integrity. |
sequenceDiagram
participant User
participant MCCPicker
participant JSONForm
User->>JSONForm: Fill out form
JSONForm->>MCCPicker: Request MCC options
MCCPicker-->>JSONForm: Provide options
JSONForm->>User: Display options
User->>JSONForm: Select option
π In fields of code, I hop and play,
New options bloom, bright as day.
With every click, the forms align,
Validation sings, everything's fine!
Hooray for changes, letβs all cheer,
For a smoother process, year after year! β¨
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
MCCPicker
component for improved form handling and selection of options.estimatedAnnualSales
andcardPresentPercentage
to enhance user input with validation messages and constraints.Bug Fixes
FieldTemplate
import, streamlining JSON form functionality.Documentation