Expand description
What the session has to say about its document, and what the shell has to say about itself.
Two surfaces, because they are two kinds of thing. The strip carries
the session’s notices: a standing fact stands until the fact does, and a
failure carries an acknowledgement and is gone for the rest of the session
once it is given — an error nobody can dismiss makes the editor unusable.
The toast carries what the shell itself could not do; it is reserved
for events that need attention (docs/cad-ui-spec.md §2.0.2), and keeping
it rare is what keeps it noticeable, so routine confirmations go to the
status line instead.
Re-exports§
pub use Notices_completions::Component::Notices;pub use Toast_completions::Component::Toast;
Structs§
- Notices
Props - Properties for the
Noticescomponent. - Toast
Props - Properties for the
Toastcomponent.
Constants§
- DWELL 🔒
- How long a toast holds before it leaves.
Functions§
- Notices
- Props
- Toast
- What the shell itself could not do. One message at a time — a newer one replaces whatever is showing — and it takes no room from the canvas: glass floating over the middle is not a wall. It stands above the toolbar, which holds the bottom centre.
- acknowledgements
- One notice as the strip draws it: what it says, and the acknowledgement it carries if it is a failure.
- covers 🔒