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

Confirmation for changing theme #4313

Merged
merged 5 commits into from
Jan 30, 2025

Conversation

therealharshit
Copy link
Contributor

Currently the theme changes without giving a confirmation and refresh the browser.

I have added a confirmation message for theme change,

vedio:

theme-confirmation.mp4

on clicking the text message the browser refresh and new theme is applied.

@walterbender we have the same workflow for changing the language, so I thought we should also have that kind of workflow for changing the theme.
Please review.

@therealharshit therealharshit changed the title Confirmationte for changing theme Confirmation for changing theme Jan 27, 2025
@omsuneri
Copy link
Contributor

@therealharshit i think this feels somewhat outdated stuff actually directly changing the theme is pretty nice so dont think it must be changed well lets see what everyone suggest

@therealharshit
Copy link
Contributor Author

@therealharshit i think this feels somewhat outdated stuff actually directly changing the theme is pretty nice so dont think it must be changed well lets see what everyone suggest

Since changing of theme requires a refresh I think users should get an alert before the refresh.

@omsuneri
Copy link
Contributor

@therealharshit i think this feels somewhat outdated stuff actually directly changing the theme is pretty nice so dont think it must be changed well lets see what everyone suggest

Since changing of theme requires a refresh I think users should get an alert before the refresh.

seems well

js/toolbar.js Outdated Show resolved Hide resolved
js/toolbar.js Outdated Show resolved Hide resolved
js/toolbar.js Outdated Show resolved Hide resolved
@walterbender walterbender merged commit e3308f7 into sugarlabs:master Jan 30, 2025
4 checks passed
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.

3 participants