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

Detect if storage has changed #147

Closed
WesleyBranton opened this issue Apr 29, 2022 · 1 comment · Fixed by #150, #153 or #161
Closed

Detect if storage has changed #147

WesleyBranton opened this issue Apr 29, 2022 · 1 comment · Fixed by #150, #153 or #161
Assignees
Labels
enhancement New feature or request P3 This issue is considered medium priority

Comments

@WesleyBranton
Copy link
Owner

There are some scenarios where what's in the Storage API may have changed compared to what's on the user settings pages. For example, if the user is editing rules and adds a new rule via the popup window. Also, there's not technically anything preventing the user from opening the settings in more than one tab.

This could cause some data to be overwritten.

The options page should detect when there is a change in the Storage API and warn the user before saving the settings.

@WesleyBranton WesleyBranton added enhancement New feature or request P3 This issue is considered medium priority labels Apr 29, 2022
WesleyBranton added a commit that referenced this issue May 4, 2022
@WesleyBranton WesleyBranton self-assigned this May 4, 2022
@WesleyBranton
Copy link
Owner Author

On Chromium, the user is getting this dialog when they save their scrollbar for the first time. The flag to ignore the next settings change appears to be set at the wrong time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P3 This issue is considered medium priority
Projects
None yet
1 participant