Expand description
Popup placement model – re-exported from
lattice-core::ui::popup.
Moved from lattice-ui-tui in Phase 5.2 first wave.
Structs§
- Help
Metadata - M.3.2.c.5: parsed-out metadata that travels alongside a
freshly-constructed
HelpBuffer. Bundles the data the help-mode owns per-buffer so the App can seed it intobuffer_locals[id]at popup-open time. Replaces thelinks/anchors/highlightsfields that used to live directly onHelpBuffer. - Popup
Snapshot - Renderer-agnostic snapshot of a help popup’s content + view +
metadata, pushed onto the
<C-o>back-stack when following a help link swaps the popup’s content in place. PU-A.2: moved here fromlattice-host— this is help’s back-stack history, not generic popup state, so it lives with the rest of the help model.
Enums§
- Popup
Focus - Whether opening a popup moves focus into it. Names the distinction the code already makes between the two overlay entry points, so any popup kind (help, ACP permission menu, LSP code-action list) picks a focus mode without dragging in help-buffer machinery.
- Popup
Placement - Where the popup overlay anchors on screen.