Skip to content

Conversation

@mrubens
Copy link
Collaborator

@mrubens mrubens commented Sep 27, 2025

Before:
Screenshot 2025-09-26 at 11 07 24 PM

After:
Screenshot 2025-09-26 at 11 07 07 PM


Important

Add shrink-0 class to icons in ChatRow.tsx to prevent shrinking in limited space.

  • UI Changes:
    • Add shrink-0 class to icons in ChatRow.tsx to prevent shrinking in limited space.
    • Affected icons include ChevronDown, ChevronRight, MessageCircleQuestionMark, FileDiff, Eye, FileCode2, SquareArrowOutUpRight, ListTree, FolderTree, PocketKnife, MessageCircle, User, Edit, and Trash2.

This description was created by Ellipsis for ca0ee62. You can customize this summary. It will automatically update as commits are pushed.

@mrubens mrubens requested review from cte and jr as code owners September 27, 2025 03:08
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. UI/UX UI/UX related or focused labels Sep 27, 2025
@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Sep 27, 2025
Copy link
Contributor

@roomote roomote bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found a couple of low-priority consistency/maintainability items:

  • Consider adding shrink-0 to the command icon <TerminalSquare className="size-4" ...> for parity with other icons so it won’t compress in tight flex layouts.
  • Several icons repeat the className "w-4 shrink-0". Extracting a tiny helper (e.g., a shared class/constant or Icon component) would reduce duplication and keep styling consistent.

No functional or accessibility regressions observed.

) : cost !== null && cost !== undefined ? (
isExpanded ? (
<ChevronDown className="w-4" />
<ChevronDown className="w-4 shrink-0" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P3 — Repeated "w-4 shrink-0" across many icons. Consider extracting a small Icon utility (or a shared class/constant) to keep styling consistent and reduce duplication.

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Sep 27, 2025
@mrubens mrubens merged commit a57528d into main Sep 27, 2025
23 checks passed
@mrubens mrubens deleted the make_chat_icons_shrink_0 branch September 27, 2025 03:33
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Sep 27, 2025
@github-project-automation github-project-automation bot moved this from Triage to Done in Roo Code Roadmap Sep 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files. UI/UX UI/UX related or focused