plugin-api/SettingsPanelRegistry#
useSettingsPanels()#
React hook that returns all registered settings panels, re-rendering on changes.
Returns#
settingsPanelRegistry#
SettingsPanelDef#
Properties#
applies?#
How the panel's changes take effect; shown under its title. Omitted, no line is shown.
component#
icon?#
id#
isVisible?#
Optional predicate that determines whether this panel tab should be shown.
Returns#
boolean
label#
order#
searchKeywords?#
Extra terms Settings search matches this panel by, beside its label and field labels.
SettingsApplyMode#
How a panel's changes take effect, stated once under its title.
instant: on change.device: sent to the connected device on change.next_scan: on scans processed after the change.restart_prompt: on change, except the fields that ask for a restart.admin_restart: after an administrator confirms and the backend restarts.