Skip to content

fix(ui): shrink titlebar to 36px and align traffic lights - #1381

Merged
AmethystLiang merged 1 commit into
mainfrom
improve-visual
May 4, 2026
Merged

AmethystLiang merged 1 commit into
mainfrom
improve-visual

Conversation

@AmethystLiang

@AmethystLiang AmethystLiang commented May 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Shrinks the titlebar strip from 42px to 36px (4px drag + 32px tab row) and aligns native macOS traffic lights to the new visual center (y=18).
  • Replaces border-bottom on .titlebar-left with an inset box-shadow so the flex content spans the full 36px and sidebar toggle / agent badge / back-forward arrows align pixel-perfectly with the traffic lights.
  • Softens sidebar nav (Tasks / Search) idle contrast, adds explicit color for .sidebar-toggle-compact enabled/disabled, and tightens WorktreeCard gap.

Test plan

  • Launch on macOS; confirm traffic lights vertically centered in titlebar at 1x, 1.25x, 1.5x zoom.
  • Verify no 1px seam or jitter between titlebar-left and tab row.
  • Right sidebar collapsed/expanded header still reads correctly at 36px.
  • Sidebar Tasks/Search have correct idle, hover, and active states.

Made with Orca 🐋

- Reduce titlebar-left height 42→36px (4px drag strip + 32px tab row)
- Replace border-bottom with inset box-shadow so flex content spans full
  36px; controls now center at y=18 matching native traffic lights
- Adjust TITLEBAR_CSS_CENTER 20→18 and traffic-light y offset
- Soften sidebar nav (Tasks/Search) idle contrast; add explicit colors
  for .sidebar-toggle-compact enabled/disabled states
- Tighten WorktreeCard gap 2.5→1.5

Co-authored-by: Orca <help@stably.ai>
@AmethystLiang
AmethystLiang merged commit 56781ba into main May 4, 2026
3 checks passed
brennanb2025 pushed a commit to mralexsaavedra/orca that referenced this pull request May 4, 2026
)

- Reduce titlebar-left height 42→36px (4px drag strip + 32px tab row)
- Replace border-bottom with inset box-shadow so flex content spans full
  36px; controls now center at y=18 matching native traffic lights
- Adjust TITLEBAR_CSS_CENTER 20→18 and traffic-light y offset
- Soften sidebar nav (Tasks/Search) idle contrast; add explicit colors
  for .sidebar-toggle-compact enabled/disabled states
- Tighten WorktreeCard gap 2.5→1.5

Co-authored-by: Orca <help@stably.ai>
AmethystLiang added a commit to leynier/orca that referenced this pull request May 5, 2026
PR stablyai#1381 shrank .titlebar-left to 36px but left .titlebar at 42px.
Before the right-sidebar top-alignment fix, the 6px mismatch was
hidden because the right sidebar was pushed below the titlebar in
non-workspace views. With top-alignment, the 36px right-sidebar
header no longer lines up with the 42px titlebar — visible as a
6px seam on the Landing page when the right sidebar is open.

Match all three (titlebar, titlebar-left, right-sidebar header) at
36px so the top strip is uniform across views.

Co-authored-by: Orca <help@stably.ai>
AmethystLiang added a commit that referenced this pull request May 5, 2026
* fix(layout): align right sidebar to top in non-workspace views

Wrap the left + center columns in a flex-col that owns the conditional
titlebar, and lift <RightSidebar /> to be a sibling of that wrapper.
The titlebar now spans only the left+center area, so the right sidebar's
own header anchors at the top of the window in landing/settings/tasks
views — matching the workspace-view alignment.

Also gate the titlebar's right-sidebar toggle on !rightSidebarOpen so
it no longer double-renders alongside the close button inside the
right sidebar's own header when the sidebar is open.

Closes #1354

* fix(titlebar): shrink non-workspace .titlebar to 36px

PR #1381 shrank .titlebar-left to 36px but left .titlebar at 42px.
Before the right-sidebar top-alignment fix, the 6px mismatch was
hidden because the right sidebar was pushed below the titlebar in
non-workspace views. With top-alignment, the 36px right-sidebar
header no longer lines up with the 42px titlebar — visible as a
6px seam on the Landing page when the right sidebar is open.

Match all three (titlebar, titlebar-left, right-sidebar header) at
36px so the top strip is uniform across views.

Co-authored-by: Orca <help@stably.ai>

---------

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-authored-by: Orca <help@stably.ai>
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
)

- Reduce titlebar-left height 42→36px (4px drag strip + 32px tab row)
- Replace border-bottom with inset box-shadow so flex content spans full
  36px; controls now center at y=18 matching native traffic lights
- Adjust TITLEBAR_CSS_CENTER 20→18 and traffic-light y offset
- Soften sidebar nav (Tasks/Search) idle contrast; add explicit colors
  for .sidebar-toggle-compact enabled/disabled states
- Tighten WorktreeCard gap 2.5→1.5

Co-authored-by: Orca <help@stably.ai>
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
…yai#1356)

* fix(layout): align right sidebar to top in non-workspace views

Wrap the left + center columns in a flex-col that owns the conditional
titlebar, and lift <RightSidebar /> to be a sibling of that wrapper.
The titlebar now spans only the left+center area, so the right sidebar's
own header anchors at the top of the window in landing/settings/tasks
views — matching the workspace-view alignment.

Also gate the titlebar's right-sidebar toggle on !rightSidebarOpen so
it no longer double-renders alongside the close button inside the
right sidebar's own header when the sidebar is open.

Closes stablyai#1354

* fix(titlebar): shrink non-workspace .titlebar to 36px

PR stablyai#1381 shrank .titlebar-left to 36px but left .titlebar at 42px.
Before the right-sidebar top-alignment fix, the 6px mismatch was
hidden because the right sidebar was pushed below the titlebar in
non-workspace views. With top-alignment, the 36px right-sidebar
header no longer lines up with the 42px titlebar — visible as a
6px seam on the Landing page when the right sidebar is open.

Match all three (titlebar, titlebar-left, right-sidebar header) at
36px so the top strip is uniform across views.

Co-authored-by: Orca <help@stably.ai>

---------

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-authored-by: Orca <help@stably.ai>
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