Skip to content

Conversation

@Gykes
Copy link
Collaborator

@Gykes Gykes commented Dec 19, 2025

This modifies the "Save" button into a split button and adds a "Save & New" option.

Updated: Performers, Studios, Tags, Scenes, Galleries, Groups

UI for Studios:

Screenshot 2025-12-20 at 18-20-36 Studios Stash

Fixes: #5921

@echo6ix
Copy link
Contributor

echo6ix commented Dec 21, 2025

This seems like the perfect use-case for making Save a split button, Save & New the alternative action.

  • Use a split button when there is a primary action that users are likely to perform most often, but there are also alternative actions they might occasionally choose.
  • To avoid cluttering the interface with multiple buttons, especially when the additional options are contextually related to the primary action.
  • When the secondary actions are contextually relevant to the primary action, providing logical grouping and enhancing user understanding of the available options.
  • When space is limited but you need to provide access to multiple related actions, a split button helps consolidate these actions in a compact format.

Example https://mui.com/material-ui/react-button-group/#split-button

@WithoutPants

@Gykes
Copy link
Collaborator Author

Gykes commented Dec 21, 2025

This seems like the perfect use-case for making Save a split button, Save & New the alternative action.

  • Use a split button when there is a primary action that users are likely to perform most often, but there are also alternative actions they might occasionally choose.
  • To avoid cluttering the interface with multiple buttons, especially when the additional options are contextually related to the primary action.
  • When the secondary actions are contextually relevant to the primary action, providing logical grouping and enhancing user understanding of the available options.
  • When space is limited but you need to provide access to multiple related actions, a split button helps consolidate these actions in a compact format.

Example https://mui.com/material-ui/react-button-group/#split-button

@WithoutPants

I like this. Never used it but seems like the better option. The next question will be do we want Save or Save & New to be default? I prefer Save

@echo6ix
Copy link
Contributor

echo6ix commented Dec 21, 2025

@Gykes Definitely, Save would have to be the primary (default) button.

@Gykes
Copy link
Collaborator Author

Gykes commented Dec 21, 2025

@echo6ix I updated the image above to reflect your recommendations. I definitely prefer your method better.

Thanks for the recommendation

@Gykes Gykes added this to the Version 0.31.0 milestone Dec 23, 2025
Copy link
Collaborator

@WithoutPants WithoutPants left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is a bit more verbose than what is necessary. I've added a note to condense the gallery implementation, but this should be rolled out to all of the types.

@Gykes Gykes requested a review from WithoutPants January 14, 2026 00:39
@WithoutPants WithoutPants added the improvement Something needed tweaking. label Jan 14, 2026
@WithoutPants WithoutPants merged commit 77d0008 into stashapp:develop Jan 14, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Something needed tweaking.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add "Save & New" button in when creating new objects

3 participants