Skip to content
New issue

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

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

Already on GitHub? # to your account

Add Winback Offer UI #3434

Merged
merged 5 commits into from
Jan 15, 2025
Merged

Add Winback Offer UI #3434

merged 5 commits into from
Jan 15, 2025

Conversation

MiSikora
Copy link
Contributor

@MiSikora MiSikora commented Jan 13, 2025

Description

This PR adds Winback Offer UI.

Designs: G22KfZwL1Gv5yyxdTheF9H-fi-3_172

I asked about breaking "check out" text and will follow up on it if necessary: U02GX6BT12A/F088D0JL61H-slack-file

Testing Instructions

  1. # with an account that has a monthly or a yearly subscription.
  2. Go to account details.
  3. Tap on "Cancel subscription".
  4. Verify the UI and navigation.
  5. Test this with different themes.

Screenshots or Screencast

Screenshot_20250113-124119

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.

I have tested any UI changes...

  • with different themes
  • with a landscape orientation
  • with the device set to have a large display and font size
  • for accessibility with TalkBack

@MiSikora MiSikora added this to the 7.81 milestone Jan 13, 2025
@MiSikora MiSikora requested a review from a team as a code owner January 13, 2025 11:54
@MiSikora MiSikora requested review from mebarbosa and removed request for a team January 13, 2025 11:54
@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Jan 13, 2025

📲 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
Commitef23c0a
Direct Downloadpocketcasts-app-prototype-build-pr3434-ef23c0a.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
Commitef23c0a
Direct Downloadpocketcasts-automotive-prototype-build-pr3434-ef23c0a.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
Commitef23c0a
Direct Downloadpocketcasts-wear-prototype-build-pr3434-ef23c0a.apk

Comment on lines +138 to +139
text = stringResource(LR.string.winback_offer_free_offer_description, "\$3.99"),
color = MaterialTheme.theme.colors.primaryText02,
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we also localize the price? I mean, put the price converted in the country currency

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This will come from the API once the logic is connected.

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.

The change looks good to me. I left just one question, but it's not a blocker

Base automatically changed from task/winback-skeleton to main January 14, 2025 13:29
# Conflicts:
#	modules/features/profile/src/main/java/au/com/shiftyjelly/pocketcasts/profile/winback/WinbackOfferPage.kt
@MiSikora MiSikora enabled auto-merge (squash) January 15, 2025 08:45
@MiSikora MiSikora merged commit 8ef0f8a into main Jan 15, 2025
17 checks passed
@MiSikora MiSikora deleted the task/winback-offer-ui branch January 15, 2025 09:11
mebarbosa pushed a commit that referenced this pull request Jan 16, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants