Collapsible parameters and clearer parameter errors #13

Closed
opened 2026-11-16 14:45:33 +01:00 by schmidt.florian · 1 comment
Owner

The parameter form takes a lot of space on notebooks with many parameters and included notebooks.

  • Collapse the whole parameter form and each included group; remember the choice in the browser.
  • Collapsed, show only what needs attention (missing required values, values changed from their default) and open the field on click.
  • A label with an unquoted comma in a YAML flow mapping, e.g. { label: Auth key (optional, else log in) }, reports "Unknown parameter field else log in)" at line 2. Report the parameter's own line and say that the value needs quotes.
The parameter form takes a lot of space on notebooks with many parameters and included notebooks. - Collapse the whole parameter form and each included group; remember the choice in the browser. - Collapsed, show only what needs attention (missing required values, values changed from their default) and open the field on click. - A label with an unquoted comma in a YAML flow mapping, e.g. `{ label: Auth key (optional, else log in) }`, reports "Unknown parameter field else log in)" at line 2. Report the parameter's own line and say that the value needs quotes.
Author
Owner

Done in bcf392e and the two commits before it.

  • Click the Parameters heading (caret) to collapse the form; each included group has its own caret. Both choices are remembered in the browser.
  • Collapsed, the form is one line: chips for missing required values and for values changed from their default (click opens and focuses the field), plus a clickable count of untouched defaults.
  • Parameter diagnostics point at the parameter's own frontmatter line; an unquoted comma in a flow-mapping label now says to quote the value.

Verified: typecheck; tests core 70, web 75, server 191 + 1 skipped (the watcher timing test failed once under load and passed on rerun); build; browser check at 1520px with and without chat, and at 390px.
Not verified on the deployed instance.

Done in bcf392e and the two commits before it. - Click the Parameters heading (caret) to collapse the form; each included group has its own caret. Both choices are remembered in the browser. - Collapsed, the form is one line: chips for missing required values and for values changed from their default (click opens and focuses the field), plus a clickable count of untouched defaults. - Parameter diagnostics point at the parameter's own frontmatter line; an unquoted comma in a flow-mapping label now says to quote the value. Verified: typecheck; tests core 70, web 75, server 191 + 1 skipped (the watcher timing test failed once under load and passed on rerun); build; browser check at 1520px with and without chat, and at 390px. Not verified on the deployed instance.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: FinalFactory/ShellBook#13