Closed Omri-Levy closed 2 weeks ago
Latest commit: e187bbf54a1464594d36ffda659ac00a17460b37
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
Recent changes enhance the Merchant Monitoring Create Check functionality by introducing dynamic input handling for key fields and updating validation logic. An onValueChange
function has been added to manage input changes dynamically. URL validation now uses a custom regular expression. Additionally, a check for the existence of a business entity has been introduced before creating a business report, ensuring data integrity.
File Path | Change Summary |
---|---|
.../MerchantMonitoringCreateCheck.page.tsx |
Updated Input components with onChange event handler invoking onValueChange , enhancing dynamic input value handling. |
.../create-business-report-schema.ts |
Changed URL validation from .url() to .regex() with a custom URL validation regular expression. |
.../useMerchantMonitoringCreateBusinessReportPageLogic.tsx |
Updated useCallback import, added ChangeEvent import, and introduced onValueChange function to handle dynamic input value changes. |
.../business-report.controller.internal.ts |
Added existence check for the business entity before creating a business report and adjusted usage of the business object for more reliable logic. |
In the code where checks embrace,
Inputs change at a steady pace,
URLs now fit in regex space,
Business exists, we find the trace.
All systems dynamic, no fall from grace,
Merchant Monitoring's smoother race. 🌟
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
Bug Fixes
Backend Enhancements