Skip to content
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

Make cancel default on delete/clear #1546

Merged

Conversation

DavidFair
Copy link
Contributor

@DavidFair DavidFair commented Mar 21, 2022

Changes
Select cancel by default on confirmation dialog

Select cancel so a user doesn't accidentally delete media by hitting
delete twice. Since we ask it's worth adding this extra step, if we need
to remove the extra step it's arguable we can completely remove alert
dialog all-together

Testing
Ensure that the user account can delete media

  • Go to a random video
  • Attempt to delete
  • Ensure cancel is selected by default

Select cancel so a user doesn't accidentally delete media by hitting
delete twice. Since we ask it's worth adding this extra step, if we need
to remove the extra step it's arguable we can completely remove alert
dialog all-together
This reduces the verbosity and boilerplate around the methods. It makes
sense to do these whilst we're touching the code.
@nielsvanvelzen nielsvanvelzen added this to In progress in v0.14.0 via automation Mar 22, 2022
@nielsvanvelzen nielsvanvelzen merged commit ca9c700 into jellyfin:master Mar 22, 2022
v0.14.0 automation moved this from In progress to Done Mar 22, 2022
@nielsvanvelzen
Copy link
Member

Some while ago we discussed the delete function and I believe we decided the app shouldn't have a delete button for items. So we'll probably remove it at some point.

@DavidFair DavidFair deleted the Move_default_delete_selector branch March 22, 2022 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
v0.14.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants