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

Ask user before killing an active scene #42

Merged
merged 43 commits into from
Oct 27, 2024
Merged

Ask user before killing an active scene #42

merged 43 commits into from
Oct 27, 2024

Conversation

Splines
Copy link
Member

@Splines Splines commented Oct 27, 2024

Closes #36.

When a user has a scene open and executes the command Start scene at cursor, currently the active session is closed and the new one spawned. Instead, we now want to ask the user if they really want to close the active scene. They have multiple choices:

image

When the Kill it (don't ask again) option is chosen, a workspace setting is updated accordingly. The user can go to the settings to re-enable the confirmation. The user is also informed that such a setting exists.

@Splines Splines self-assigned this Oct 27, 2024
@Splines Splines marked this pull request as ready for review October 27, 2024 15:23
@Splines
Copy link
Member Author

Splines commented Oct 27, 2024

Don't merge this one without having correctly set the base branch ⚠

Base automatically changed from fix/overlapping-commands to main October 27, 2024 18:41
Copy link
Collaborator

@bhoov bhoov left a comment

Choose a reason for hiding this comment

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

Nice functionality, good presentation. I approve.

@bhoov bhoov merged commit d052a9a into main Oct 27, 2024
@bhoov bhoov deleted the feature/scene-killing branch October 27, 2024 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Start scene should warn before killing active session
2 participants