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 Podlove podcast deep linking #2460

Merged
merged 1 commit into from
Jul 10, 2024
Merged

Conversation

MiSikora
Copy link
Contributor

@MiSikora MiSikora commented Jul 5, 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 Podlove subscription deep linking 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://subscribehttps/v4-feed-test.podlove.org/feed/".
  2. App should open and load Podlove Test podcast.

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.69 milestone Jul 5, 2024
@MiSikora MiSikora requested a review from a team as a code owner July 5, 2024 14:03
@MiSikora MiSikora requested review from ashiagr and removed request for a team July 5, 2024 14:03
@dangermattic
Copy link
Collaborator

dangermattic commented Jul 5, 2024

1 Warning
⚠️ Class PodloveAdapter 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.

LGTM. Nice work!

@@ -247,4 +247,81 @@ class DeepLinkFactoryTest {

assertEquals(PocketCastsWebsiteDeepLink, deepLink)
}

@Test
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for adding all these tests!

@MiSikora MiSikora force-pushed the task/pc-website-deep-linking branch from 8dd939a to bc0a515 Compare July 9, 2024 05:52
Base automatically changed from task/pc-website-deep-linking to main July 9, 2024 06:12
@MiSikora MiSikora merged commit 99e00e6 into main Jul 10, 2024
14 checks passed
@MiSikora MiSikora deleted the task/podlove-deep-linking branch July 10, 2024 04:42
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.

None yet

3 participants