Repository navigation
The logic panel's rules become cards, and every word gets to finish - #28
Merged
Merged
Conversation
Three dropdowns sharing one 250px line truncated every label to its
first two letters — "Op…", "is l…" — which turned the sentence a rule
is into a ransom note. Each rule is now a small card with its three
parts stacked at full width: the question (carrying the card's remove
button on its line), the comparison, the answer.
The answer control also earns its shape from the rule instead of
always being a bare text box: gone entirely for an operator that is a
complete statement on its own ("is empty", "has any answer"), the
source question's own choices where it has them, free text otherwise
— the same reading the canvas row gives. Switching the source
question clears the stored answer, because a value picked from one
field's choices means nothing against another's.
Between two cards sits the "and"/"or" as a chip on the seam, clickable
like its twin on the canvas; one setting governs every joint. And
every write from this panel now repaints the canvas card too — before
this, a rule edited here went stale on the card until something else
happened to redraw it.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0119U4sRRWGcTQdwYreTwpAp
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.
Redesign of the inspector's Conditional logic section, from Daniel's report: three dropdowns sharing one ~250px line truncated every label to its first two letters ("Op…", "is l…").
The new shape
all/anyselect stays in sync.QA (8889, live)
Card layout reads in full at inspector width; add rule → joiner appears; joiner click flips canvas "and"→"or" and the head select; "is not empty" collapses the card to two controls with the canvas reading "has any answer"; delete restores; demo form left in its original state.
Tests: 337 vitest pass, typecheck clean.
🤖 Generated with Claude Code
https://claude.ai/code/session_0119U4sRRWGcTQdwYreTwpAp