Put each page's settings on that page
A watchdog threshold was reachable only from the bottom of a list of a hundred and twenty on another tab.
This commit is contained in:
@@ -107,6 +107,20 @@ const VV_UI_SECTION_SURFACES = [
|
||||
'tab' => 'AI',
|
||||
'route' => 'AI tab → Settings → Configuration',
|
||||
],
|
||||
// Subject pages first, so a setting named after the page you are already on is found there
|
||||
// rather than at the bottom of a list of a hundred and twenty. The catch-all below still
|
||||
// carries all of them, and the map lists both routes because both are true.
|
||||
['match' => 'watchdog', 'tab' => 'Watchdog',
|
||||
'route' => 'Watchdog tab → Watchdog settings'],
|
||||
['match' => 'rsync', 'tab' => 'Rsync',
|
||||
'route' => 'Rsync tab → Rsync settings'],
|
||||
['match' => 'fallback|tier', 'tab' => 'Fallback',
|
||||
'route' => 'Fallback tab → Fallback settings'],
|
||||
['match' => 'arr|sonarr|radarr|lidarr', 'tab' => 'Arrs',
|
||||
'route' => 'Arrs tab → Arr settings'],
|
||||
['match' => 'docker', 'tab' => 'Docker',
|
||||
'route' => 'Docker tab → Docker settings'],
|
||||
|
||||
// Everything that is not structurally excluded. The catch-all exists so no ordinary setting
|
||||
// is reachable only by editing a file — a settings page whose answer to a third of the conf
|
||||
// is "open it over SSH" is not a settings page.
|
||||
|
||||
Reference in New Issue
Block a user