Closed tomer-shvadron closed 1 month ago
Latest commit: b824949ab67918842f98b3275d075962b11057bb
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 functionality and robustness of application components, focusing on improved state handling, fallback mechanisms for data retrieval, and schema simplifications. These modifications aim to streamline interactions, bolster error management, and ensure cleaner data validation, ultimately leading to a more resilient and user-friendly experience.
File | Change Summary |
---|---|
apps/.../useUbosRegistryProvidedBlock.tsx apps/.../useDefaultBlocksLogic.tsx |
Implemented timeout handling in hooks and updated message initialization using nullish coalescing for better robustness. |
packages/.../ubo-plugin-schema.ts |
Removed the layers field from the UboPluginSchema , simplifying the data structure. |
packages/.../company-sanctions-plugin-schema.ts |
Transformed descriptions from a fixed object structure to an array of objects, enhancing flexibility in data representation. |
packages/.../merchant-monitoring-plugin-schema.ts |
Made the data property optional in the MerchantMonitoringPluginSchema , allowing for greater flexibility in data handling. |
services/.../hook-callback-handler.service.ts |
Enhanced type safety in setPluginStatusToSuccess by refining the check for the status property. |
services/.../data-migrations |
Updated the subproject commit reference, reflecting changes in underlying dependencies without specific functional alterations. |
apps/.../MerchantMonitoringTable/columns.tsx |
Reduced the maximum width of a div in MerchantMonitoringTable for a more compact display, enhancing visual organization. |
sequenceDiagram
participant Workflow
participant Hook
participant Schema
Workflow->>Hook: Trigger workflow with message
Hook->>Schema: Validate message
Schema-->>Hook: Return validation result
Hook->>Workflow: Update status based on validation
🐇 In fields of green, I hop with glee,
Changes abound, oh what a spree!
A schema lightened, hooks now refined,
With every new feature, joy's intertwined.
Hooray for the code, let it sing! 🎶
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
Schema Updates
layers
field from the UboPluginSchema to simplify data validation.descriptions
field in the CompanySanctionsPluginSchema to allow for multiple entries.data
property optional in the MerchantMonitoringPluginSchema for greater flexibility.Chores
UI Improvements