Repository navigation
style: update checkbox styles and colors in RunConfigurationPanel for improved visibility - #6570
Conversation
… improved visibility
|
Caution Review failedThe pull request is closed. WalkthroughUpdated RunConfigurationPanel CSS hooks and visual tokens: adjusted selected/drag/hover border and background colors, added nested checkbox and checkbox-icon styles, added utility classes to panel containers, and changed the IconCheck render to include Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
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 |
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
packages/bruno-app/src/components/RunnerResults/RunConfigurationPanel/StyledWrapper.jsxpackages/bruno-app/src/components/RunnerResults/RunConfigurationPanel/index.jsx
🧰 Additional context used
📓 Path-based instructions (2)
**/*.{js,jsx,ts,tsx}
📄 CodeRabbit inference engine (CODING_STANDARDS.md)
**/*.{js,jsx,ts,tsx}: Use 2 spaces for indentation. No tabs, just spaces
Stick to single quotes for strings. For JSX/TSX attributes, use double quotes (e.g., )
Always add semicolons at the end of statements
No trailing commas
Always use parentheses around parameters in arrow functions, even for single params
For multiline constructs, put opening braces on the same line, and ensure consistency. Minimum 2 elements for multiline
No newlines inside function parentheses
Space before and after the arrow in arrow functions.() => {}is good
No space between function name and parentheses.func()notfunc ()
Semicolons go at the end of the line, not on a new line
Names for functions need to be concise and descriptive
Add in JSDoc comments to add more details to the abstractions if needed
Add in meaningful comments instead of obvious ones where complex code flow is explained properly
Files:
packages/bruno-app/src/components/RunnerResults/RunConfigurationPanel/StyledWrapper.jsxpackages/bruno-app/src/components/RunnerResults/RunConfigurationPanel/index.jsx
**/*.{jsx,tsx}
📄 CodeRabbit inference engine (CODING_STANDARDS.md)
**/*.{jsx,tsx}: Use styled component's theme prop to manage CSS colors and not CSS variables when in the context of a styled component or any React component using the styled component
Styled Components are used as wrappers to define both self and children components style; Tailwind classes are used specifically for layout based styles
Styled Component CSS might also change layout but Tailwind classes shouldn't define colors
Files:
packages/bruno-app/src/components/RunnerResults/RunConfigurationPanel/StyledWrapper.jsxpackages/bruno-app/src/components/RunnerResults/RunConfigurationPanel/index.jsx
🧠 Learnings (3)
📚 Learning: 2025-12-05T20:31:33.005Z
Learnt from: CR
Repo: usebruno/bruno PR: 0
File: CODING_STANDARDS.md:0-0
Timestamp: 2025-12-05T20:31:33.005Z
Learning: Applies to **/*.{jsx,tsx} : Styled Component CSS might also change layout but Tailwind classes shouldn't define colors
Applied to files:
packages/bruno-app/src/components/RunnerResults/RunConfigurationPanel/StyledWrapper.jsx
📚 Learning: 2025-12-05T20:31:33.005Z
Learnt from: CR
Repo: usebruno/bruno PR: 0
File: CODING_STANDARDS.md:0-0
Timestamp: 2025-12-05T20:31:33.005Z
Learning: Applies to **/*.{jsx,tsx} : Use styled component's theme prop to manage CSS colors and not CSS variables when in the context of a styled component or any React component using the styled component
Applied to files:
packages/bruno-app/src/components/RunnerResults/RunConfigurationPanel/StyledWrapper.jsx
📚 Learning: 2025-12-05T20:31:33.005Z
Learnt from: CR
Repo: usebruno/bruno PR: 0
File: CODING_STANDARDS.md:0-0
Timestamp: 2025-12-05T20:31:33.005Z
Learning: Applies to **/*.{jsx,tsx} : Styled Components are used as wrappers to define both self and children components style; Tailwind classes are used specifically for layout based styles
Applied to files:
packages/bruno-app/src/components/RunnerResults/RunConfigurationPanel/StyledWrapper.jsx
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
- GitHub Check: SSL Tests - macOS
- GitHub Check: SSL Tests - Linux
- GitHub Check: SSL Tests - Windows
- GitHub Check: Unit Tests
- GitHub Check: CLI Tests
- GitHub Check: Playwright E2E Tests
🔇 Additional comments (2)
packages/bruno-app/src/components/RunnerResults/RunConfigurationPanel/StyledWrapper.jsx (2)
156-164: LGTM! Checkbox border styling improvements.The border color updates improve visual consistency. The hover state using
theme.primary.solidprovides clear interactive feedback.
73-83: Theme tokens verified and correctly applied.All three theme tokens used in the styling are valid and properly defined at the root level of the theme object:
theme.background.surface0✓theme.primary.solid✓theme.bg✓The changes follow the coding guidelines correctly by using styled-component theme props for color management instead of CSS variables.
| <div className="checkbox-container" onClick={() => onSelect(item)}> | ||
| <div className="checkbox"> | ||
| {isSelected && <IconCheck size={12} />} | ||
| {isSelected && <IconCheck className="checkbox-icon" size={12} strokeWidth={3} />} |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
# Find the exact file and verify the code at line 110
fd "index.jsx" packages/bruno-app/src/components/RunnerResults/RunConfigurationPanelRepository: usebruno/bruno
Length of output: 137
🏁 Script executed:
# Read the file around line 110 to see the actual implementation
sed -n '100,120p' packages/bruno-app/src/components/RunnerResults/RunConfigurationPanel/index.jsxRepository: usebruno/bruno
Length of output: 718
🌐 Web query:
@tabler/icons IconCheck component strokeWidth prop support version 1.46.0
💡 Result:
Short answer: The Tabler React icon components (including IconCheck) use the prop named "stroke" (number) to control the SVG stroke-width — not "strokeWidth". Passing stroke={...} sets the icon's stroke-width (default 2). [1][2]
Sources:
- Tabler Icons React docs (props: size, color, stroke). [1]
- Tabler SVG docs showing stroke-width on exported SVGs. [2]
Use stroke={3} instead of strokeWidth={3}.
The @tabler/icons IconCheck component uses the stroke prop to control stroke-width, not strokeWidth. The current implementation won't achieve the intended visibility improvement. Change to stroke={3} to make the checkmark thicker (default is 2).
The className="checkbox-icon" is correctly positioned for styling.
🤖 Prompt for AI Agents
In
packages/bruno-app/src/components/RunnerResults/RunConfigurationPanel/index.jsx
around line 110, the IconCheck uses strokeWidth={3} which the @tabler/icons
component ignores; replace strokeWidth with the stroke prop (i.e., set stroke to
3) so the checkmark renders with a thicker line while keeping the existing
className="checkbox-icon" and size={12}.
… improved visibility (usebruno#6570) * style: update checkbox styles and colors in RunConfigurationPanel for improved visibility * style: update RunnerResults component styles for configuration options and panels * style: refine checkbox styles in StyledWrapper for consistency and clarity
Description
Update checkbox styles and colors in RunConfigurationPanel for improved visibility
Contribution Checklist:
Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.
Publishing to New Package Managers
Please see here for more information.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.