Skip to content

Poly tune#107

Merged
daveshanley merged 3 commits into
mainfrom
poly-tune
May 29, 2026
Merged

Poly tune#107
daveshanley merged 3 commits into
mainfrom
poly-tune

Conversation

@daveshanley

Copy link
Copy Markdown
Member

No description provided.

Replace the per-call sorts in LocateModelsByKeyAndValue, LocateModel, and LocateModelByLine with a shared stableLocatedModels helper that dedupes by JSON path and sorts on a composite key (path, key/value node line:column, type), so repeated lookups return a stable, deterministic set.

Publish hydrated child schemas to the object channel when a schema is materialized from the cache, walking allOf/oneOf/anyOf, prefixItems, contains, if/else/then, propertyNames, not, properties, pattern/dependent properties, and items/additionalProperties/unevaluatedProperties with cycle protection, so cache-hydrated children remain discoverable during traversal.

daveshanley/vacuum#879
Add `constrained` and `popover-context` modes to pp-schema-properties so
oneOf/anyOf variants render via a compact dropdown selector (with selection
state and single-variant handling) instead of an overflowing tab rail when
horizontal space is tight. Drive tab-rail and layout widths from CSS variables
with measured fallbacks.

Make ref-popover size to its rendered content, measuring width across shadow
boundaries with viewport clamping and guarding stale show requests on
disconnect. Pass `constrained`/`popover-context` through from the media-type
selector and ref-popover.

Show an extension count in the model page Extensions summary
(modelExtensionsSummary helper) and cover it with templ_model_test.go. Update
component tests and regenerate the bundled static JS/CSS.
@daveshanley daveshanley merged commit 7ac3f5d into main May 29, 2026
3 checks passed
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