Skip to content

ui: per-field labels and column selection for crud screens (refs #330) - #335

Merged
jimhoyd merged 1 commit into
mainfrom
feat/crud-screen-labels-columns-330
Sep 20, 2026
Merged

jimhoyd merged 1 commit into
mainfrom
feat/crud-screen-labels-columns-330

Conversation

@jimhoyd

@jimhoyd jimhoyd commented Sep 20, 2026

Copy link
Copy Markdown
Collaborator

Refs #330 (does not close it: filtering and sorting remain).

  • columns on a screen (screens.<path>.columns, or the crudScreen option) selects, orders and relabels fields: a name or {field, label}. Default output is byte-identical.
  • Validation names the offending key: unknown/duplicate field, bad or oversized label, extra keys, and omitting a required field with no default (unless readOnly). The extension checks at activation, so a bad config fails the start.
  • Labels flow through the existing escaped JSON attribute and textContent; the crud client script is unchanged (no inline script, hash unchanged, edit-text and checkbox-rollback tests untouched).
  • Docs: ui README/CHANGELOG, docs/STORE.md. Scaffold left as is (default config unchanged).
  • Filtering/sorting: no store features built. docs/OPEN-DECISIONS.md records a bounded recommendation (declared sortable/filterable lists, single-field sort, equality filters, no expressions).
  • Size: ui unpacked 356,244 bytes vs 358,400 budget in scripts/package-audit.ts (about 2 KB headroom); budget not raised.
  • npm run verify (with verify:workspaces) and check:docs pass; docs:llms produced no diff.

🤖 Generated with Claude Code

@jimhoyd
jimhoyd merged commit 4be8a9c into main Sep 20, 2026
20 checks passed
@jimhoyd
jimhoyd deleted the feat/crud-screen-labels-columns-330 branch September 20, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant