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 bookmark add deep linking #2449

Merged
merged 1 commit into from
Jul 8, 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 adding bookmark linking to the new module.

Testing Instructions

You can test it by assigning Add bookmark action to your headphones and triggering it while app is in the foreground. If you can't test it this way do the following:

  1. Play an episode.
  2. Execute adb shell am start -n au.com.shiftyjelly.pocketcasts.debug/au.com.shiftyjelly.pocketcasts.ui.MainActivity -a INTENT_OPEN_APP_ADD_BOOKMARK.
  3. The add bookmark page should show.

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 the tech debt A maintenance change label Jul 5, 2024
@MiSikora MiSikora added this to the 7.68 milestone Jul 5, 2024
@MiSikora MiSikora requested a review from a team as a code owner July 5, 2024 07:11
@MiSikora MiSikora requested review from ashiagr and removed request for a team July 5, 2024 07:11
@dangermattic
Copy link
Collaborator

dangermattic commented Jul 5, 2024

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

Generated by 🚫 Danger

Base automatically changed from task/downloads-deep-linking to main July 8, 2024 19:13
(cherry picked from commit 88f4f3c)
@MiSikora MiSikora force-pushed the task/bookmark-add-deep-linking branch from 88f4f3c to 2d0d357 Compare July 8, 2024 19:15
@MiSikora MiSikora enabled auto-merge (squash) July 8, 2024 19:20
@MiSikora MiSikora merged commit 64388a3 into main Jul 8, 2024
14 checks passed
@MiSikora MiSikora deleted the task/bookmark-add-deep-linking branch July 8, 2024 19:38
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