feat(editor): the held reason shows in a bubble by its button

This commit is contained in:
bchanot committed 2026-11-19 20:50:56 +01:00
1 parent 031826dced
commit 49f0144729
11 files changed
+313 -79

No files matched your search

+8
View File
@@ -276,6 +276,14 @@ is one rule in `styles/index.css`, scoped to `[data-editor-workspace]` through
its targets with the strip's height added. It excludes the strip's commands and a
dialog's controls, and the bar itself lies outside the workspace.
A press on a held « Défaire » or « Refaire » (D1, criterion 33) says why in a bubble under
that button, on every tab. It is a `role="status"` element portalled to the body with
`position: fixed` (no layout shift), at z-20: over the sticky strip and the pinned column,
under the top bar (z-30, and it never sits higher than the bar's bottom) and the modal
dialogs. Its right edge follows the button's, kept 8 px inside the window. It ends with the
hold, a tab change, the focus leaving the button, a press elsewhere, or Escape, which it
takes before any other Escape.
A creation (U2 Task 7, A2, A4, A12) is drawn by the overlay too, never by the
core, since the new shape is not in the document until « Créer »: