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

Color scheme modal should save on change (rather than on confirm) #18

Open
MaximoMachado opened this issue Jan 17, 2023 · 3 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@MaximoMachado
Copy link

Currently the onClose handle for the model calls onCancel rather than onConfirm. As a user, I found it jarring to see the color scheme I selected change suddenly when I exited because I didn't explicitly click the save button. Maybe in the future if there are more preference settings it makes sense for clicking outside the modal to be the same behavior as Cancelling but from an intuitive sense, it felt incorrect.

Now I could be wrong here so opening up this issue for discussion. I'm curious how other people feel about it and whether they feel like it makes more sense to cancel on clicking outside the modal or if it makes more sense to save on clicking outside the modal. It would be a simple change either way so mostly a design choice.

@cjquines
Copy link
Member

i think it makes more sense to have a modal prompt for onCancel anyway i think

@SuperC03 SuperC03 self-assigned this Feb 13, 2023
@psvenk
Copy link
Member

psvenk commented Feb 13, 2023

Alternatively, we could have the modal refuse to close (but rather show some sort of animation) when clicking outside, to alert the user that they should explicitly save or cancel.

@YoVishruthK
Copy link
Collaborator

autosave every time a change is made

@cjquines cjquines added enhancement New feature or request good first issue Good for newcomers labels Sep 12, 2023
@cjquines cjquines changed the title Should clicking outside modal to exit preferences be equivalent to clicking save? Color scheme modal should autosave on clicking out Sep 12, 2023
@cjquines cjquines changed the title Color scheme modal should autosave on clicking out Color scheme modal should save on change (rather than on confirm) Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

5 participants