Expand description
The content contract between a section and the dashboard compositor.
A DashboardSection never touches cells,
theme ids, or the renderer. It emits a DashboardFragment: styled,
aligned, optionally-linked text. The compositor (DB.2+) turns fragments
into a branding virtual-row block plus document body. Keeping this the
single content type is what lets built-in sections (native Rust) and
future plugin sections share one pipeline.
Structs§
- Dashboard
Fragment - One section’s rendered contribution: an ordered list of visual lines.
- Dashboard
Row - One visual line: spans laid out left→right, with a line-level alignment.
- Dashboard
Span - A run of text with a semantic role and an optional link target.
Enums§
- Align
- Line-level alignment.
Rightis reserved (no consumer yet). - Dashboard
Role - Semantic style role. Never a colour — each role resolves to a
dashboard.*theme element at compose time (DB.3). - Link
Target - A link a
<CR>follows. Mirrors the help-bufferscheme:valuemodel so DB.2 reuses the help follow mechanism rather than inventing one.