Repository navigation
Conditional questions: checkboxes as trigger - #3834
Open
AndyScherzinger wants to merge 2 commits into
Open
AndyScherzinger wants to merge 2 commits into
AndyScherzinger wants to merge 2 commits into
Conversation
This was referenced Nov 4, 2026
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
AndyScherzinger
force-pushed
the
feat/conditional-questions-2-checkboxes
branch
from
November 4, 2026 14:07
97bcf09 to
924a809
Compare
AndyScherzinger
force-pushed
the
feat/conditional-questions-1-base
branch
from
November 4, 2026 14:07
b833f24 to
9d9b414
Compare
AndyScherzinger
force-pushed
the
feat/conditional-questions-2-checkboxes
branch
from
November 4, 2026 14:20
924a809 to
d06f7a4
Compare
A checkbox trigger activates a branch when all options of one of its option combinations are selected, so several branches can be shown at once. The condition editor picks the combination, copies of a question map the option ids of the combinations to the copied options, and the extra settings only accept integer option ids. The code comes from the original pull request #3123 by Micke Nordin and TimedIn, with the review fixes applied. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Checkbox conditions store a combination in optionIds, but the branch label only read optionId, so every checkbox branch was called "Branch 1", "Branch 2" and so on, also in the names of its group and buttons. The label now lists the options of the combination. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
AndyScherzinger
force-pushed
the
feat/conditional-questions-2-checkboxes
branch
from
November 4, 2026 16:51
d06f7a4 to
fc6e821
Compare
AndyScherzinger
force-pushed
the
feat/conditional-questions-1-base
branch
from
November 4, 2026 16:51
20f7fab to
21f29c0
Compare
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.
Part 2 of the conditional questions stack from #3123 (by Micke Nordin, with fixes by TimedIn and the review fixes). Based on #3833; the "Files changed" tab shows only this part.
Stack
This PR
A checkbox trigger shows a branch when all options of one of its option combinations are selected. Several branches can be shown at once.
It also fixes the branch label for checkbox triggers: it read
optionIdonly, so every checkbox branch was called "Branch 1", "Branch 2", also in the names of its group and buttons. It now lists the options, e.g. "Nuts + Gluten".Tests
IUserFoldererrorsmainhas as well.🤖 AI (if applicable)