Skip to content

style: update checkbox styles and colors in RunConfigurationPanel for improved visibility - #6570

Merged
bijin-bruno merged 3 commits into
usebruno:mainfrom
abhishek-bruno:fix/checkbox-in-collection-runner
Dec 30, 2025
Merged

bijin-bruno merged 3 commits into
usebruno:mainfrom
abhishek-bruno:fix/checkbox-in-collection-runner

Conversation

@abhishek-bruno

@abhishek-bruno abhishek-bruno commented Dec 30, 2025 •

Copy link
Copy Markdown
Member

Description

Update checkbox styles and colors in RunConfigurationPanel for improved visibility

Contribution Checklist:

  • I've used AI significantly to create this pull request
  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

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

  • Style
    • Updated checkbox visuals in the Run Configuration Panel: improved selected-state appearance, increased icon weight, and refined icon color for better contrast.
    • Adjusted hover, border, and draggable feedback colors across configuration panels to align with the revised design tokens and ensure consistent visual behavior.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai

coderabbitai Bot commented Dec 30, 2025 •

Copy link
Copy Markdown
Contributor

Caution

Review failed

The pull request is closed.

Walkthrough

Updated 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 className="checkbox-icon" and strokeWidth={3}. No runtime logic changes.

Changes

Cohort / File(s) Summary
Run config panel styling
packages/bruno-app/src/components/RunnerResults/RunConfigurationPanel/StyledWrapper.jsx, packages/bruno-app/src/components/RunnerResults/StyledWrapper.js
Updated selected-state background token and draggable/hover border tokens; added nested .checkbox and .checkbox-icon styles; set .run-config-panel / .run-config-option border-color to theme.background.surface1.
Checkbox icon & class
packages/bruno-app/src/components/RunnerResults/RunConfigurationPanel/index.jsx
When selected, IconCheck now renders as <IconCheck className="checkbox-icon" size={12} strokeWidth={3} /> instead of the previous simpler render.
Wrapper class additions
packages/bruno-app/src/components/RunnerResults/index.jsx
Added run-config-option and run-config-panel classes to container divs to provide styling hooks; no behavior or data flow changes.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested reviewers

  • lohit-bruno
  • naman-bruno
  • bijin-bruno

Poem

✓ A tiny box grows bolder, edges bright,
Tokens shifted softly, borders light.
An icon thicker, styled to gleam,
The panel wakes in a new theme dream. 🎨

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: updating checkbox styles and colors in RunConfigurationPanel for improved visibility, which matches the file modifications and commit message.

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 60cdb9c and f03cd52.

📒 Files selected for processing (1)
  • packages/bruno-app/src/components/RunnerResults/RunConfigurationPanel/StyledWrapper.jsx

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0848393 and 8d9ea49.

📒 Files selected for processing (2)
  • packages/bruno-app/src/components/RunnerResults/RunConfigurationPanel/StyledWrapper.jsx
  • packages/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() not func ()
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.jsx
  • packages/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.jsx
  • packages/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.solid provides 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} />}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

# Find the exact file and verify the code at line 110
fd "index.jsx" packages/bruno-app/src/components/RunnerResults/RunConfigurationPanel

Repository: 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.jsx

Repository: 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}.

@bijin-bruno
bijin-bruno merged commit b75c9fd into usebruno:main Dec 30, 2025
maxenceleblanc pushed a commit to maxenceleblanc/curly_cats2 that referenced this pull request Jul 20, 2026
… 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants