Repository navigation
feat: use theme colors for Console method badges - #6603
Conversation
|
@gopu-bruno is attempting to deploy a commit to the Bruno Team on Vercel. A member of the Team first needs to authorize it. |
|
Caution Review failedThe pull request is closed. WalkthroughRemoved inline per-method coloring and the Network filter dropdown; method badges now use CSS classes for styling. Tightened paddings and normalized theme token usage across Devtools Console (NetworkTab, Console root, RequestDetails, DebugTab, TerminalTab). Theme color values adjusted for dark/light themes. No public API signature changes. Changes
Sequence Diagram(s)(omitted) Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (11)
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: 0
🧹 Nitpick comments (1)
packages/bruno-app/src/components/Devtools/Console/NetworkTab/StyledWrapper.js (1)
135-169: Consider extracting shared method badge styles.The method badge styling is duplicated between
Console/StyledWrapper.js(lines 341-375) and this file. Consider extracting to a shared styled component or CSS mixin to improve maintainability.💡 Example: Shared styled component approach
Create a shared file
packages/bruno-app/src/components/Devtools/Console/MethodBadgeStyles.js:import { css } from 'styled-components'; import { rgba } from 'polished'; export const methodBadgeStyles = css` .method-badge { display: inline-flex; align-items: center; justify-content: center; padding: 2px 6px; border-radius: 4px; font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; min-width: 45px; &.get { color: ${(props) => props.theme.request.methods.get}; background: ${(props) => rgba(props.theme.request.methods.get, 0.1)}; border: 1px solid ${(props) => rgba(props.theme.request.methods.get, 0.2)}; } /* ... other methods ... */ } `;Then import and use in both StyledWrapper files:
import { methodBadgeStyles } from '../MethodBadgeStyles'; const StyledWrapper = styled.div` /* ... other styles ... */ ${methodBadgeStyles} `;
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (4)
packages/bruno-app/src/components/Devtools/Console/NetworkTab/StyledWrapper.jspackages/bruno-app/src/components/Devtools/Console/NetworkTab/index.jspackages/bruno-app/src/components/Devtools/Console/StyledWrapper.jspackages/bruno-app/src/components/Devtools/Console/index.js
🧰 Additional context used
📓 Path-based instructions (1)
**/*.{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/Devtools/Console/NetworkTab/StyledWrapper.jspackages/bruno-app/src/components/Devtools/Console/StyledWrapper.jspackages/bruno-app/src/components/Devtools/Console/index.jspackages/bruno-app/src/components/Devtools/Console/NetworkTab/index.js
🧠 Learnings (5)
📓 Common learnings
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
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
📚 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/Devtools/Console/NetworkTab/StyledWrapper.jspackages/bruno-app/src/components/Devtools/Console/StyledWrapper.js
📚 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/Devtools/Console/NetworkTab/StyledWrapper.jspackages/bruno-app/src/components/Devtools/Console/StyledWrapper.js
📚 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/Devtools/Console/NetworkTab/StyledWrapper.jspackages/bruno-app/src/components/Devtools/Console/StyledWrapper.js
📚 Learning: 2025-12-17T21:41:24.730Z
Learnt from: naman-bruno
Repo: usebruno/bruno PR: 6407
File: packages/bruno-app/src/components/Environments/ConfirmCloseEnvironment/index.js:5-41
Timestamp: 2025-12-17T21:41:24.730Z
Learning: Do not suggest PropTypes validation for React components in the Bruno codebase. The project does not use PropTypes, so reviews should avoid proposing PropTypes and rely on the existing typing/validation approach (e.g., TypeScript or alternative runtime checks) if applicable. This guideline applies broadly to all JavaScript/JSX components in the repo.
Applied to files:
packages/bruno-app/src/components/Devtools/Console/NetworkTab/StyledWrapper.jspackages/bruno-app/src/components/Devtools/Console/StyledWrapper.jspackages/bruno-app/src/components/Devtools/Console/index.jspackages/bruno-app/src/components/Devtools/Console/NetworkTab/index.js
⏰ 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: Playwright E2E Tests
- GitHub Check: Unit Tests
- GitHub Check: CLI Tests
- GitHub Check: SSL Tests - macOS
- GitHub Check: SSL Tests - Linux
- GitHub Check: SSL Tests - Windows
🔇 Additional comments (4)
packages/bruno-app/src/components/Devtools/Console/index.js (1)
231-233: LGTM! Clean refactor to CSS-based styling.The change from inline style to className delegation is correct. The fallback to 'get' ensures a valid CSS class is always applied.
packages/bruno-app/src/components/Devtools/Console/NetworkTab/index.js (1)
15-23: LGTM! Well-structured refactor.The MethodBadge component cleanly separates className logic from display rendering. The fallback pattern is consistent and the styling delegation to CSS is correct.
packages/bruno-app/src/components/Devtools/Console/StyledWrapper.js (2)
2-2: Polished dependency confirmed.The
polishedlibrary is available inpackages/bruno-app/package.jsonas version^4.3.1, so thergbaimport is valid.
341-375: No action needed. The theme structure properly definesrequest.methodsfor all HTTP methods (get, post, put, delete, patch, head, options) across all theme files.
|
LGTM |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
packages/bruno-app/src/components/Devtools/Console/NetworkTab/StyledWrapper.js (1)
2-2: Remove unused import.The
rgbafunction frompolishedis imported but not used anywhere in the file.🔎 Proposed fix
-import { rgba } from 'polished';
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (4)
packages/bruno-app/src/components/Devtools/Console/NetworkTab/StyledWrapper.jspackages/bruno-app/src/components/Devtools/Console/NetworkTab/index.jspackages/bruno-app/src/components/Devtools/Console/StyledWrapper.jspackages/bruno-app/src/components/Devtools/Console/index.js
💤 Files with no reviewable changes (1)
- packages/bruno-app/src/components/Devtools/Console/index.js
🚧 Files skipped from review as they are similar to previous changes (2)
- packages/bruno-app/src/components/Devtools/Console/NetworkTab/index.js
- packages/bruno-app/src/components/Devtools/Console/StyledWrapper.js
🧰 Additional context used
📓 Path-based instructions (1)
**/*.{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/Devtools/Console/NetworkTab/StyledWrapper.js
🧠 Learnings (4)
📚 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/Devtools/Console/NetworkTab/StyledWrapper.js
📚 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/Devtools/Console/NetworkTab/StyledWrapper.js
📚 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/Devtools/Console/NetworkTab/StyledWrapper.js
📚 Learning: 2025-12-17T21:41:24.730Z
Learnt from: naman-bruno
Repo: usebruno/bruno PR: 6407
File: packages/bruno-app/src/components/Environments/ConfirmCloseEnvironment/index.js:5-41
Timestamp: 2025-12-17T21:41:24.730Z
Learning: Do not suggest PropTypes validation for React components in the Bruno codebase. The project does not use PropTypes, so reviews should avoid proposing PropTypes and rely on the existing typing/validation approach (e.g., TypeScript or alternative runtime checks) if applicable. This guideline applies broadly to all JavaScript/JSX components in the repo.
Applied to files:
packages/bruno-app/src/components/Devtools/Console/NetworkTab/StyledWrapper.js
⏰ 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 - Windows
- GitHub Check: SSL Tests - macOS
- GitHub Check: SSL Tests - Linux
- GitHub Check: CLI Tests
- GitHub Check: Unit Tests
- GitHub Check: Playwright E2E Tests
🔇 Additional comments (3)
packages/bruno-app/src/components/Devtools/Console/NetworkTab/StyledWrapper.js (3)
119-119: LGTM! Proper alignment compensation.The 13px left padding correctly compensates for the 3px left border on selected rows (16px - 3px = 13px), maintaining visual alignment with non-selected rows.
136-156: LGTM! Theme-based method colors implemented correctly.The HTTP method badge colors now use theme-based styling via CSS classes instead of inline styles, aligning perfectly with the PR objective. The implementation correctly leverages
theme.request.methods.*for each method type.Based on learnings, this correctly uses the styled component's theme prop to manage CSS colors.
128-128: Fix invalid CSS value.
justify-content: startis not standard CSS. Useflex-startinstead for proper cross-browser compatibility.🔎 Proposed fix
- justify-content: start; + justify-content: flex-start;Likely an incorrect or invalid review comment.
7443144 to
039b9bd
Compare
There was a problem hiding this comment.
Actionable comments posted: 2
🧹 Nitpick comments (2)
packages/bruno-app/src/components/Devtools/index.js (1)
71-83: Consider extracting resize handle to a styled component.The inline style manipulation for hover states works but could be cleaner with a styled-component that uses
:hoverpseudo-class. This would better align with the learned pattern of using styled-components for color management.🔎 Example refactor using styled-component
Add before the Devtools component:
const ResizeHandle = styled.div` height: 4px; cursor: row-resize; background-color: ${(props) => props.$isResizing ? darken(0.1, props.theme.console.border) : 'transparent'}; transition: background-color 0.2s ease; z-index: 20; position: relative; &:hover { background-color: ${(props) => darken(0.1, props.theme.console.border)}; } `;Then replace the div:
- <div - onMouseDown={handleDevtoolsResizeStart} - style={{ - height: '4px', - cursor: 'row-resize', - backgroundColor: isResizingDevtools ? darken(0.1, theme.console.border) : 'transparent', - transition: 'background-color 0.2s ease', - zIndex: 20, - position: 'relative' - }} - onMouseEnter={(e) => e.target.style.backgroundColor = darken(0.1, theme.console.border)} - onMouseLeave={(e) => e.target.style.backgroundColor = isResizingDevtools ? darken(0.1, theme.console.border) : 'transparent'} - /> + <ResizeHandle + onMouseDown={handleDevtoolsResizeStart} + $isResizing={isResizingDevtools} + />Based on learnings: Use styled-components' theme prop for colors rather than inline styles.
packages/bruno-app/src/components/Devtools/Console/RequestDetailsPanel/StyledWrapper.js (1)
231-231: Avoid!importantin favor of specificity.Using
!importantfor padding (line 231) is a code smell that can make styles harder to override and maintain. Consider increasing selector specificity instead.🔎 Proposed alternative
.response-body-container { - pre { - padding: 8px !important; - } + > pre, + pre { + padding: 8px; + } }
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (11)
packages/bruno-app/src/components/Devtools/Console/DebugTab/StyledWrapper.jspackages/bruno-app/src/components/Devtools/Console/NetworkTab/StyledWrapper.jspackages/bruno-app/src/components/Devtools/Console/NetworkTab/index.jspackages/bruno-app/src/components/Devtools/Console/RequestDetailsPanel/StyledWrapper.jspackages/bruno-app/src/components/Devtools/Console/StyledWrapper.jspackages/bruno-app/src/components/Devtools/Console/TerminalTab/SessionList.jspackages/bruno-app/src/components/Devtools/Console/TerminalTab/StyledWrapper.jspackages/bruno-app/src/components/Devtools/Console/index.jspackages/bruno-app/src/components/Devtools/index.jspackages/bruno-app/src/themes/dark/dark.jspackages/bruno-app/src/themes/light/light-pastel.js
💤 Files with no reviewable changes (2)
- packages/bruno-app/src/components/Devtools/Console/index.js
- packages/bruno-app/src/components/Devtools/Console/DebugTab/StyledWrapper.js
🧰 Additional context used
📓 Path-based instructions (1)
**/*.{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/Devtools/Console/TerminalTab/StyledWrapper.jspackages/bruno-app/src/themes/light/light-pastel.jspackages/bruno-app/src/themes/dark/dark.jspackages/bruno-app/src/components/Devtools/Console/NetworkTab/index.jspackages/bruno-app/src/components/Devtools/index.jspackages/bruno-app/src/components/Devtools/Console/StyledWrapper.jspackages/bruno-app/src/components/Devtools/Console/TerminalTab/SessionList.jspackages/bruno-app/src/components/Devtools/Console/RequestDetailsPanel/StyledWrapper.jspackages/bruno-app/src/components/Devtools/Console/NetworkTab/StyledWrapper.js
🧠 Learnings (4)
📚 Learning: 2025-12-17T21:41:24.730Z
Learnt from: naman-bruno
Repo: usebruno/bruno PR: 6407
File: packages/bruno-app/src/components/Environments/ConfirmCloseEnvironment/index.js:5-41
Timestamp: 2025-12-17T21:41:24.730Z
Learning: Do not suggest PropTypes validation for React components in the Bruno codebase. The project does not use PropTypes, so reviews should avoid proposing PropTypes and rely on the existing typing/validation approach (e.g., TypeScript or alternative runtime checks) if applicable. This guideline applies broadly to all JavaScript/JSX components in the repo.
Applied to files:
packages/bruno-app/src/components/Devtools/Console/TerminalTab/StyledWrapper.jspackages/bruno-app/src/themes/light/light-pastel.jspackages/bruno-app/src/themes/dark/dark.jspackages/bruno-app/src/components/Devtools/Console/NetworkTab/index.jspackages/bruno-app/src/components/Devtools/index.jspackages/bruno-app/src/components/Devtools/Console/StyledWrapper.jspackages/bruno-app/src/components/Devtools/Console/TerminalTab/SessionList.jspackages/bruno-app/src/components/Devtools/Console/RequestDetailsPanel/StyledWrapper.jspackages/bruno-app/src/components/Devtools/Console/NetworkTab/StyledWrapper.js
📚 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/Devtools/index.jspackages/bruno-app/src/components/Devtools/Console/StyledWrapper.jspackages/bruno-app/src/components/Devtools/Console/TerminalTab/SessionList.jspackages/bruno-app/src/components/Devtools/Console/NetworkTab/StyledWrapper.js
📚 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/Devtools/index.jspackages/bruno-app/src/components/Devtools/Console/StyledWrapper.jspackages/bruno-app/src/components/Devtools/Console/NetworkTab/StyledWrapper.js
📚 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/Devtools/Console/StyledWrapper.jspackages/bruno-app/src/components/Devtools/Console/NetworkTab/StyledWrapper.js
🧬 Code graph analysis (1)
packages/bruno-app/src/themes/light/light-pastel.js (1)
packages/bruno-app/src/themes/light/light-monochrome.js (1)
colors(1-38)
⏰ 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: Playwright E2E Tests
- GitHub Check: CLI Tests
🔇 Additional comments (14)
packages/bruno-app/src/components/Devtools/Console/TerminalTab/StyledWrapper.js (1)
33-33: LGTM! Spacing refinement looks good.The padding adjustment tightens the header spacing appropriately and aligns with the PR's goal of UI polish across Console components.
packages/bruno-app/src/themes/dark/dark.js (1)
21-21: LGTM! Theme color refinements align with PR objectives.The INDIGO hue adjustment (6% lighter) and console header background update are consistent with the theme-based styling migration. These color value changes support the removal of inline color logic in Console components.
Also applies to: 473-473
packages/bruno-app/src/themes/light/light-pastel.js (1)
434-434: LGTM! Proper use of theme tokens.Switching from
colors.WHITEtocolors.BACKGROUND(#fdfaf7) for console areas provides consistency with the light pastel theme's warm ivory base. This aligns with the theme-token migration approach.Also applies to: 447-447
packages/bruno-app/src/components/Devtools/Console/NetworkTab/index.js (3)
11-19: Excellent refactoring to CSS-based styling.The MethodBadge now correctly delegates coloring to CSS classes rather than computing inline styles. The approach of deriving
methodLowerand applying it as a class name is clean and maintainable.
21-29: Good simplification of StatusBadge.Removing inline color computation and relying on CSS classes improves separation of concerns and aligns with the theme-based styling approach.
117-189: Streamlined NetworkTab implementation.The removal of NetworkFilterDropdown and related filter management logic simplifies the component while preserving the core filtering functionality through Redux state. The component is now more focused and easier to maintain.
packages/bruno-app/src/components/Devtools/Console/NetworkTab/StyledWrapper.js (3)
78-78: Good padding adjustments for compact layout.The tightened vertical padding (4px for header, 2px for rows) creates a more efficient use of space while maintaining readability. The horizontal padding of 16px remains consistent.
Also applies to: 99-99
110-113: Excellent alignment compensation for selected state.The
padding-left: 13pxcombined with the3px border-leftmaintains the total 16px alignment with non-selected rows. This attention to detail prevents visual shifts when selecting rows.
116-124: Proper migration to CSS class-based styling.The simplified method-badge styling with
justify-content: startand removal of inline color properties aligns perfectly with the theme-based approach. Colors are now managed through CSS classes applied in the component.packages/bruno-app/src/components/Devtools/Console/RequestDetailsPanel/StyledWrapper.js (1)
18-18: Verify that aggressive padding reductions don't compromise UX.Padding has been reduced significantly across multiple UI elements:
- Panel header: 8px 16px → 2px 8px (75% vertical reduction)
- Tab buttons: 8px 16px → 4px 8px (50% vertical, 50% horizontal)
- Panel content: 16px → 8px (50% reduction)
- Table cells: 8px 12px → 4px 8px and 2px 8px
Ensure these reductions don't negatively impact clickability, readability, or touch targets.
Based on coding guidelines, you may want to validate this with design/UX review.
Also applies to: 68-68, 94-94, 172-172, 199-199, 277-277
packages/bruno-app/src/components/Devtools/Console/StyledWrapper.js (2)
17-17: Verify that padding reductions don't compromise UX.Similar to the RequestDetailsPanel file, padding has been reduced across multiple UI elements:
- Console header: 0 16px → 0 8px (50% horizontal)
- Console tabs: 6px 12px → 4px 8px (33% vertical, 33% horizontal)
- Filter dropdown trigger: 6px 8px → 2px 8px (67% vertical)
- Filter dropdown header: 8px 12px → 4px 12px (50% vertical)
- Filter options: 6px 12px → 4px 12px (33% vertical)
Ensure these reductions maintain adequate touch targets and visual breathing room.
Based on coding guidelines, validate these changes with design/UX review.
Also applies to: 34-34, 184-184, 227-227, 258-258
49-51: All theme tokens referenced in the styled components are properly defined in both dark and light theme variants. The schema (packages/bruno-app/src/themes/schema/oss.js) defines all required fields, and each theme file (dark.js, light.js, nord.js, vscode.js, catppuccin variants, etc.) includes implementations forprimary.strong,background.mantle,background.surface0,text,border.border0, andborder.radius.sm. No action needed.packages/bruno-app/src/components/Devtools/Console/TerminalTab/SessionList.js (2)
8-8: Verify the dramatic padding reduction doesn't harm UX.Padding was reduced from
10px 12pxto2px 6px(per AI summary). This significantly tightens the clickable area and visual spacing. Ensure this doesn't make items feel cramped or harder to interact with, especially on touch devices.
26-27: Theme tokenprimary.subtleis properly defined.The token exists in all light and dark theme configurations (required by schema). No fallback is needed.
Regarding the content shift concern: The current code correctly maintains visual alignment. With
border-left: 2pxandpadding-left: 4px, the content position remains 6px from the outer edge (same as the defaultpadding-left: 6px). The suggested fix ofpadding-left: 6pxwould actually increase total left spacing to 8px, shifting content rightward rather than maintaining alignment.
039b9bd to
b311c9b
Compare
* fix: use themes within protobuf section (#6575) * fix: use themes within protobuf section * chore: fix font weight for protobuf settings --------- Co-authored-by: Bijin A B <[email protected]> * fix: radios buttons to use primary color (#6576) * fix: cookie modal theme (#6580) * fix: cookie modal theme * update toggle switch to use primary color * style: enhance theme dropdown and security settings with improved styles and active indicators (#6582) * style: enhance CodeMirror dropdown styles with theme integration (#6577) * style: enhance CodeMirror dropdown styles with theme integration for improved consistency * style: refine dropdown and CodeMirror hint styles for improved consistency and usability * style: clean up scrollbar and CodeMirror hint styles for improved readability * remove max height for keybinding table (#6586) * fix: Add New Request CTA alignment in tabs (#6584) * fix: Add New Request CTA alignment in tabs - Moved the '+' icon before the chevron to maintain alignment once chevrons appear - Added padding to the '+' icon for better spacing. * refactor: streamline New Request button rendering in RequestTabs component - Simplified the rendering logic for the New Request button by removing unnecessary conditional wrappers. - Ensured the button remains functional and maintains its styling within the tab layout. * chore: update delete confirmation modals to use danger button color (#6589) * refactor: remove size prop from Button components for consistency across modals and improve styling * style: update confirm button colors in modal components for consistency * fix: oauth2 callback url field placeholder text update (#6588) * Fix auth panel UI updates (#6590) * style: update padding and font size in OAuth2 and Table components for improved consistency * style: update font styles in OAuth2 components for improved readability * fix: add missing semicolon in StyledWrapper.js for consistent styling * fix: standardize table border colors and improve table styling (#6597) * style: update OAuth2 section labels for improved consistency and readability (#6598) * fix: prefrence modal width (#6595) * fix: theme within grpc timeline (#6581) * fix: theme within grpc timeline * fix: use font from the theme * remove y padding to make timeline item more compact * fix: font * fix: padding * fix: use fira code * fix: icon spacing * add border to the method search * show bg for message section within request * fix: collection already opened in other workspace (#6574) * fix: collection already opened in other workspace * fix * fixes * Merge pull request #6583 from naman-bruno/add/collection-docs add: collection-docs * add: beta tag for opencollection & fix create collection location behaviour (#6594) * add: beta tag for opencollection * fixes * fix * feat: improved dark mode color (#6616) * fix: resolve request pane tooltip visibility issue (#6615) * Feat/update file picker (#6614) * styling: file-picker editor component * use filepicker component within filebody and response example filebody * edit example to use button components * fix: hide delete, disable checkbox in preview mode * make label italic * chore: change example cta buttons to filled style --------- Co-authored-by: Bijin A B <[email protected]> * fix: folder docs save button visibility issue (#6617) * refactor: improve theme handling in ThemeProvider for better responsiveness to system preferences (#6606) * refactor: improve theme handling in ThemeProvider for better responsiveness to system preferences - Introduced helper functions to determine effective theme and apply it to the root element. - Updated theme application logic to respond to system theme changes more efficiently. - Simplified theme computation to avoid race conditions by directly using storedTheme. * fix: update displayedTheme initialization in ThemeProvider to use storedTheme for consistency * fix: use theme styling within timeline (#6604) * fix: use theme styling within timeline * fix: remove inline styling and use css classes * fix: network logs within dev tools * compact timeline for grpc * refactor: standardize CSS class naming in StyledWrapper components for better readability * remove styling configuration from Network component * fix: update colors * update colors * fix: color * feat: improve RunnerResults filter bar to use theme system (#6613) * feat: integrate theme support in RunnerResults component for improved styling * refactor: simplify RunnerResults component and enhance filter button styling * style: adjust padding in StyledWrapper and remove aria-pressed from FilterButton * add: global env and workspace flag (#6534) * add: global env and workspace flag * rm: await * update: option name * fix * fix * fix: invalid collection in workspace (#6612) * fix: update Notifications and StatusBar components for improved functionality and styling (#6607) * feat: use theme colors for Console method badges (#6603) * feat: use theme colors for Console method badges * chore(theme): bruno devtools UX updates --------- Co-authored-by: Bijin A B <[email protected]> * fix: update @opencollection/types to version 0.6.0 and refactor auth handling in request items (#6619) * feat: enhance HttpMethodSelector to include caret indicator when creating new request (#6620) --------- Co-authored-by: sanish chirayath <[email protected]> Co-authored-by: Abhishek S Lal <[email protected]> Co-authored-by: Pooja <[email protected]> Co-authored-by: Chirag Chandrashekhar <[email protected]> Co-authored-by: Sanjai Kumar <[email protected]> Co-authored-by: lohit <[email protected]> Co-authored-by: gopu-bruno <[email protected]> Co-authored-by: naman-bruno <[email protected]> Co-authored-by: Anoop M D <[email protected]>
* fix: use themes within protobuf section (#6575) * fix: use themes within protobuf section * chore: fix font weight for protobuf settings --------- Co-authored-by: Bijin A B <[email protected]> * fix: radios buttons to use primary color (#6576) * fix: cookie modal theme (#6580) * fix: cookie modal theme * update toggle switch to use primary color * style: enhance theme dropdown and security settings with improved styles and active indicators (#6582) * style: enhance CodeMirror dropdown styles with theme integration (#6577) * style: enhance CodeMirror dropdown styles with theme integration for improved consistency * style: refine dropdown and CodeMirror hint styles for improved consistency and usability * style: clean up scrollbar and CodeMirror hint styles for improved readability * remove max height for keybinding table (#6586) * fix: Add New Request CTA alignment in tabs (#6584) * fix: Add New Request CTA alignment in tabs - Moved the '+' icon before the chevron to maintain alignment once chevrons appear - Added padding to the '+' icon for better spacing. * refactor: streamline New Request button rendering in RequestTabs component - Simplified the rendering logic for the New Request button by removing unnecessary conditional wrappers. - Ensured the button remains functional and maintains its styling within the tab layout. * chore: update delete confirmation modals to use danger button color (#6589) * refactor: remove size prop from Button components for consistency across modals and improve styling * style: update confirm button colors in modal components for consistency * fix: oauth2 callback url field placeholder text update (#6588) * Fix auth panel UI updates (#6590) * style: update padding and font size in OAuth2 and Table components for improved consistency * style: update font styles in OAuth2 components for improved readability * fix: add missing semicolon in StyledWrapper.js for consistent styling * fix: standardize table border colors and improve table styling (#6597) * style: update OAuth2 section labels for improved consistency and readability (#6598) * fix: prefrence modal width (#6595) * fix: theme within grpc timeline (#6581) * fix: theme within grpc timeline * fix: use font from the theme * remove y padding to make timeline item more compact * fix: font * fix: padding * fix: use fira code * fix: icon spacing * add border to the method search * show bg for message section within request * fix: collection already opened in other workspace (#6574) * fix: collection already opened in other workspace * fix * fixes * Merge pull request #6583 from naman-bruno/add/collection-docs add: collection-docs * add: beta tag for opencollection & fix create collection location behaviour (#6594) * add: beta tag for opencollection * fixes * fix * feat: improved dark mode color (#6616) * fix: resolve request pane tooltip visibility issue (#6615) * Feat/update file picker (#6614) * styling: file-picker editor component * use filepicker component within filebody and response example filebody * edit example to use button components * fix: hide delete, disable checkbox in preview mode * make label italic * chore: change example cta buttons to filled style --------- Co-authored-by: Bijin A B <[email protected]> * fix: folder docs save button visibility issue (#6617) * refactor: improve theme handling in ThemeProvider for better responsiveness to system preferences (#6606) * refactor: improve theme handling in ThemeProvider for better responsiveness to system preferences - Introduced helper functions to determine effective theme and apply it to the root element. - Updated theme application logic to respond to system theme changes more efficiently. - Simplified theme computation to avoid race conditions by directly using storedTheme. * fix: update displayedTheme initialization in ThemeProvider to use storedTheme for consistency * fix: use theme styling within timeline (#6604) * fix: use theme styling within timeline * fix: remove inline styling and use css classes * fix: network logs within dev tools * compact timeline for grpc * refactor: standardize CSS class naming in StyledWrapper components for better readability * remove styling configuration from Network component * fix: update colors * update colors * fix: color * feat: improve RunnerResults filter bar to use theme system (#6613) * feat: integrate theme support in RunnerResults component for improved styling * refactor: simplify RunnerResults component and enhance filter button styling * style: adjust padding in StyledWrapper and remove aria-pressed from FilterButton * add: global env and workspace flag (#6534) * add: global env and workspace flag * rm: await * update: option name * fix * fix * fix: invalid collection in workspace (#6612) * fix: update Notifications and StatusBar components for improved functionality and styling (#6607) * feat: use theme colors for Console method badges (#6603) * feat: use theme colors for Console method badges * chore(theme): bruno devtools UX updates --------- Co-authored-by: Bijin A B <[email protected]> * fix: update @opencollection/types to version 0.6.0 and refactor auth handling in request items (#6619) * feat: enhance HttpMethodSelector to include caret indicator when creating new request (#6620) * feat(theme): update secondary button styles (#6621) * feat: update toast UI to match theme (#6622) * Improve delete collection in workspace overview (#6587) * Improve delete collection in workspace overview * fixes * Feat/v3 UI updates (#6618) * style: enhance button layout and input styles across multiple components for improved UI consistency * style: update RequestsNotLoaded component with new warning styles and enhance theme color definitions for status indicators * refactor: update theme usage across components for consistency - Changed color references from theme.brand to theme.primary.text in various StyledWrapper components. - Added hover effects to enhance UI interactivity in CollectionSettings and FolderSettings. - Removed unnecessary margin and padding adjustments in several components for cleaner layout. - Improved accessibility by ensuring aria attributes are correctly set in MenuDropdown. - Standardized styling for method indicators in RequestPane components. These changes aim to create a more cohesive look and feel across the application while adhering to the updated theme guidelines. * refactor: clean up method selector styling in NewRequest component * chore: temp playwright test fixes * refactor: update modal sizes across various components for consistency - Changed modal size from "sm" to "md" in RenameWorkspace, CreateApiSpec, CloneCollection, DeleteCollectionItem, and RenameCollection components. - Improved styling in HttpMethodSelector by adding padding for better layout. - Updated theme color references in multiple theme files to use a new palette structure for consistency and maintainability. * refactor: enhance styling and theme integration in TimelineItem components - Updated HttpMethodSelector to clarify padding calculation in comments. - Integrated theme colors for OAuth2 indicator and timestamp in TimelineItem for better visual consistency. - Adjusted Method component to use uppercase styling for method display. - Modified RelativeTime component to apply muted text color for improved readability. - Updated INFO color in dark and light themes for better contrast and accessibility. * refactor: remove duplicate import statements in theme files - Cleaned up import statements in vscode.js and light-pastel.js by removing redundant lines for improved code clarity and maintainability. * refactor: improve styling and theme integration in various components - Added accent color and cursor style for checkbox inputs in Modal's StyledWrapper. - Updated border-radius values in HttpMethodSelector and NewRequest StyledWrapper components to use theme variables for consistency. - Introduced a new textbox class in NewRequest StyledWrapper for better styling control. - Changed modal size from "sm" to "md" in CreateEnvironment for improved layout. --------- Co-authored-by: Bijin A B <[email protected]> * fix(UX): fix sandbox selector options background color (#6626) * update cdn links (#6628) * fix: toggle switch color (#6627) * fix: modal icon colors to match button colors (#6624) * style: update warning icon color in RemoveCollection and ConfirmSwitchEnv components to use theme colors * fix: font size in BulkEditor * style: update error message styling to use theme colors in QueryResult component * style: update warning icon color * style: update warning color in ConfirmSwitchEnv * chore: minor pr comment --------- Co-authored-by: Bijin A B <[email protected]> * fix: folder settings var panel table alignment (#6631) * style: remove font size class from button (#6630) * fix: authmode in graphql (#6636) * fix: file picker component overflow (#6635) * fix: tooltip styling (#6632) * refactor: update color references in OAuth2 components to use theme.primary.text for improved consistency (#6629) * refactor: update color references in OAuth2 components to use theme.primary.text for improved consistency * refactor: update modal size in ImportCollectionLocation component for improved consistency * refactor: set isActiveTab prop in QueryResponse component and update active color in StyledWrapper for consistency * feat: update "Show in Folder" label based on platform in ManageWorkspace, Collection, CollectionItem, and WorkspaceHome components (#6623) * feat: update "Show in Folder" label based on platform in ManageWorkspace, Collection, CollectionItem, and WorkspaceHome components * refactor: remove duplicate "Rename" item push in CollectionItem component * style: update text color classes and button hover effects in RunnerResults (#6637) * style: update text color classes and button hover effects in RunnerResults and StyledWrapper components * Update StyledWrapper.jsx --------- Co-authored-by: Bijin A B <[email protected]> * style: update variable validation colors in StyledWrapper components to use theme colors (#6633) --------- Co-authored-by: sanish chirayath <[email protected]> Co-authored-by: Abhishek S Lal <[email protected]> Co-authored-by: Pooja <[email protected]> Co-authored-by: Chirag Chandrashekhar <[email protected]> Co-authored-by: Sanjai Kumar <[email protected]> Co-authored-by: lohit <[email protected]> Co-authored-by: gopu-bruno <[email protected]> Co-authored-by: naman-bruno <[email protected]> Co-authored-by: Anoop M D <[email protected]>
* fix: use themes within protobuf section (#6575) * fix: use themes within protobuf section * chore: fix font weight for protobuf settings --------- Co-authored-by: Bijin A B <[email protected]> * fix: radios buttons to use primary color (#6576) * fix: cookie modal theme (#6580) * fix: cookie modal theme * update toggle switch to use primary color * style: enhance theme dropdown and security settings with improved styles and active indicators (#6582) * style: enhance CodeMirror dropdown styles with theme integration (#6577) * style: enhance CodeMirror dropdown styles with theme integration for improved consistency * style: refine dropdown and CodeMirror hint styles for improved consistency and usability * style: clean up scrollbar and CodeMirror hint styles for improved readability * remove max height for keybinding table (#6586) * fix: Add New Request CTA alignment in tabs (#6584) * fix: Add New Request CTA alignment in tabs - Moved the '+' icon before the chevron to maintain alignment once chevrons appear - Added padding to the '+' icon for better spacing. * refactor: streamline New Request button rendering in RequestTabs component - Simplified the rendering logic for the New Request button by removing unnecessary conditional wrappers. - Ensured the button remains functional and maintains its styling within the tab layout. * chore: update delete confirmation modals to use danger button color (#6589) * refactor: remove size prop from Button components for consistency across modals and improve styling * style: update confirm button colors in modal components for consistency * fix: oauth2 callback url field placeholder text update (#6588) * Fix auth panel UI updates (#6590) * style: update padding and font size in OAuth2 and Table components for improved consistency * style: update font styles in OAuth2 components for improved readability * fix: add missing semicolon in StyledWrapper.js for consistent styling * fix: standardize table border colors and improve table styling (#6597) * style: update OAuth2 section labels for improved consistency and readability (#6598) * fix: prefrence modal width (#6595) * fix: theme within grpc timeline (#6581) * fix: theme within grpc timeline * fix: use font from the theme * remove y padding to make timeline item more compact * fix: font * fix: padding * fix: use fira code * fix: icon spacing * add border to the method search * show bg for message section within request * fix: collection already opened in other workspace (#6574) * fix: collection already opened in other workspace * fix * fixes * Merge pull request #6583 from naman-bruno/add/collection-docs add: collection-docs * add: beta tag for opencollection & fix create collection location behaviour (#6594) * add: beta tag for opencollection * fixes * fix * feat: improved dark mode color (#6616) * fix: resolve request pane tooltip visibility issue (#6615) * Feat/update file picker (#6614) * styling: file-picker editor component * use filepicker component within filebody and response example filebody * edit example to use button components * fix: hide delete, disable checkbox in preview mode * make label italic * chore: change example cta buttons to filled style --------- Co-authored-by: Bijin A B <[email protected]> * fix: folder docs save button visibility issue (#6617) * refactor: improve theme handling in ThemeProvider for better responsiveness to system preferences (#6606) * refactor: improve theme handling in ThemeProvider for better responsiveness to system preferences - Introduced helper functions to determine effective theme and apply it to the root element. - Updated theme application logic to respond to system theme changes more efficiently. - Simplified theme computation to avoid race conditions by directly using storedTheme. * fix: update displayedTheme initialization in ThemeProvider to use storedTheme for consistency * fix: use theme styling within timeline (#6604) * fix: use theme styling within timeline * fix: remove inline styling and use css classes * fix: network logs within dev tools * compact timeline for grpc * refactor: standardize CSS class naming in StyledWrapper components for better readability * remove styling configuration from Network component * fix: update colors * update colors * fix: color * feat: improve RunnerResults filter bar to use theme system (#6613) * feat: integrate theme support in RunnerResults component for improved styling * refactor: simplify RunnerResults component and enhance filter button styling * style: adjust padding in StyledWrapper and remove aria-pressed from FilterButton * add: global env and workspace flag (#6534) * add: global env and workspace flag * rm: await * update: option name * fix * fix * fix: invalid collection in workspace (#6612) * fix: update Notifications and StatusBar components for improved functionality and styling (#6607) * feat: use theme colors for Console method badges (#6603) * feat: use theme colors for Console method badges * chore(theme): bruno devtools UX updates --------- Co-authored-by: Bijin A B <[email protected]> * fix: update @opencollection/types to version 0.6.0 and refactor auth handling in request items (#6619) * feat: enhance HttpMethodSelector to include caret indicator when creating new request (#6620) * feat(theme): update secondary button styles (#6621) * feat: update toast UI to match theme (#6622) * Improve delete collection in workspace overview (#6587) * Improve delete collection in workspace overview * fixes * Feat/v3 UI updates (#6618) * style: enhance button layout and input styles across multiple components for improved UI consistency * style: update RequestsNotLoaded component with new warning styles and enhance theme color definitions for status indicators * refactor: update theme usage across components for consistency - Changed color references from theme.brand to theme.primary.text in various StyledWrapper components. - Added hover effects to enhance UI interactivity in CollectionSettings and FolderSettings. - Removed unnecessary margin and padding adjustments in several components for cleaner layout. - Improved accessibility by ensuring aria attributes are correctly set in MenuDropdown. - Standardized styling for method indicators in RequestPane components. These changes aim to create a more cohesive look and feel across the application while adhering to the updated theme guidelines. * refactor: clean up method selector styling in NewRequest component * chore: temp playwright test fixes * refactor: update modal sizes across various components for consistency - Changed modal size from "sm" to "md" in RenameWorkspace, CreateApiSpec, CloneCollection, DeleteCollectionItem, and RenameCollection components. - Improved styling in HttpMethodSelector by adding padding for better layout. - Updated theme color references in multiple theme files to use a new palette structure for consistency and maintainability. * refactor: enhance styling and theme integration in TimelineItem components - Updated HttpMethodSelector to clarify padding calculation in comments. - Integrated theme colors for OAuth2 indicator and timestamp in TimelineItem for better visual consistency. - Adjusted Method component to use uppercase styling for method display. - Modified RelativeTime component to apply muted text color for improved readability. - Updated INFO color in dark and light themes for better contrast and accessibility. * refactor: remove duplicate import statements in theme files - Cleaned up import statements in vscode.js and light-pastel.js by removing redundant lines for improved code clarity and maintainability. * refactor: improve styling and theme integration in various components - Added accent color and cursor style for checkbox inputs in Modal's StyledWrapper. - Updated border-radius values in HttpMethodSelector and NewRequest StyledWrapper components to use theme variables for consistency. - Introduced a new textbox class in NewRequest StyledWrapper for better styling control. - Changed modal size from "sm" to "md" in CreateEnvironment for improved layout. --------- Co-authored-by: Bijin A B <[email protected]> * fix(UX): fix sandbox selector options background color (#6626) * update cdn links (#6628) * fix: toggle switch color (#6627) * fix: modal icon colors to match button colors (#6624) * style: update warning icon color in RemoveCollection and ConfirmSwitchEnv components to use theme colors * fix: font size in BulkEditor * style: update error message styling to use theme colors in QueryResult component * style: update warning icon color * style: update warning color in ConfirmSwitchEnv * chore: minor pr comment --------- Co-authored-by: Bijin A B <[email protected]> * fix: folder settings var panel table alignment (#6631) * style: remove font size class from button (#6630) * fix: authmode in graphql (#6636) * fix: file picker component overflow (#6635) * fix: tooltip styling (#6632) * refactor: update color references in OAuth2 components to use theme.primary.text for improved consistency (#6629) * refactor: update color references in OAuth2 components to use theme.primary.text for improved consistency * refactor: update modal size in ImportCollectionLocation component for improved consistency * refactor: set isActiveTab prop in QueryResponse component and update active color in StyledWrapper for consistency * feat: update "Show in Folder" label based on platform in ManageWorkspace, Collection, CollectionItem, and WorkspaceHome components (#6623) * feat: update "Show in Folder" label based on platform in ManageWorkspace, Collection, CollectionItem, and WorkspaceHome components * refactor: remove duplicate "Rename" item push in CollectionItem component * style: update text color classes and button hover effects in RunnerResults (#6637) * style: update text color classes and button hover effects in RunnerResults and StyledWrapper components * Update StyledWrapper.jsx --------- Co-authored-by: Bijin A B <[email protected]> * style: update variable validation colors in StyledWrapper components to use theme colors (#6633) * refactor: update Tabs component structure and theme colors (#6638) - Replaced the div wrapper in the Tabs component with StyledWrapper for improved styling. - Simplified TabsList and TabsTrigger components by removing theme dependency and using classnames for styling. - Updated inactive background colors in multiple theme files to enhance visual consistency across themes. * feat: integrate theme support in ImportCollection component (#6639) * feat: integrate theme support in ImportCollection component for improved styling consistency * chore: remove debug console log from ImportCollection component * refactor: update theme import in ImportCollection component for improved consistency * style: enhance syntax highlighting in GQL Docs and Doc Gen (#6640) * style: enhance syntax highlighting and theme integration in QueryEditor and GenerateDocs components * fix: fixed generate code theming issues * style: update color references to use theme.draftColor for unsaved changes across multiple components (#6641) * chore: theme updates (#6642) --------- Co-authored-by: sanish chirayath <[email protected]> Co-authored-by: Abhishek S Lal <[email protected]> Co-authored-by: Pooja <[email protected]> Co-authored-by: Chirag Chandrashekhar <[email protected]> Co-authored-by: Sanjai Kumar <[email protected]> Co-authored-by: lohit <[email protected]> Co-authored-by: gopu-bruno <[email protected]> Co-authored-by: naman-bruno <[email protected]> Co-authored-by: Anoop M D <[email protected]>
* feat: use theme colors for Console method badges * chore(theme): bruno devtools UX updates --------- Co-authored-by: Bijin A B <[email protected]>
Description
Replace hardcoded method badge colors with theme-based styling in Console and NetworkTab components
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.