Inbox and Issues nest a split view in the detail column, so the detail sits at its minimum width
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Read Sources/SwitchboardApp/ContentView.swift and ListDetailSplit.swift, then inspect InboxView.swift and KeyboardNavigation.swift to understand the current columns and list behavior. The issue offers a three-column NavigationSplitView or a narrower-width visibility change, with moving the Inbox list to List as another possible part. Done means the Inbox and Issues views avoid the cramped detail layout while preserving the intended Board and session layouts; coordinate around the open PRs that also change ContentView.swift.
Written by the indexing model from the issue text.
Description
The Inbox and Issues views nest an HSplitView inside the window's two-column NavigationSplitView. At 1024 pt the sidebar, the list, and the detail all show, and the detail gets only its 340 pt minimum.
What happens
ContentViewbuilds a two-columnNavigationSplitViewwith a 300 pt ideal sidebar.ListDetailSplitputs the Inbox or Issues list (280 pt ideal) and the detail (340 pt minimum) in anHSplitViewinside the detail column.- The Inbox list is a hand-built
LazyVStack(InboxView.swift:93), not aList. It only gets the keyboard behavior thatKeyboardNavigation.swiftadds, without system selection or type-select.
A 1024 pt capture of main shows three columns of about 300, 360, and 360 pt, and the detail header truncates (#391).
Why it matters
macOS apps with a sidebar, a list, and a detail use a three-column NavigationSplitView. The system then collapses the sidebar at narrow widths and saves column widths on its own. Two of #364's items come from this nesting. The list/detail divider runs up through the toolbar (item 2). The list's width isn't sticky (item 3), because this HSplitView doesn't save its divider position.
Suggested fix
Make the window a three-column NavigationSplitView (sidebar, content list, detail) for the Inbox and Issues, and keep two columns for the Board and a session. A smaller first step is to set columnVisibility to .doubleColumn below about 1200 pt so the sidebar hides at narrow widths. Moving the Inbox list to a List with selection could come in the same change.
This is finding 2 of the #295 UI once-over. Open PRs #375, #382, and #383 change ContentView.swift, so plan it after they merge.
- Dominant language
- Swift
- Stars
- 0
- Forks
- 0
- Avg merge
- 6h 15m
- Merged PRs (30d)
- 308
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from haacked/switchboard
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
haacked/switchboard#420 ·
Maintainers usually reply within 1 day
-
priority: low
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
haacked/switchboard#403 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
haacked/switchboard#395 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
haacked/switchboard#391 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 66/100
haacked/switchboard#419 ·
Maintainers usually reply within 1 day
All issues in haacked/switchboard
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Enzoo404/gravitybox#21 ·
Maintainers usually reply within 1 day
-
area: sidebar enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ZigaoWang/zigzag#351 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
manaflow-ai/cmux#46584 ·
Maintainers usually reply within 1 day
-
android:core ios:core
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day