Repository navigation
feat(ui): refine Bot Selection and Debate Room layout with custom scrollbars and autosizing input - #796
feat(ui): refine Bot Selection and Debate Room layout with custom scrollbars and autosizing input#796holyarsenic wants to merge 5 commits into
Conversation
…ate textarea component in DebateRoom
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Bot selection and setup frontend/src/Pages/BotSelection.tsx |
Selection defaults to the first bot, and saved selections expand the matching difficulty group. Bot cards and debate-setup controls receive updated layouts and styling. |
Debate room panels and presentation frontend/package.json, frontend/src/Pages/DebateRoom.tsx, frontend/src/index.css |
The debate room separates bot and user panels, updates message and popup styling, and adds custom scrollbar styling. The user input uses an auto-resizing textarea. |
Bot message navigation and input frontend/src/Pages/DebateRoom.tsx |
The bot pane tracks scroll position and provides a scroll-to-latest control when needed. Sending is disabled when the input is blank after trimming. |
Estimated code review effort: 3 (Moderate) | ~20 minutes
Change: Feature
Suggested reviewers: vinayak302004, rixitgithub
Merge Risk: 
Minimal · up to 2df1e
-
No material merge-blocking risk remains in the reviewed changes.
Pre-merge checks: 
5
-
Full details: Title check
-
Explanation
The title names the main change: a refined layout for the Bot Selection and Debate Room pages, plus custom scrollbars and an autosizing input. The raw summary and objectives confirm each of these parts. The title is specific and maps to the changeset, so it passes. Per the tone instructions, this assessment is written in a respectful Australian voice.
Full details: Docstring Coverage
-
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 2 files. (1 skipped: 1 unsupported.)
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Description
This PR refines the UI and user experience in the Bot Selection (
/bot-selection) and Bot Debate Room (/debate/:roomId) pages to align with the application's design system and improve interactive usability.Key Changes
Bot Selection Improvements:
rounded-2xl border-border/80 bg-cardwith hover elevation.Debate Room Enhancements:
rounded-2xl overflow-hiddencontainers and subtle border accents.bg-primary/10) and bot (bg-muted/60) with uppercase phase pills.react-textarea-autosizefor dynamic input expansion up to 4 rows (maxRows={4}).New message ↓) that appears in the bot column when new counterarguments arrive while scrolled up.index.css):.debate-scrollbarwith a cross-browser 5px pill thumb, transparent track, and theme-reactive hover highlights.Before -
Screen.Recording.2026-11-02.123320.mp4
After-
Screen.Recording.2026-11-02.123030.1.mp4
Type of Change
Validation
vite build.Summary by CodeRabbit