Skip to main content

Module status_line

Module status_line 

Source
Expand description

The status line, in the diagram’s bottom-right corner: plain muted text, no container (docs/cad-ui-spec.md §2.0.1). Ambient information is not a control and must not look like one. The corner is the one nothing else claims — the sidebar’s panel opens over the left and the toolbar sits in the middle.

Two lines. The first says the most relevant thing there is to say, in one fixed priority; the second is the title block — who, which rev, and when — which describes the drawing being looked at, so under the lens it is the earlier rev’s.

It is glass over the canvas, so it measures itself and tells the shell what it covers; that is the safe region a framing centres in.

Re-exports§

pub use StatusLine_completions::Component::StatusLine;

Structs§

StatusLineProps
Properties for the StatusLine component.

Enums§

Says
What the first line says, in the order it is picked. The enum’s own order is the priority.

Constants§

DWELL 🔒
How long a confirmation holds the line before it falls back.

Functions§

StatusLine
Props
covers 🔒
What this band covers of the diagram, in the canvas’s own coordinates — the two share a positioned parent, so the offsets are already those.
writing
How much the journal still owes the origin — the one thing on this host that is committed but not yet on disk.