Closed tomer-shvadron closed 1 month ago
Latest commit: 39b12078042c2e0e4e0e201d2f527a87b172c296
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 improve the application by refining component naming, enhancing user interfaces, and streamlining method logic. These changes foster better code clarity and maintainability while introducing new features like search functionality. Overall, the enhancements aim to create a more intuitive user experience while ensuring the robustness of the codebase.
Files | Change Summary |
---|---|
apps/backoffice-v2/src/common/components/atoms/CopyToClipboardButton/CopyToClipboardButton.tsx |
Renamed component to CopyToClipboardButton and improved click event handling for asynchronous control. |
apps/backoffice-v2/src/pages/MerchantMonitoring/MerchantMonitoring.page.tsx |
Added a search component to filter reports, improved pagination display, and refined table rendering logic. |
services/workflows-service/src/business-report/business-report.controller.internal.ts |
Updated method signatures for better clarity and refactored logic for report retrieval, renaming methods for consistency. |
services/workflows-service/src/business-report/business-report.repository.ts |
Introduced a new count method for flexible counting of business reports based on project IDs. |
sequenceDiagram
participant User
participant SearchComponent
participant MerchantMonitoringLogic
participant BusinessReportsQuery
User->>SearchComponent: Enter search term
SearchComponent->>MerchantMonitoringLogic: onSearch(searchTerm)
MerchantMonitoringLogic->>BusinessReportsQuery: useBusinessReportsQuery(searchTerm)
BusinessReportsQuery->>User: Display filtered reports
🐇 In the code, a bunny hops with glee,
🐇 "With search and clarity, oh, can't you see?
🐇 Buttons now gleam, and logic is bright,
🐇 Our app's more user-friendly, what a delight!
🐇 With every change, we leap and twirl,
🐇 Celebrating code that makes our hearts whirl!" 🐇
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
CopyToClipboardButton
and refining the event handling logic.Bug Fixes
CopyToClipboardButton
.Style
Chores