[1.0.0-alpha1] Replace "Settings" by an InstanceTitle island

Created on 20 June 2025, 5 days ago

Problem/Motivation

While working on 📌 [1.0.0-alpha1] Replace sidebars modals by drawers Active we removed InstanceButtons island (machine name: instance) because it was not necessary anymore.

However, we have lost the information about the current instance we are editing. We have a "Settings" title instead:

Proposed resolution

Add a InstanceTitle island (machine name: instance):

which is displaying SlotSourceProxy::getLabel() and reacting to:

  public function onActive(string $builder_id, array $data): array {
    return $this->reloadWithLocalData($builder_id, $data);
  }
  public function onDelete(string $builder_id, string $parent_id): array {
    return $this->reloadWithLocalData($builder_id, []);
  }

Or which is displaying SlotSourceProxy::getLabelWithSummary() (once 📌 [1.0.0-alpha1] Use PluginSettingsInterface::settingsSummary() Active ) and also reacting to:

  public function onUpdate(string $builder_id, array $data): array {
    return $this->reloadWithLocalData($builder_id, $data);
  }
📌 Task
Status

Active

Version

1.0

Component

UI/UX/Islands

Created by

🇫🇷France pdureau Paris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024