-
-
Notifications
You must be signed in to change notification settings - Fork 978
FR: Add Delete Button For Scene Covers #6444
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
base: develop
Are you sure you want to change the base?
Conversation
|
I'm bit hijacking this PR, but I would prefer to uniform the terminology used for the same task across different objects. As it stands right now: Scenes
Groups
Performers
Studios
Tags
|
|
So you would rather it say "Clear Image" over the trash can? If so I can take care of that tomorrow, easy fix |
|
Honestly not sure what is the best approach here, just wanted to bring up the inconsistency. |
|
Just to be clear, is this simply unlinking the cover from the scene? or deleting/cleaning the generated cover from the database? If it's the former, "clear image" makes sense. If it's the latter, probably the trash can or "delete cover". |
The latter |
|
Similar to my recent split button feedback. All the actionable items related to the cover image can be consolidated into a single cover image button, and it matches users expectations from popular tools/sites like Facebook, Notion, etc. The |
I think a destructive button shouldn't be in the same dropdown as a nondestructive dropdown. There's no reason per say just I feel like it's better to keep them somewhat segregated since they perform fundamentally different tasks. I liked adding it to the Save & New as they were essentially the same. This feature is very different from what currently exists and doesn't align with the rest of the project when using the split button. |
|
I think it has a secondary purpose of a destructive action. Its main purpose is to set and remove/destroy if something currently exists. This feature is purely designed to destroy. |
WithoutPants
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please look at the way that the performer image is cleared and use a similar implementation. It uses changesetTranslator.hasField to determine if the image is set, and uses nil to specify clearing the image, rather than "".
Clearing the image should show the default scene image rather than showing a toast notification. This will require modifying api/sceneRoutes.Screenshot to handle the default flag.
This PR adds a new clear image button next to cover image to allow users to delete the cover image of a given scene.
It currently functions in the same way that adding a scene cover works just in reverse.
Click the new remove cover button
See notification about cover removed
save scene
profit
UI:

Fixes: #4789