feat(mobile): search within playlists using native search #68

Merged
joshuafhiggins merged 1 commits from t3/mobile-playlist-search into main 2026-11-03 21:22:42 -05:00
Owner

Users could search the library on mobile but could not search within a playlist.

Add the same native Stack.SearchBar and debounce behavior used by Search to playlists and Favorites across all tabs. Filter locally by song title, artist, or album, with an empty-results message. Playback and playlist actions retain the full playlist.

Validation:

  • Mobile TypeScript check and git diff --check pass.
  • Direct filter-hook checks pass for title, artist, album, case-insensitive matching, no matches, clearing, duplicate titles, and source preservation.
  • Tested this branch in the development app on the local Android 17 emulator against the 2,000-song test playlist. Verified title search for Bonnie, mixed-case artist search for eMiNeM, album search for reputation, no matches, and the native clear button restoring songs.
  • Verified Favorites opens the native search control and displays its empty-playlist state. The test account has no favorites, so filtering populated Favorites was not exercised.
  • iOS remains unverified because the Mac host disconnected.

Title search on Android
Album search on Android
No matches on Android

Changes made by gpt-6.1-sol through the Codex harness in T3 Code.

Users could search the library on mobile but could not search within a playlist. Add the same native Stack.SearchBar and debounce behavior used by Search to playlists and Favorites across all tabs. Filter locally by song title, artist, or album, with an empty-results message. Playback and playlist actions retain the full playlist. Validation: - Mobile TypeScript check and git diff --check pass. - Direct filter-hook checks pass for title, artist, album, case-insensitive matching, no matches, clearing, duplicate titles, and source preservation. - Tested this branch in the development app on the local Android 17 emulator against the 2,000-song test playlist. Verified title search for Bonnie, mixed-case artist search for eMiNeM, album search for reputation, no matches, and the native clear button restoring songs. - Verified Favorites opens the native search control and displays its empty-playlist state. The test account has no favorites, so filtering populated Favorites was not exercised. - iOS remains unverified because the Mac host disconnected. ![Title search on Android](https://files.gitcoffee.dev/files/android-title-search-kgwlbmd9hcj0ricr.png) ![Album search on Android](https://files.gitcoffee.dev/files/android-album-search-3de8dpyac377hx0e.png) ![No matches on Android](https://files.gitcoffee.dev/files/android-no-results-ocq0acvz0wenl8fr.png) Changes made by gpt-6.1-sol through the Codex harness in T3 Code.
joshuafhiggins added 1 commit 2026-11-03 21:13:44 -05:00
joshuafhiggins merged commit c85c289717 into main 2026-11-03 21:22:42 -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#68