Issue Feature New Orphaned

#90659Default not displayed for "Installation-Wide Options" + make switching to default easier

Sybille Peters 03/06/20, 12:20 updated 03/06/20, 12:22

Description

Default not displayed

The default is not displayed for all options. In some cases, the default is written in the text, e.g. for [SYS][exceptionalErrors] “ Default is 4096 = E_ALL & …”.

The default is available in the DefaultConfiguration.php, so maybe this is easily possible to do to automatically display the default.

Also, because of #90658 the displayed current value does not always reflect the saved state.

Often, the default value is just empty string. But for values with a selection (e.g. cookieSecure, cookieSameSite), how do you know which is the default and how do you switch to the default if you don’t know?

Some ideas:

  • display the default value in a different style
  • or display the default, only if the current version is different from default, along with current value, e.g.
[BE][cookieDomain] = mydomain (default: '')

How do you switch to the default?

  • if you want to change a specific setting to the default, you often can if there is a text field by emptying the text field. But, this is not immediately intuitive.
  • Having a button “Set to default” or “Set all values to default” might be helpful

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[FEATURE] Default not displayed for "Installation-Wide Options" + make switching to default easier Resolves: #90659 Releases: main