Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-7242

Preference defaults are stored

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.39.4
    • Component/s: Preferences
    • None
    • 3

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            rhys.howell@mongodb.com Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: