Repository navigation
fix(tv): add playlist deletion confirmation - #121
CraftWorksMC merged 1 commit into
Conversation
f0faeb2 to
05ff7ce
Compare
|
i think it would be best if you put the dialog into a separate file, PlaylistDialogs.kt maybe, otherwise looks good! |
|
Yeah, I was actually thinking the same thing. I wasn’t sure whether you’d prefer another TV-specific file or to keep the existing dialogs together, so PlaylistDialogs.kt works for me. Also, since I’ve been working with the TV side a bit more, I’ve noticed a few places where the TV implementation uses different patterns for things like dialogs, focus/input handling, and organization. Would you be open to some small, focused PRs to standardize some of that over time? I’m also happy to help with testing, CI, contributor docs/templates, and some of the networking work if that’s useful. I have a background in software QA/support/infrastructure, so those are areas I’m pretty comfortable with. I don’t want to impose a bunch of architectural changes on the project, though, so if you have conventions or a direction you want Chora to follow, I’d be interested in hearing about that. And if there’s a better place than PR threads to discuss broader project stuff, let me know. |
05ff7ce to
9f16a8d
Compare
|
I updated the PR to include the seperate PlaylistDialogs.kt file and tested it on my device and in emulation via Android Studio. |
|
Awesome! |
Summary
Fixes #113.
Adds a confirmation dialog before deleting a playlist on Android TV. Previously, long-pressing a playlist would delete it immediately without confirmation.
The dialog uses TV-specific Material components and initially focuses non-interactive content so that a held DPAD_CENTER/OK input does not carry over and accidentally activate one of the dialog actions.
Changes
Testing
Tested on:
Verified:
Screenshots
Confirmation dialog
DPAD navigation
After deletion