[COMPASS-7242] Preference defaults are stored Created: 20/Sep/23  Updated: 20/Sep/23

Status: Needs Triage
Project: Compass
Component/s: Preferences
Affects Version/s: 1.39.4
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Rhys Howell Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

A preference that isn't set and is using the default value in `storedUserPreferencesProps` is currently stored to disk. This makes it so that if we update the default later on, the old default would override and persist.
We don't want to store preferences if they're default, only when they've been set.
This might be a regression. When fixing let's add a test to ensure this doesn't regress again.


Generated at Wed Feb 07 22:45:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.