Skip to content

Fix 'Show system messages' checkbox rendering#10

Open
Gkrumbach07 wants to merge 1 commit intomainfrom
fix-system-messages-checkbox
Open

Fix 'Show system messages' checkbox rendering#10
Gkrumbach07 wants to merge 1 commit intomainfrom
fix-system-messages-checkbox

Conversation

@Gkrumbach07
Copy link
Owner

Summary

Fixed the checkbox rendering issue in the dropdown menu component where the 'Show system messages' checkbox was not rendering correctly.

Changes

  • Added rounded-sm class for rounded corners on the checkbox indicator
  • Added bg-background class to provide a visible background color
  • This ensures the checkbox is clearly visible in both checked and unchecked states

Technical Details

The issue was in the DropdownMenuCheckboxItem component in components/frontend/src/components/ui/dropdown-menu.tsx. The checkbox indicator span was missing background styling, making it difficult to see the unchecked state against certain backgrounds.

File Changed:

  • components/frontend/src/components/ui/dropdown-menu.tsx (line 108)

Testing & Verification

✅ Started the frontend locally with proper environment configuration
✅ Verified checkbox renders correctly in both checked and unchecked states
✅ Confirmed visual clarity with border and background
✅ Screenshot captured showing the fix working properly

Impact

This fix improves the UI for all dropdown checkbox items throughout the application, including:

  • The 'Show system messages' checkbox in the MessagesTab component
  • Any other dropdown menu checkboxes using the DropdownMenuCheckboxItem component

Screenshot

Checkbox Fix Demo

🤖 Generated with Claude Code

Added rounded corners and background color to the checkbox indicator
in DropdownMenuCheckboxItem to ensure proper visibility in both
checked and unchecked states. The checkbox now clearly displays with
a visible border and background, improving the UI for the 'Show system
messages' checkbox and all other dropdown checkbox items.

Changes:
- Added 'rounded-sm' class for rounded corners
- Added 'bg-background' class for visible background color

Co-Authored-By: Claude (claude-sonnet-4-5) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant