Skip to main content

User Settings

userSettings applies the viewer's preferences per panel: hide a panel, turn off its overlays, or set a panel's own option. It is keyed by panel type.

m.maestro.userSettings = {
PANEL_TYPE: {
hide_panel: false
disable_overlays: true
}
}
SettingDefaultEffect
hide_panelfalsetrue removes the panel and its tab
disable_overlaysfalsetrue skips the panel's overlays and hides one already on screen
any other keynoneWritten to the panel's field of that name; each panel documents the ones it takes
  • Set it any time; once panels are built, each write rebuilds them.
  • To undo hide_panel or disable_overlays, write it as false: leaving the key out keeps the previous value.
  • Settings are applied on every panel build, before setDataToPanel data and the panel's config from Maestro, so those win for the same field.
  • The SDK doesn't store settings between runs: keep the viewer's choices in your own registry section and set userSettings with each session.

See the userSettings reference.