Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-2138

Add settings for features

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.4.4
    • Component/s: GUI
    • Release Notes Summary:
      Added a features tab to the settings
    • Release Notes Description:
      Hide

      A new Features tab has been added to the Settings. This tab contains a list of switches for all features that may be activated/deactivated in one-click.
      When changing the state of a feature, the new user preferences are saved into the local configuration file, thus permitting their persistence.

      Show
      A new Features tab has been added to the Settings. This tab contains a list of switches for all features that may be activated/deactivated in one-click. When changing the state of a feature, the new user preferences are saved into the local configuration file, thus permitting their persistence.
    • Tags:
    • Sprint:
      nxDrive 11.1.33, nxDrive 11.1.34, nxDrive 11.1.35
    • Story Points:
      3

      Description

      Add a new tab in the settings: Features.

      • Position: after General.
      • The contents is a list of switches for every feature.
      • The default state is the one from Options.

      When changing a state, the preference is written into the local configuration file (updated or may need to be created):

      [DEFAULT]
      env = features
      
      [features]
      feature.name = true/false
      

      The local config part needs tests to be sure old parameters are not lost, and that feature on/off is well handled.

      Why Write to the Local Config File?

      1. Because this is the only way to persist preferences about features. Drive will load the file and adapt its components based on what it will find.
      2. Because saving the feature state into the database would make the configuration handling even more hard to follow and handle: just keep it as complex as it already is.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 1 day
                  1w 1d