Skip to content

feat(sidebar): drag the connections strip wider to read long names - #3526

Merged
datlechin merged 3 commits into
mainfrom
feat/resizable-workspace-rail
Oct 18, 2026
Merged

datlechin merged 3 commits into
mainfrom
feat/resizable-workspace-rail

Conversation

@datlechin

@datlechin datlechin commented Oct 18, 2026 •

Copy link
Copy Markdown
Member

Why

The connections strip had a fixed width of 80, 90 or 100pt, set by the sidebar icon size, so long connection and database names truncated to "vla...le.ru" and two entries looked the same. The line between the strip and the object browser was a plain separator, so nothing could be dragged.

Change

  • Drag the line between the strip and the object browser to widen the strip, up to 240pt. The width is kept while the strip is hidden and across launches, and VoiceOver can adjust it as a splitter.
  • The icon size now sets the strip's minimum width. The object browser keeps its own 280 to 600pt range, so a wide strip widens the sidebar instead of squeezing the browser.
  • Fixed: after the strip slid in, the object browser stayed squeezed below 280pt until the next drag.

Verified

  • New NavigationSidebarRailWidthTests and NavigationSidebarRailLayoutTests cover drag, maximum, hide and show, icon size, and that View commands sent from the sidebar still reach the window.
  • ConnectionWindowInitialFocusTests now checks isHiddenOrHasHiddenAncestor, because AppKit hides the item's wrapper rather than the strip itself.
  • The UI harness's objectBrowser(in:) steps through the sidebar's new split group to reach the object browser.

Screenshots

Default width, unchanged from before:

Default width, light
Default width, dark

Dragged wider:

Dragged wider, light
Dragged wider, dark

Not in this PR

  • Saved-width restore (AppKit autosave) was measured on macOS 27 only. On another release, a failure opens the strip at its minimum.
  • If the saved strip is wide and the window is narrow, showing the strip widens the window.

Fixes #3522

@datlechin
datlechin merged commit 3cb9bf2 into main Oct 18, 2026
8 checks passed
@datlechin
datlechin deleted the feat/resizable-workspace-rail branch October 18, 2026 17:18
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.

Resizing the connection panel

1 participant