LightningWeb.Components.SandboxSettingsBanner (Lightning v2.19.0-pre)

View Source

Banner shown at the top of a Project Settings tab when the project is a sandbox, communicating how changes on that tab will (or will not) flow to the parent project on merge.

Three variants:

  • :local — changes apply only to this sandbox and do not sync on merge
  • :editable — changes will sync to the parent on merge
  • :inherited — settings are read-only, managed in the parent project

Examples

<.sandbox_settings_banner variant={:local} />

<.sandbox_settings_banner
  variant={:inherited}
  parent_project={@parent_project}
/>

Summary

Functions

sandbox_settings_banner(assigns)

Attributes

  • variant (:atom) (required) - Must be one of :local, :editable, or :inherited.
  • id (:string) (required)
  • parent_project (:map) - Defaults to nil.