Closed Omri-Levy closed 1 week ago
Latest commit: a06ee3a85e92a40066db558cbdcd0ace873ea0be
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 code updates primarily focus on improving the handling and display of advertisement images within the backoffice application. Notable changes include the extraction of additional properties (src
and link
) from the advertisement data, adjustments in components to accommodate these changes, and a migration modification to keep dependencies up-to-date.
File/Path | Change Summary |
---|---|
.../report-adapter/report-adapter.ts |
Updated to extract src and link properties for advertisement images, and adjusted filtering logic for validity. |
.../components/AdExample/AdExample.tsx |
Modified AdExample component to accept link prop, rendering a linked button using a variant from the Button component. |
.../components/AdsAndSocialMedia/AdsAndSocialMedia.tsx |
Updated to handle relatedAdsImages as objects containing src and link properties, and adjusted the rendering logic. |
services/workflows-service/prisma/data-migrations |
Updated subproject commit hash for synchronization with the latest data migrations. |
(none needed in this case)
In the world of code, changes unfold,
Ads now gleam with links so bold,
Adapt and parse, seamless flow,
Buttons that lead, where users go.
With each tweak, our project grows,
Bright and clear like morning's glow.
🌿✨ – Your rabbit dev, with ears in tow! 🐇
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
AdExample
component to support clickable links, improving user interaction with ads.Refactor
src
andlink
properties for better data structure and usage consistency across components.Bug Fixes
Chores