ui/blueskylogging/logVariableSearch¶
Classes¶
VariableSearchIndex¶
Defined in: ui/blueskylogging/logVariableSearch.ts:18
Constructors¶
Constructor¶
Defined in: ui/blueskylogging/logVariableSearch.ts:31
Parameters¶
makeDeps¶
() => VariableCheckerDeps
Supplies the LSVAR round-trip dependencies.
onUpdated¶
() => void
Called whenever new names enter the index (so an open suggestion list can refresh).
Returns¶
Methods¶
seed()¶
Defined in: ui/blueskylogging/logVariableSearch.ts:37
Discover the root parents (called when the dialog opens).
Returns¶
void
clear()¶
Defined in: ui/blueskylogging/logVariableSearch.ts:44
Forget everything (e.g. after connecting to a different server).
Returns¶
void
search()¶
Defined in: ui/blueskylogging/logVariableSearch.ts:83
Names matching query (case-insensitive), prefix matches first — both
on the full dotted name and on the last component, so "mass" finds
traf.perf.mass once traf.perf is indexed. Also kicks off a lazy drill
into "a.b" when the query looks like "a.b." or "a.b.c", so deeper
names stream into the index (onUpdated re-runs the search).
Parameters¶
query¶
string
Returns¶
string[]
VariableSuggestDropdown¶
Defined in: ui/blueskylogging/logVariableSearch.ts:118
Suggestion dropdown attached to the custom-variable input: filters the index as the user types, supports ArrowUp/Down + Enter + click to pick, and Escape to dismiss (without closing the surrounding modal).
Constructors¶
Constructor¶
Defined in: ui/blueskylogging/logVariableSearch.ts:128
Parameters¶
input¶
HTMLInputElement
listEl¶
HTMLElement
index¶
onPick¶
(name) => void
Returns¶
Methods¶
refresh()¶
Defined in: ui/blueskylogging/logVariableSearch.ts:157
Re-run the search for the current input value (also used by onUpdated).
Returns¶
void
isOpen()¶
Defined in: ui/blueskylogging/logVariableSearch.ts:164
Returns¶
boolean
close()¶
Defined in: ui/blueskylogging/logVariableSearch.ts:168
Returns¶
void