native macOS codings agent orchestrator
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(repo-appearance): give shelf spine sections more breathing room

The rotated branch title was crowded against the first tab slot
(only 3pt gap) and the last tab slot was crowded against the
bottom-controls divider (0pt gap), so the spine read as one
continuous strip instead of three sections.

Introduce a `sectionGap` metric (10pt) for major spine boundaries:

- header → tab list: tabListContent's `.padding(.top)` switches
from `slotSpacing` (3) to `sectionGap` (10).
- tab list → bottom controls: bottomControls gets a new
`.padding(.top, sectionGap)` so the divider sits 10pt below the
last tab; the existing 3pt below the divider before the `+`
button stays the same.

`slotSpacing` (3pt between adjacent tabs) is unchanged — it still
tightly groups slots within the tab list.

onevcat 9ac52ddd a28186d0

+7 -1
+7 -1
supacode/Features/Shelf/Views/ShelfSpineView.swift
··· 182 182 } 183 183 } 184 184 .padding(.horizontal, ShelfMetrics.slotHorizontalPadding) 185 + .padding(.top, ShelfMetrics.sectionGap) 185 186 .padding(.bottom, ShelfMetrics.slotSpacing) 186 187 } 187 188 } ··· 258 259 } 259 260 } 260 261 .padding(.horizontal, ShelfMetrics.slotHorizontalPadding) 261 - .padding(.top, ShelfMetrics.slotSpacing) 262 + .padding(.top, ShelfMetrics.sectionGap) 262 263 } 263 264 264 265 } ··· 510 511 static let slotCornerRadius: CGFloat = 5 511 512 static let slotSpacing: CGFloat = 3 512 513 static let slotHorizontalPadding: CGFloat = 3 514 + /// Vertical gap between major spine sections (header → tab list, 515 + /// tab list → bottom controls). Larger than `slotSpacing` so the 516 + /// rotated title doesn't crowd into the first tab and the last tab 517 + /// doesn't crowd into the divider above the `+` button. 518 + static let sectionGap: CGFloat = 10 513 519 static let aggregatedDotSize: CGFloat = 6 514 520 /// Max pre-rotation width (i.e. visual height after 90° rotation) of the 515 521 /// spine header title. Texts longer than this get middle-truncated.