Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-6165

Prefs Editor Panels that have an enumerated set of options should replace the default array with the value from the primary scheme

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 3.0
    • Component/s: Prefs Framework, UI Options
    • Labels:
      None

      Description

      For panels such asĀ fluid.prefs.panel.textFont andĀ fluid.prefs.panel.contrast read in a controlValues option from the related primary schema's "enum" property. These arrays should be replaced instead of merged to avoid any conflicts with the default. For example when the primarySchema's enumeration is shorter than the components default. To address this a merge police such as the following can be used:

      mergePolicy: {
          "controlValues.theme": "replace"
      }

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jobara Justin Obara
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: