Skip to content

Conversation

@michelroegl-brunner
Copy link
Member

🎨 UI Improvements

Button Styling Enhancements

  • Semantic Button Variants: Added semantic variants (edit, update, delete, save, cancel) with consistent dark theme colors
  • Uniform Styling: Centralized button styling in Button component for better maintainability
  • Hover Effects: Added scale animation (hover:scale-105) and shadow effects for better user feedback
  • Dark Theme Colors: Used subtle 900-level colors with opacity for better dark theme compatibility

Tab Navigation Improvements

  • Flat Bottom Edge: Removed rounded bottom border from active tabs for seamless content integration
  • Consistent Hover States: Applied same flat bottom styling to hover states
  • Visual Polish: Maintained rounded top corners while creating clean connection with content below

Badge Overflow Fix

  • Responsive Design: Fixed UpdateableBadge overflow on smaller screens
  • Flex Wrapping: Added flex-wrap and gap classes to prevent badges from hanging over card boundaries
  • Mobile Optimization: Improved display on laptop and mobile screens

Code Quality

  • Cleaner Code: Removed custom className overrides in favor of semantic variants
  • Maintainability: Centralized styling makes future updates easier
  • Consistency: All action buttons now use the same styling system

🚀 Benefits

  • Better visual hierarchy and user experience
  • Improved responsive design for various screen sizes
  • More maintainable and consistent codebase
  • Enhanced dark theme compatibility

- Add text-left class to server column td element
- Add inline-block class to server name span element
- Ensures server column content aligns with header like other columns
- Add flex-wrap and gap classes to badge containers in ScriptCard and ScriptCardList
- Prevents badges from overflowing card boundaries on narrow screens
- Maintains proper spacing with gap-1/gap-2 for wrapped elements
- Improves responsive design for mobile and laptop screens
- Update Edit, Update, Delete, Save, and Cancel buttons with color-coded themes
- Edit: Blue theme (bg-blue-50, text-blue-700)
- Update: Cyan theme (bg-cyan-50, text-cyan-700)
- Delete: Red theme (bg-red-50, text-red-700)
- Save: Green theme (bg-green-50, text-green-700)
- Cancel: Gray theme (bg-gray-50, text-gray-700)
- Add hover effects: scale-105, shadow-md, color transitions
- Apply consistent styling to both table and mobile card views
- Disabled buttons prevent scale animation and show proper cursor states
- Replace bright flashbang colors with subtle dark theme variants
- Use 900-level colors with 20% opacity for backgrounds
- Use 300-level colors for text with 200-level on hover
- Use 700-level colors with 50% opacity for borders
- Maintain color coding but with much more subtle appearance
- Better contrast and readability against dark backgrounds
- No more flashbang effect! 😅
- Add semantic button variants: edit, update, delete, save, cancel
- Each variant has consistent dark theme colors and hover effects
- Remove custom className overrides from all button instances
- Centralize styling in Button component for maintainability
- All action buttons now use semantic variants instead of custom classes
- Much cleaner code and consistent styling across the application
- Add rounded-t-md rounded-b-none classes to active tab styling
- Creates flat bottom edge that connects seamlessly with content below
- Applied to all three tabs: Available Scripts, Downloaded Scripts, Installed Scripts
- Maintains rounded top corners for visual appeal while removing bottom rounding
- Add hover:rounded-t-md hover:rounded-b-none to inactive tab hover states
- Ensures consistent flat bottom edge on both active and hover states
- Creates uniform visual behavior across all tab interactions
- Maintains rounded top corners while removing bottom rounding on hover
@michelroegl-brunner michelroegl-brunner requested a review from a team as a code owner October 13, 2025 11:10
@michelroegl-brunner michelroegl-brunner merged commit c12c96c into main Oct 13, 2025
4 checks passed
@michelroegl-brunner michelroegl-brunner deleted the fix/ui_fixes branch October 14, 2025 06:43
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