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

Refactor promo code deep linking #2470

Merged
merged 1 commit into from
Jul 10, 2024
Merged

Conversation

MiSikora
Copy link
Contributor

@MiSikora MiSikora commented Jul 8, 2024

Description

Note

This will be a series of PRs that move deep linking to a separate module that can be tested. The goal is to address #2405 but I don't want to do it blindly without having tests in order to not introduce regressions to deep linking.

This PR migrates deep linking promo codes to the new module.

Testing Instructions

  1. Execute adb shell am start -n au.com.shiftyjelly.pocketcasts.debug/au.com.shiftyjelly.pocketcasts.ui.MainActivity -a android.intent.action.VIEW -d "pktc://redeem/promo/111222333".
  2. App should open with the promo code flow.

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 [Type] Tech Debt Involving upgrades or refactoring to maintain or enhance the codebase. do not merge unit-tests-exemption labels Jul 8, 2024
@MiSikora MiSikora added this to the 7.69 milestone Jul 8, 2024
@MiSikora MiSikora requested a review from a team as a code owner July 8, 2024 11:52
@MiSikora MiSikora requested review from ashiagr and removed request for a team July 8, 2024 11:52
@dangermattic
Copy link
Collaborator

dangermattic commented Jul 8, 2024

1 Warning
⚠️ Class PromoCodeAdapter is missing tests, but unit-tests-exemption label was set to ignore this.

Generated by 🚫 Danger

Copy link
Contributor

@ashiagr ashiagr left a comment

Choose a reason for hiding this comment

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

Works well 👍

Base automatically changed from task/upgrade-deep-linking to main July 10, 2024 07:07
@MiSikora MiSikora force-pushed the task/promo-code-deep-linking branch from 777b90d to 1588aa7 Compare July 10, 2024 07:08
@MiSikora MiSikora enabled auto-merge (squash) July 10, 2024 07:11
@MiSikora MiSikora merged commit 0f9fd51 into main Jul 10, 2024
13 of 14 checks passed
@MiSikora MiSikora deleted the task/promo-code-deep-linking branch July 10, 2024 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Tech Debt Involving upgrades or refactoring to maintain or enhance the codebase. unit-tests-exemption
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants