Repository navigation
Stage, compare and explore boolean and choice parameters in Design variants - #48
Merged
Merged
Conversation
…ndow (B.02, G.03)
The Design variants window treated every program parameter as a number. Edit
value rejected a text choice ("Enter a finite numeric value"), accepted any
number for a boolean or numeric choice and failed later, and Explore values
read numbers only, so typed parameters were compared and saved through the
tool.
- The parameter list shows On/Off or the chosen value with the declared list.
A row wider than the list scrolls sideways instead of being cut.
- Edit value keeps the numeric editor for a number, switches a boolean and
opens the declared list of a numeric or text choice, taken by position.
- Explore values opens on the selected parameter with its own trial values
(min, current and max, or every declared value) and offers another
parameter's values when that parameter is chosen. It reads On/Off words and
listed texts; a listed text holding a comma is matched whole. No trial
values, or the offered ones left unchanged, means every declared value. An
unlisted value stays a failed trial, as in the tool.
- Result rows and thumbnails name the value each trial tried.
- The explore guidance now fits the two lines the shared dialog shows.
- Text goes to and from the shared field dialog in the system code page, so
accented choice text shows and is typed correctly.
parametricProgramParameterKinds exposes the engine's own kind rule so the
window does not restate it. The tool, the document format and release.json
are unchanged: this is not a new distributable iteration.
Local evidence, MSVC Release with OCCT:
- studio-design-variants-ui installs a second program with a boolean, a
numeric choice and a text choice whose list holds a comma, an accent and a
letter outside the Western code page. Each is staged from the window's
controls; Preview reports the exact 16800 mm3 volume and 12 mm height of the
staged choices; Apply publishes one revision with matching objects; two
named variants are saved with text and 1/0 values, compared, loaded and
reopened from disk; exploration covers listed, comma-holding, unlisted,
offered, emptied, boolean-word and rejected trial values without publishing.
- Captures .typed, .typed-choice-dialog, .typed-explore and
.typed-explore-dialog were inspected, with the existing .compact capture.
- parametric-programs checks the exposed kinds against the compile report.
- design_variants, parametric-programs, studio-program-hud-ui,
-parametric-hud-ui, -parametric-graph-ui, -parametric-authoring-ui,
-parametric-role-ui, -geometry-nodes-ui, -team-blockers-ui, release-evidence
and release-metadata pass.
Not run: the full native and Studio suites, and any live provider. Hosted CI
runs no Studio UI checks. Text outside the system code page can be picked and
explored from the offered values but not typed as a trial value. The Trial
values label is still cut by the shared dialog.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
CenturyMesh
enabled auto-merge
November 18, 2026 00:48
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.
Problem and resulting behavior
In Studio, the Design variants window treated every program parameter as a number. Edit value rejected a text choice ("Enter a finite numeric value"), accepted any number for a boolean or numeric choice and failed later, and Explore values read numbers only. Typed parameters therefore had to be compared and saved through the tool.
The window now follows the parameter kind:
Scope and contracts
design_variantstool, the document format orrelease.json; this is not a new distributable iteration.parametricProgramParameterKindsexposes the engine's existing kind rule so the window does not restate it. It returns whatvalidateandinspectalready report asparameter_kinds.1/0for a boolean, the listed text for a text choice.Verification
Local, MSVC Release with OCCT and
-DARK_TEST_STUDIO_LIVE=ON:studio-design-variants-uipasses. Its new section installs a second program with a boolean, a numeric choice and a text choice whose list holds a comma, an accent and a letter outside the Western code page.1/0values, compared, loaded and reopened from disk.parametric-programspasses, including a new check of the exposed kinds against the compile report.design_variants,studio-program-hud-ui,studio-parametric-hud-ui,studio-parametric-graph-ui,studio-parametric-authoring-ui,studio-parametric-role-ui,studio-geometry-nodes-ui,studio-team-blockers-ui,release-evidenceandrelease-metadatapass..typed,.typed-choice-dialog,.typed-exploreand.typed-explore-dialog(1160x780), and the existing.compact(980x700).Not run: the full native and Studio suites, and any live provider. Hosted CI runs no Studio UI checks, so the UI evidence above is local only.
Review checklist
🤖 Generated with Claude Code