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

Add small device support to Top Show EoY story #3114

Merged
merged 1 commit into from
Oct 28, 2024
Merged

Conversation

MiSikora
Copy link
Contributor

Description

This PR adds better support for small devices when displaying Top Show story. The cutout shape is now calculated in a way that it's diagonal is equal to the available space's height so it doesn't go below the text.

Figma: lH66LwxxgG8btQ8NrM0ldx-fi-3070_23365

Testing Instructions

  1. Start PB24.
  2. Go to the Top Show story.
  3. Verify the UI.
  4. Share the story and make sure that the screenshot looks correctly.

Screenshots or Screencast

Regular Small
large smol

Checklist

  • If this is a user-facing change, I have added an entry in CHANGELOG.md
  • Ensure the linter passes (./gradlew spotlessApply to automatically apply formatting/linting)
  • I have considered whether it makes sense to add tests for my changes
  • All strings that need to be localized are in modules/services/localization/src/main/res/values/strings.xml
  • Any jetpack compose components I added or changed are covered by compose previews
  • I have updated (or requested that someone edit) the spreadsheet to reflect any new or changed analytics.

@MiSikora MiSikora added this to the 7.76 milestone Oct 28, 2024
@MiSikora MiSikora requested a review from a team as a code owner October 28, 2024 08:11
@MiSikora MiSikora requested review from mebarbosa and removed request for a team October 28, 2024 08:11
@dangermattic
Copy link
Collaborator

1 Warning
⚠️ This PR is assigned to the milestone 7.76. The due date for this milestone has already passed.
Please assign it to a milestone with a later deadline or check whether the release for this milestone has already been finished.

Generated by 🚫 Danger

@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Oct 28, 2024

📲 You can test the changes from this Pull Request in 📱 Mobile by scanning the QR code below to install the corresponding build.
App Name 📱 Mobile
Build TypedebugProd
Commit0e775cc
Direct Downloadpocketcasts-app-prototype-build-pr3114-0e775cc.apk
📲 You can test the changes from this Pull Request in 🚗 Automotive by scanning the QR code below to install the corresponding build.
App Name 🚗 Automotive
Build TypedebugProd
Commit0e775cc
Direct Downloadpocketcasts-automotive-prototype-build-pr3114-0e775cc.apk
📲 You can test the changes from this Pull Request in ⌚ Wear by scanning the QR code below to install the corresponding build.
App Name ⌚ Wear
Build TypedebugProd
Commit0e775cc
Direct Downloadpocketcasts-wear-prototype-build-pr3114-0e775cc.apk

Copy link
Contributor

@mebarbosa mebarbosa left a comment

Choose a reason for hiding this comment

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

LGTM

@mebarbosa mebarbosa merged commit a934d11 into main Oct 28, 2024
17 of 19 checks passed
@mebarbosa mebarbosa deleted the task/eoy-top-1-show branch October 28, 2024 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants