The toolbar crowds Back, Forward, and Recent Places into one capsule and merges the trailing buttons
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 52/100
Research direction
Read Sources/SwitchboardApp/NavHistoryControls.swift and the .toolbar block in Sources/SwitchboardApp/ContentView.swift (lines 127 and 140–157), then compare the toolbar with the described captures. Check open PRs #375, #382, #383, and #260 before starting because they touch these files. Done means the history buttons and trailing actions have the separation described in the suggested fix, without changing the account item behavior from #339.
Written by the indexing model from the issue text.
Description
The toolbar crowds Back, Forward, and Recent Places into one small capsule, and it merges the Manager, account, Import, and New Session buttons into another.
What happens
NavHistoryControlsputs the three buttons in oneHStack(spacing: 2)inside oneToolbarItem(ContentView.swift:127). macOS draws them as one capsule, and the clock touches its edge.- ContentView.swift:140-157 gives the Manager star, the account menu, Import, and New Session one
ToolbarItemeach with no spacer, so macOS 26 draws them in one glass capsule.
Captures of main at 1024 and 1600 pt, in light and dark, show both. #339 already made the account item an icon only, which kept New Session out of the overflow menu.
Why it matters
Mail, Finder, and Xcode put Back and Forward in separate .navigation items with system spacing. The primary action, New Session, usually stands apart from secondary buttons. #364 item 1 reports the same crowding of the history controls.
Suggested fix
- Make Back and Forward two
ToolbarItem(placement: .navigation)s, and give Recent Places its own item. - Add a
ToolbarSpacerso New Session stands alone, and group the Manager and account items apart from Import.
This is finding 6 of the #295 UI once-over. The account item's orange color is finding 14 (#403). Open PRs #375, #382, and #383 change the .toolbar block in ContentView.swift, and #260 changes NavHistoryControls.swift.
- 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
-
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
-
An exit-test child that can't find its exit test runs the whole suite (can fork-bomb)Possibly taken @grynspan claimed this today. Openai-assisted bug command-line experience exit-tests
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
swiftlang/swift-testing#2054 · 1 comment ·
Maintainers usually reply within 1 day