Closed Omri-Levy closed 1 month ago
Latest commit: 4925cb9f16a26e5099f7878b50557b2553274d85
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
This update enhances various components of the application, focusing on readability, functionality, and improved data handling. Changes include cosmetic adjustments to class name orders, the integration of AML logic into hooks, and a clearer organization of constants. These modifications improve maintainability without affecting existing functionality, ensuring a smoother developer experience.
Files | Change Summary |
---|---|
.../DateRangePicker/DateRangePicker.tsx , .../Case/Case.Actions.tsx |
Minor adjustments to the order of class names in JSX, resulting in cosmetic changes without affecting functionality or rendering logic. |
.../ProcessTracker/constants.tsx |
Reformatted the pluginsWhiteList constant from a single line to a multi-line declaration for improved readability, without altering its content or functionality. |
.../get-tabs-block-map.tsx |
Enhanced getTabsToBlocksMap function by adding amlWithContainerBlock , integrating AML-related blocks into the mapping logic for Tab.UBOS and Tab.KYC . |
.../useDefaultBlocksLogic/useDefaultBlocksLogic.tsx |
Integrated AML data handling by adding useAmlBlock and creating amlWithContainerBlock , ensuring the hook manages AML-related data effectively within returned blocks. |
sequenceDiagram
participant A as User
participant B as Case Component
participant C as Default Blocks Logic Hook
participant D as AML Block
A->>B: Interacts with Case
B->>C: Retrieve blocks logic
C->>D: Use AML block logic
D->>C: Return AML data
C->>B: Return blocks including AML data
B->>A: Display updated case actions
🐰 In the code, changes hop,
Class names leap, and never stop!
With AML now in full bloom,
Our logic dances, makes room!
Readable lines, no cluttered fright,
We code with joy, our future's bright!
✨
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
useDefaultBlocksLogic
hook to integrate Anti-Money Laundering (AML) data handling for improved data management.Bug Fixes
Style
Chores