Skip to content

v2.0.1

Choose a tag to compare

@tcgbp tcgbp released this 06 Oct 12:45
· 76 commits to master since this release

Six UI defects in the floating panel and the alert surfaces — all of them "it was there but you could not use it".

Floating panel. It was placed by setting ONE edge and leaving its height to max-height: 70vh, so with the ⚡ anywhere but near the opposite edge it landed partly outside the window — measured at top: -186px for a mid-page button, which clips the panel's header, and -616px for a button near the top. It now tries the configured side, then the other, then turns the corner and sits beside the button, clamped into the window on both axes. Its height is never touched. The horizontal clamp was wrong in the same shape: a button near the right edge put the panel's right edge 80px past the window.

Alert surfaces. The toast, the alert dropdown and the alert detail modal carried fixed z-indices (1200/1200/2200) while the panel's level is the user-settable triggerLayer — so the shipped 2000 preset put the panel on top of the toast and of the dropdown anchored to the trigger. All three now derive from that one setting, floored at 1100.

Toast. It was pinned to the window's top-right, a screen away from the conversation it reports on; it is now anchored to the conversation viewport's content corner — inside the scrollbar gutter, giving way to the right-side turn rail — and kept there by a ResizeObserver on that viewport, because the sidebar opening or the sash moving changes the conversation's box without firing a window resize. With no conversation on screen it falls back to the window corner.

Toast, accessibility. Each card now carries role="alert" for critical/error and role="status" otherwise, and prefers-reduced-motion: reduce drops the exit slide and the progress animation while keeping the fade.

Toast switch. It was hidden while the panel was rendered by dock-base even though the toast keeps running there — a popup with no way to turn it off. Shown in both modes now.

Cluster fold control. Its hit area was the glyph plus padding: 2px 22px; it is now the whole bottom row of the card, with distinct static and hover colours, and it is not drawn when the cluster's master switch is off and the body would be empty.

No published surface changed: no switch added, renamed or removed, no field, type or route touched.