feat(expert): grouped clarifying questions UI + render robustness#7556
Open
andypalmi wants to merge 2 commits into
Open
feat(expert): grouped clarifying questions UI + render robustness#7556andypalmi wants to merge 2 commits into
andypalmi wants to merge 2 commits into
Conversation
added 2 commits
June 18, 2026 11:50
Replace the flat quick-replies renderer with QuestionsList, which renders 1-4 grouped clarifying questions, each with 2-4 options. Single-select questions show radio indicators, multi-select show checkboxes, with a Select one / Select all that apply hint. A Send button (enabled once every question is answered) submits the composed reply; a pencil button sends it to the input for editing first. - New QuestionsList.vue (themed with FlowFuse accent tokens) - AnswerWrapper wired to render questions and handle submit/edit - pendingInput store state + setPendingInput action for edit-first flow - ExpertChatInput watches pendingInput to prefill the textarea
…crash Add ErrorBoundary component and wrap each answer section so a failure in one section (e.g. a malformed resource) degrades only that section instead of blanking the whole message. Guard the optional streamable chain in StandardResourceCard that previously threw on null.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7556 +/- ##
=======================================
Coverage 76.95% 76.95%
=======================================
Files 410 410
Lines 21002 21002
Branches 5117 5117
=======================================
Hits 16162 16162
Misses 4840 4840
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Summary
Frontend for the Expert "ask before acting" UX (FlowFuse/product#407) plus render-robustness fixes.
Testing
Relates to FlowFuse/product#407