Skip to content

polytag/views: renderShell, the panes of a view (S4 of #3) - #41

Merged
thorwhalen merged 2 commits into
mainfrom
feat/3-shell
Dec 1, 2026
Merged

thorwhalen merged 2 commits into
mainfrom
feat/3-shell

Conversation

@thorwhalen

@thorwhalen thorwhalen commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Part of #3. renderShell(el, model, { profile }) composes the lens's shell (single, two-pane, three-pane; inspector false drops it): a filter box (IME-safe, follows outside changes), a navigator over the model's scopes (tree, columns, facets, chips; auto follows the profile; counts; aria-current; a click goes to the scope the model gave the button), the layout, and an inspector (how many selected and how many the filter hides; up to 20 items with chips and only the fields the lens lists; one tag button per assignable tag, aria-pressed true/false/mixed, what a press does as its title; a persistent new-tag box). Mod+Z, Mod+A and Escape work from anywhere but a text field. Dependency-free and tag-agnostic; it runs the whole 12-point contract through its real controls with no pending point. Independent adversarial review: 12 findings fixed test-first.

…ayout, inspector with tag controls) through the whole contract (S4 of #3)
…, capped inspector, scopes by value, keys from anywhere but text fields, persistent boxes, IME-safe filter, one owner per element, plain nested lists) (S4 of #3)
@thorwhalen
thorwhalen merged commit 00309e4 into main Dec 1, 2026
3 checks passed
@thorwhalen
thorwhalen deleted the feat/3-shell branch December 1, 2026 19:16
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