Skip to content

Areablock ignores per-brick needsReload() in Studio UI #356

Description

@GAL-CS

Affected Version

2026.2

Affected capability

Documents

Steps to reproduce

  1. Create an areabrick whose needsReload() returns true.
  2. Open a document with an areablock (without reload: true on the editable) in Studio UI edit mode.
  3. Add the brick to the areablock.

Actual Behavior

The brick is inserted without a page reload; needsReload() has no effect. The needsReload flag is passed from the backend (EditableHandler) and declared on the AreaType interface in areablock-editable.tsx, but is never read anywhere in the areablock code. Reload is driven solely by the areablock-level config.reload (isReloadMode = Boolean(config?.reload)).

Expected Behavior

Adding a brick whose needsReload() returns true reloads the affected area/document, matching the legacy AdminBundle edit mode behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Platform Version

    2026.2

    Affected capability

    Documents

    Galaxy

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions