The session header takes a quarter of the window and mixes text and icon buttons
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
Research direction
Read Sources/SwitchboardApp/SessionView.swift, especially SessionView.header at lines 224–314, and inspect how the window toolbar is defined. The issue also notes open PRs #375 and #260 change this file, so review their overlap before starting. Done when the session actions appear as labeled toolbar items, the header follows the specified two-line layout, and the PR, issue, and branch links share one truncated line.
Written by the indexing model from the issue text.
Description
The session header takes about a quarter of the window's height and mixes text buttons with icon-only buttons.
What happens
SessionView.header stacks the name with its badge, "claude running/stopped", and the permission mode on one line. Below come the reason (two lines), the PR link, the issue, a cleanup note, and the branch and folder. A long name wraps too: a 1024 pt capture of main shows "Typo-tolerant search / with rate-limit- / headers" on three lines, and the header runs to about 150 of 700 pt. On the right, Resume, Pause, and Done are text buttons, and they sit next to icon-only Notes, side panel, and trash buttons.
Why it matters
Mac apps put actions on the selected item in the window toolbar, with labels, and keep the content header short. Here the terminal, which is the reason to open a session, gets less room, and the two button styles make it unclear which controls go together. #390 plans to add the session's account to this header, which would make it taller still.
Suggested fix
- While a session shows, move Stop/Resume, Pause, Done, the side panel toggle, and Delete into the window toolbar as
ToolbarItems with labels. - Keep the header to two lines: the name (one line, tail truncation) with its badge, then the reason.
- Show the PR, issue, and branch as one line of links with tail truncation.
This is finding 4 of the #295 UI once-over. Open PRs #375 and #260 change SessionView.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
-
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