pub fn feature_hidden_params(feature_type: &str, values: &Value) -> Vec<String>Expand description
The DIALOG FIELD-VISIBILITY hook, kernel-owned like the schemas themselves.
Given a feature’s type (its shortName, e.g. "H") and the dialog’s
CURRENT param values, return the param keys that should be HIDDEN for those
values — the choke point every schema-driven dialog consults to decide which
fields to draw. A feature opts in by exposing its own hidden_params(values)
beside its schema() (see features::hole::hidden_params); the mechanism is
uniform across every dialog, and a feature that declares no hook (or an
unknown type) hides nothing, so all its fields stay visible.
The form engine is immediate-mode and re-runs this every frame against the live values, which is what makes one pure function serve both “the dialog was just opened” and “a field just changed” — there is no separate event to wire.