Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Braze Content card with top aligned image #1355

Merged
merged 4 commits into from
Jun 28, 2024

Conversation

teddyfahi
Copy link
Contributor

Why?

Similar to our default content card with a right aligned image, just add a different option to cardStyle to add a capability of having the image above the content.

Note: there is an ongoing discussion regarding this potentially huge image/impact on the front page. Pr might change depending on the outcome of that discussion: https://github.schibsted.io/finn/android_finn_app/pull/7914#issuecomment-1587168

What?

.top is added to the image position enum that decides how the card style is layed out. The .topAlignedGraphic value is added to the cardStyle braze key.

Version Change

Minor change.

UI Changes

If the change concerns UI, a transition or an animation, providing an image, a gif, or a video is encouraged to help us reviewing your PR.

Light Dark
iPhone simulator_screenshot_0227AD3A-D4FA-4AFF-AC89-ED4ECA7149C3 simulator_screenshot_757E168E-6B76-4244-8733-F0FEC4DF1232
iPad Simulator Screenshot - iPad (10th generation) - 2024-06-24 at 10 45 48 Simulator Screenshot - iPad (10th generation) - 2024-06-24 at 10 45 21

@teddyfahi teddyfahi requested review from a team, ninarg and sakhnenkoff and removed request for a team June 24, 2024 08:50
Copy link
Contributor

@ninarg ninarg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✨
Agree, it looks huge, especially on iPad 🙈

@teddyfahi teddyfahi merged commit 4c053b3 into master Jun 28, 2024
1 check passed
@teddyfahi teddyfahi deleted the nmpapp-1025_braze-topaligned-image branch June 28, 2024 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants