Merged
Conversation
- Fixed keyboard navigation (↑↓) not auto-scrolling to keep highlighted option visible - Replaced unreliable refs array with querySelector using data-option-selected attribute - Added createEffect for auto-scroll when switching tabs - Matches proven pattern from unified-picker.tsx - Updated AGENTS.md with communication requirements - Minor package.json update
…an for multi-line support.
- Implement QuestionNotificationBanner to show pending question count - Add minimize button to AskQuestionWizard header - Integrate minimize state management in instance-shell2 - Update auto-open logic to respect user minimize choice while preserving subagent workflow - Add responsive styles for new wizard header buttons
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.
PR Description: AskQuestion Wizard Enhancements (Multi-line Support & Minimize Functionality)
🎯 Goal
Improve the Question Wizard UI to handle long, multi-line markdown content gracefully and provide better user control with a minimize/recall feature. This ensures that complex agent questions are readable and that users can manage the UI real estate effectively without losing progress.
✨ Key Features & Changes
1. Multi-line & Markdown Support
renderMarkdown, allowing for formatted logs, code snippets, and lists within questions.white-space: pre-wrapandword-wrap: break-wordto preserve formatting.max-height(90vh) with independent scrollable containers for the question text and options.max-width(600px) and centering to the question text for optimal readability.max-heightadjustments for mobile/tablet layouts to ensure the wizard remains usable on smaller screens.2. Keyboard & Navigation Fixes
3. Minimize & Recall Functionality
[-]button in the header to hide the wizard temporarily.instance-shell2.tsxto respect user minimize actions while still ensuring questions from subagents are seen on initial arrival.🛠 Technical Implementation Details
AskQuestionWizardnow accepts anonMinimizeprop.questionWizardMinimizedstate ininstance-shell2.tsx.createEffectto auto-open only if!questionWizardMinimized().askquestion-wizard.cssfor flexible container heights and button groups.✅ Verification Results
Automated Tests
pnpm run typecheckpassed.pnpm run build:uicompleted successfully.Manual Testing Checklist
Branch:
feat/question-panel-multiline-supportBase:
origin/dev