Repository navigation
Keep a hidden tool group off zero height in the chat list - #1379
Conversation
The virtualizing panel re-estimates a zero-height row on every pass, so a trailing group hidden behind a question card grew the extent each pass until layout looped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
🔗 Linked repositories identifiedCodeRabbit considers these linked repositories for cross-repo context during reviews:
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughThe ChangesChat layout stability
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~8 minutes Change: Bug fix · Severity of issue fixed: Medium Suggested reviewers: Merge Risk: ⚪ Minimal · up to This change keeps a hidden tool group from collapsing to zero height in the chat list, which prevents the layout loop crash. No merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Comment |
PR Summary by QodoPrevent a pending question from looping chat layout
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo
1.
|
A window left looping in the shared Avalonia session fails every test after it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Closes #1378 — AI-3578
What & why
A session whose transcript ends on an unanswered
AskUserQuestion, with no question card yet, crashed the app withInfinite layout loop detected. The trailing tool group hides behind the question card, leaving a zero-height last row. The virtualizing panel re-estimates that row at the average row size on every pass, so the extent grew each pass and follow-tail chased it. A 1px floor on the group row keeps it measured.Where to look
The floor is on the tool-group row only: no other top-level chat row hides itself.
Verification
A_question_waiting_for_its_card_does_not_loop_layoutfails with the loop exception without the fix and passes with it.dotnet run --project test/Capacitor.App.Tests.Unit/…: 3108 succeeded, 0 failed.dotnet build src/Capacitor.App --no-incremental: 0 warnings, 0 errors.🤖 Generated with Claude Code
Summary by CodeRabbit