Problem
The docs viewer's Fields display shows explicit layout-padding regions alongside real fields. It should gain an option to hide padding fields, and this option should default to on.
Notes
- The JSON backend emits padding regions today, but marks them only heuristically: padding regions have
name: null and source: null (see the schema comment at src/backends/json/schema.rs:375).
- Add an explicit
is_padding flag to JsonRegion so the viewer can filter reliably. Bump CURRENT_SCHEMA_VERSION and update the version history in docs/json_backend.md.
- The viewer's Fields display lives in
viewer/src/components/NestedFieldView.tsx (with FieldTable.tsx); the hide option should apply there. types/json.ts is regenerated via cargo run -p pyxis-driver -- gen-types.
Problem
The docs viewer's Fields display shows explicit layout-padding regions alongside real fields. It should gain an option to hide padding fields, and this option should default to on.
Notes
name: nullandsource: null(see the schema comment atsrc/backends/json/schema.rs:375).is_paddingflag toJsonRegionso the viewer can filter reliably. BumpCURRENT_SCHEMA_VERSIONand update the version history indocs/json_backend.md.viewer/src/components/NestedFieldView.tsx(withFieldTable.tsx); the hide option should apply there.types/json.tsis regenerated viacargo run -p pyxis-driver -- gen-types.