Skip to content

feat: refine UI for a finer premium look - #173

Merged
Cleboost merged 4 commits into
masterfrom
feature/new-ui
Jul 22, 2026
Merged

Cleboost merged 4 commits into
masterfrom
feature/new-ui

Conversation

@Cleboost

Copy link
Copy Markdown
Owner

This pull request refactors and modernizes the UI codebase to improve consistency, maintainability, and visual polish. It replaces manual margin and spacing management with CSS classes, introduces helper methods for repeated UI patterns, and standardizes widget sizing and cursor behavior. These changes pave the way for easier theming and a more unified look across the application.

UI Consistency and Theming:

  • Replaced manual margin and spacing settings with CSS classes such as page, page-header, settings-group, settings-row, list-row-content, and others across components like Settings, DockerManager, FileExplorer, and SystemMonitor to standardize layout and enable easier theming. [1] [2] [3] [4] [5]
  • Updated label CSS classes for subtitles and section headers (e.g., using page-subtitle instead of dim-label) for improved visual hierarchy. [1] [2]

Code Simplification and Reuse:

  • Added helper methods like settings_group and add_row in Settings to reduce boilerplate and unify group/row creation.
  • Introduced a shared set_pointer_cursor helper for consistent pointer cursor behavior on clickable widgets that aren't gtk::Button.

Widget Sizing and Spacing Adjustments:

  • Standardized widget sizes and spacing for buttons, cards, and rows to ensure a more harmonious layout (e.g., adjusting sidebar width, button sizes, card sizes, and icon sizes). [1] [2] [3]

Sidebar Improvements:

  • Added a set_active method and logic to visually indicate the active sidebar button, improving navigation clarity.
  • Marked the Sidebar struct as Clone for easier state management.

Accessibility and Usability:

  • Added tooltips (e.g., "Add Server" on the add button) and ensured pointer cursor feedback on all interactive elements, enhancing user experience. [1] [2]

These changes collectively make the UI codebase more maintainable and visually consistent, and lay the foundation for further improvements in theming and user experience.

Cleboost added 3 commits July 22, 2026 18:41
…ble cursors

Tighten tabs so labels keep natural width, unify design tokens, and polish layouts across sidebar, settings, and session views.
Use a larger icon with persistent background and color-based states so the close control stays easy to spot.
Replace hardcoded white SVG fills with currentColor and theme-aware CSS so toolbar icons stay visible on light backgrounds.
@Cleboost
Cleboost merged commit cc83448 into master Jul 22, 2026
@Cleboost
Cleboost deleted the feature/new-ui branch July 22, 2026 16:45
Cleboost added a commit that referenced this pull request Nov 4, 2026
* refine UI for a finer premium look with consistent spacing and clickable cursors

Tighten tabs so labels keep natural width, unify design tokens, and polish layouts across sidebar, settings, and session views.

* fix(ui): improve tab close button visibility and icon sizing

Use a larger icon with persistent background and color-based states so the close control stays easy to spot.

* fix(ui): make docker and container icons follow theme colors

Replace hardcoded white SVG fills with currentColor and theme-aware CSS so toolbar icons stay visible on light backgrounds.

* style: apply rustfmt [skip ci]
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