Improve feedback when adding episodes to playlists - #5632
Conversation
|
Claude finished @joashrajin's task in 1m 45s —— View job Code Review: Improve feedback when adding episodes to playlists
Overall this is a clean, well-scoped change. Tracking additions and removals separately is the right model, the new test is a good addition, and the 👍 Nice catch (latent bug fixed)The old Suggestions (all minor / non-blocking)1. String naming inconsistency — 2. Unreachable 3. Mixed-change wording — 4. Loss of the "View" action — intended per the description. Just confirming the trade-off is deliberate: single adds no longer offer a one-tap jump to the playlist. (The new-playlist creation flow in Test coverageThe ViewModel counting logic is now tested — good. The message-selection Housekeeping
Nothing here is blocking — the core logic is correct and the change is a genuine improvement over the previous behavior. |
|
Claude finished @joashrajin's task in 1m 37s —— View job Code Review: Improve feedback when adding episodes to playlists
This is a clean, well-scoped change and it looks ready. The refactor to a sealed ✅ Correctness
Minor / non-blocking
Test coverageThe ViewModel counting and message-selection logic are both well covered. The Nothing blocking here — the core logic is correct and this is a solid improvement. 👍 |
|
Thanks for making this change. I might just check with the product team about losing the view button, as that seems useful to me. p1785119056617199-slack-C05RR9P9RAT |
|
@joashrajin we have feedback from the design team. Can we keep the playlist title and the view button so users can access the playlist page after adding it to a single playlist? |
Sure thing, thanks Phil! |
|
Claude finished @joashrajin's task in 1m 51s —— View job Code Review: Preserve single-playlist navigation
Reviewed the latest commit ( ✅ Correctness
Minor / non-blocking
Nothing blocking. The change is correct and matches the design-team request. 👍 |
|
Claude finished @joashrajin's task in 1m 28s —— View job Code Review: Improve feedback when adding episodes to playlists
Reviewed the current state of the branch, including the latest commit ✅ Correctness (re-verified)
Minor / non-blocking (carried over)
Nothing blocking — the logic is correct, well-tested at the ViewModel level, and the change now matches both the design-team feedback and the Figma copy. 👍 |
|
@geekygecko please could you give it another check 🙇 |
# Conflicts: # CHANGELOG.md
|
Claude finished @joashrajin's task in 1m 50s —— View job Code Review: Improve feedback when adding episodes to playlists
Re-reviewed the branch after the sync with ✅ Verified in this pass
Minor / non-blocking
Not verifiedI wasn't able to run Nothing blocking. 👍 |
|
Version |
|
Version |
Description
Extend the feedback shown after changing an episode's manual playlist membership.
The existing flow already confirms playlist additions. This change adds the remaining feedback states for removals and mixed changes, while preserving Added to <playlist title> with a View action when adding to exactly one existing playlist. Multiple additions, removals, and mixed changes use the count-based copy from the Figma designs.
As an incidental fix, the summary now counts directly from the cached playlist changes instead of intersecting them with the search-filtered playlist list. Toggling a playlist and then changing the search term therefore no longer suppresses its snackbar feedback. The cached change also retains the title and UUID needed by the single-playlist confirmation and its View destination.
The create-new-playlist confirmation is unchanged:
OpenCreatedPlaylistEffectcontinues to show Added to <playlist title> with a View action.Fixes PCDROID-470
Testing Instructions
The five feedback states and refreshed screenshots were tested on a Samsung SM-G990E running Android 16 with the
debugProdbuild, using the Darknet Diaries episode “National Public Data.” This included the revised single-playlist title, View action, and destination. The single-playlist flow was also verified on a Pixel 8 emulator running Android 14.Screenshots or Screencast
Design
The screenshots are ordered as: remove from one playlist, remove from two playlists, add to one playlist, add to two playlists, and change two playlists. The single-playlist addition preserves its named confirmation and View action; the remaining states follow the designs above.
Before
After
Checklist
./gradlew spotlessApplyto automatically apply formatting/linting)modules/services/localization/src/main/res/values/strings.xmlI have tested any UI changes...