fix(mobile): let playlist owners remove songs on iOS #106

Merged
joshuafhiggins merged 1 commits from t3/ios-playlist-song-removal into main 2026-11-16 22:03:30 -05:00
Owner

Since #85 replaced the iOS swipe-to-remove on playlist rows with SongSwipeRow, iOS playlist owners have had no way to remove a single song. #89 adds Remove to the swipe row, but only on Android. The song context menu also has no remove action.

Stacked on #89.

Changes

  • SongSwipeRow shows Remove on both platforms when onRemove is set. Remove is the outer trailing action and runs on a full swipe, Apple Music style. Download sits beside it.
  • The trailing pair uses the same width and gap as #89's leading Add to Queue / Play Next pair, so both sides mirror each other.
  • New remove-from-playlist media action, shown in red on owned playlists in both the iOS context menu and the Android menu.

Verified

  • iOS simulator: the trailing pair matches the leading pair's size and spacing. Tapping trash and a full swipe both remove the song, and the list updates.
  • pnpm typecheck in apps/mobile passes.
  • Android: the context menu Remove was verified on the previous version of this branch. I haven't checked the swipe changes on Android yet because another session is using the emulator.

Changes made by Claude Opus 5.5 via Claude Code (T3 Code).

🤖 Generated with Claude Code

Since #85 replaced the iOS swipe-to-remove on playlist rows with `SongSwipeRow`, iOS playlist owners have had no way to remove a single song. #89 adds Remove to the swipe row, but only on Android. The song context menu also has no remove action. Stacked on #89. ## Changes - `SongSwipeRow` shows Remove on both platforms when `onRemove` is set. Remove is the outer trailing action and runs on a full swipe, Apple Music style. Download sits beside it. - The trailing pair uses the same width and gap as #89's leading Add to Queue / Play Next pair, so both sides mirror each other. - New `remove-from-playlist` media action, shown in red on owned playlists in both the iOS context menu and the Android menu. ## Verified - iOS simulator: the trailing pair matches the leading pair's size and spacing. Tapping trash and a full swipe both remove the song, and the list updates. - `pnpm typecheck` in `apps/mobile` passes. - Android: the context menu Remove was verified on the previous version of this branch. I haven't checked the swipe changes on Android yet because another session is using the emulator. Changes made by Claude Opus 5.5 via Claude Code (T3 Code). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
joshuafhiggins changed target branch from main to t3/song-swipe-queue-action 2026-11-16 20:05:14 -05:00
joshuafhiggins changed target branch from t3/song-swipe-queue-action to main 2026-11-16 22:03:22 -05:00
joshuafhiggins added 1 commit 2026-11-16 22:03:22 -05:00
PR #85 swapped the iOS swipe-to-remove for SongSwipeRow, leaving no way to
remove a single song on iOS. Enable the trailing Remove swipe action on iOS
too, make it the outer full-swipe action with Download beside it, and size
the trailing pair like the leading one. Add "Remove from Playlist" to the
song context menu for owned playlists on both platforms.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
joshuafhiggins force-pushed t3/ios-playlist-song-removal from 119feda395 to d2f940b7f7 2026-11-16 22:03:22 -05:00 Compare
joshuafhiggins merged commit 1d167d4726 into main 2026-11-16 22:03:30 -05:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: joshuafhiggins/otunes#106