-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Show Confirmation Dialog when removing Playlist from Bookmarks #6618
Comments
Would this be the correct workflow for implementing a feature?
|
I'm not sure. This kind of UI doesn't seem to be used anywhere else in NewPipe. |
It's okay not to be familiar with a UI. A lot of apps like Opera, Firefox etc actually have it. I would personally ask you to keep the alert optional. |
@ktprograms you should read https://github.com/TeamNewPipe/NewPipe/blob/dev/.github/CONTRIBUTING.md to know the instructions and things you need to do to contribute. @SameenAhnaf I believe we already have something similar IIRC: snackbars with an undo button. I can't recall where they were, but I'm fairly sure we have them somewhere. |
@mhmdanas This seems to be the most relevant line in the
So I'm guessing that means fork the repo, then checkout a new feature branch? |
Correct. |
Thanks. So would it be preferred to use an |
Sorry, I don't have a strong opinion on that. I'm leaning towards the dialog approach, since deleting playlists is not something one would typically spend a lot of time on I think, and people have complained before of the snackbar approach because they find it to be misleading (#6162 (comment)). However, I think you should wait a bit for people to discuss this. |
BTW I found this NewPipe/app/src/main/java/org/schabi/newpipe/local/bookmark/BookmarkFragment.java Lines 276 to 294 in 5ac418a
|
BTW what should the feature branch be called? Just something like |
@ktprograms See contribution guidelines
|
Closing in favor of #6027 |
Checklist
Describe the feature you want
A Confirmation Dialog should be shown when removing a Playlist from your Bookmarks.
Is your feature request related to a problem? Please describe it
When viewing a bookmarked playlist, it is too easy to accidentally click the
remove
button, and then you have to go and find the playlist again to bookmark it.Additional context
BTW I would like to work on adding this feature.
Here's where I currently am with implementing it:
Also, in which category of settings should the option to enable/disable this dialog be?
How will you/everyone benefit from this feature?
For those who enable the confirmation dialog, they will not accidentally remove the playlist.
The text was updated successfully, but these errors were encountered: