Skip to main content

Module components

Module components 

Source

Modules§

autocomplete
autosave_timer
backlinks_panel
dialogs
event_state
events
file_list
footer_bar
indexing
note_browser
overlay
The Overlay trait and its supporting types — the contract every editor overlay (note browser, Saved Searches modal, or dialog) implements so the OverlayHost can route input / app-messages / render to it uniformly.
panel
The Panel seam — the persistent editor-screen surfaces (sidebar, editor, Query panel) behind one interface, the persistent-surface counterpart to the Overlay trait. See CONTEXT.md (“TUI surfaces”).
query_vars
Query variables: {name} placeholders the TUI resolves to runtime values before a query reaches core (see CONTEXT.md “Query variable” ). Core’s query language never sees these.
saved_search_breadcrumb
The saved-search breadcrumb shared by the Query panel and the Ctrl+K note browser: which saved search the current query came from, with a • edited marker once the live query diverges (any text divergence counts, including the order directive — the stored query is saved verbatim). Sticky provenance — it survives edits, and is dropped only when the query becomes blank (host-defined: an empty field, or the panel’s default backlinks query) or another saved search is expanded.
saved_searches_modal
Global “Saved Searches” picker modal.
search_list
SearchList: the one module behind every query-input-over-an-async-loaded list surface in the TUI. See CONTEXT.md.
settings
sidebar
single_line_input
Reusable single-line text input.
text_editor

Traits§

Component

Functions§

centered_rect
Centre a popup occupying percent_x% × percent_y% of area.