Convert the messages to shoelace toast?

Created on 6 September 2025, 25 days ago

Problem/Motivation

We are currently displaying some error messages in a area of the display builder:

  <div class="display-builder__main">
    <span id="message-{{ builder_id }}"></span>
    {{ view_main }}
  </div>

See RenderableBuilderTrait::buildError().

And we want to also use this area for notifications: [3542797]

However, it seems shoelace alerts is not the best component for this kind of messages because of the duration management.

Proposed resolution

Use shoelace's toast instead of alerts?

📌 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