Poly tune#107
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.