fix(messages): remove duplicate channel header causing stacked rendering - #2170
fix(messages): remove duplicate channel header causing stacked rendering#2170jaylfc wants to merge 1 commit into
Conversation
The channel header block in MessagesApp.tsx (type icon, agent emoji, channel name, settings, guide link, pin/search, member count, description) was a near-exact copy of the header already rendered by MessageList.tsx at line 214. Since messageAreaUI renders both its own header and <MessageList>, the result was two stacked headers. Remove the duplicate header from MessagesApp.tsx and clean up the five imports that became unused (MessagesSquare, Search, PinBadge, PinnedMessagesPopover, resolveAgentEmoji). The PinnedMessage type import is preserved. Closes #2124
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
📝 WalkthroughWalkthroughChangesMessages channel header
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
PR Summary by QodoFix Messages UI double header by removing duplicate channel header
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo
1. Missing regression test for header
|
Code Review SummaryStatus: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Files Reviewed (2 files)
Fix these issues in Kilo Cloud Reviewed by step-3.7-flash · Input: 81.6K · Output: 35.8K · Cached: 930.4K |
Autonomous build of board card tsk-55xqwq.
The channel header block in MessagesApp.tsx (type icon, agent emoji,
channel name, settings, guide link, pin/search, member count,
description) was a near-exact copy of the header already rendered
by MessageList.tsx at line 214. Since messageAreaUI renders both
its own header and , the result was two stacked headers.
Remove the duplicate header from MessagesApp.tsx and clean up the
five imports that became unused (MessagesSquare, Search, PinBadge,
PinnedMessagesPopover, resolveAgentEmoji). The PinnedMessage type
import is preserved.
Closes #2124
Files:
Summary by CodeRabbit