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 change title deep linking #2450

Merged
merged 1 commit into from
Jul 8, 2024

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 changing bookmark title deep linking to the new module.

Testing Instructions

You can test it by assigning Add bookmark action to your headphones, and then triggering it while the app is in background and choosing Change title option. If you can't test it this way do the following:

  1. Create a bookmark.
  2. Using app manger find an UUID of a bookmark.
  3. Execute adb shell am start -n au.com.shiftyjelly.pocketcasts.debug/au.com.shiftyjelly.pocketcasts.ui.MainActivity -a INTENT_OPEN_APP_CHANGE_BOOKMARK_TITLE -e bookmark_uuid <BOOKMARK_UUID>.
  4. The bookmark change title 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 this to the 7.68 milestone Jul 5, 2024
@MiSikora MiSikora requested a review from a team as a code owner July 5, 2024 08:39
@MiSikora MiSikora requested review from mebarbosa and removed request for a team July 5, 2024 08:39
@MiSikora MiSikora modified the milestones: 7.68, 7.69 Jul 5, 2024
@dangermattic
Copy link
Collaborator

dangermattic commented Jul 5, 2024

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

Generated by 🚫 Danger

@mebarbosa
Copy link
Contributor

Hey @MiSikora Could you assign this PR to another person? I still don't have headphones to test this one

@mebarbosa mebarbosa requested review from a team and removed request for mebarbosa July 5, 2024 13:57
@MiSikora
Copy link
Contributor Author

MiSikora commented Jul 5, 2024

Sure I'll do it, but it would be quicker if you assigned someone in the future.

@MiSikora MiSikora requested a review from geekygecko July 5, 2024 13:59
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

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

4 participants