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

Save preferences in sequence #856

Merged
merged 1 commit into from
Feb 23, 2022
Merged

Save preferences in sequence #856

merged 1 commit into from
Feb 23, 2022

Conversation

msujew
Copy link
Contributor

@msujew msujew commented Feb 22, 2022

Closes #830

For some reason, you cannot save preferences in parallel. I assume this is due to eclipse-theia/theia#10562, but I'm not 100% sure. I'll create an issue in the Theia repo as well. But for now, this works fairly well.

This also adds an additional guard to the window.reload() when changing the preferences to not reload the app when the nls.locale variable is undefined (this indicates that the app runs in English).

@msujew msujew requested a review from fstasi February 22, 2022 15:45
@msujew msujew force-pushed the msujew/preference-fixes branch from 073578c to 05ca5fe Compare February 22, 2022 19:44
Copy link
Contributor

@per1234 per1234 left a comment

Choose a reason for hiding this comment

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

This fixes #830 for me.

Thanks @msujew!

@msujew msujew merged commit bc3cb0c into main Feb 23, 2022
@msujew msujew deleted the msujew/preference-fixes branch February 23, 2022 10:08
@per1234 per1234 added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Feb 23, 2022
@kittaakos kittaakos mentioned this pull request Nov 11, 2022
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Changes to some preference are not remembered
2 participants