Repository navigation
Description
Today the sidebar lists everything the scan finds under
~/.claude/projects, and the only way to take a row out of view is to
archive it (⊟) — a durable gesture meaning "this work is finished", not
"don't show me this right now".
The need surfaced while preparing the documentation screenshots: for a capture
to be publishable, the sidebar had to show termherd's sessions only. The one
manoeuvre available was typing termherd into the search box before every
capture — that is, driving the app's keyboard, which was precisely what was
blocked. Hiding would have been enough.
What is missing, and what already exists
| Gesture | Exists? | Meaning |
|---|---|---|
| Archive a session (⊟) | ✅ | durable, "this is done"; recoverable via Show archived |
| Collapse a project | ✅ | persisted in collapsed.json; the group header stays visible |
| Cap the list per project | ✅ | sidebar.session_limit, truncates the tail |
| Hide a session / a project | ❌ | — |
Collapsing leaves the project header on screen, and therefore its name.
Archiving carries a meaning we do not want to give a live session. Neither
answers.
To design
The open question is scope, and it decides the rest:
- hide a session or a whole project (the screenshot case wanted the
second); - durable (one more entry in the
~/.termherd/metadata.jsonoverlay,
alongside stars and archives) or per-run (a presentation mode you leave
by closing the app); - how you get back to it — a Show hidden checkbox as for archives, or a
global toggle.
A temporary presentation mode would be the most useful for captures and the
cheapest to undo; durable hiding would be the most useful day to day. The two
do not ask for the same thing, hence needs-design.
Adjacent: F-session-metadata (the overlay already exists and can carry one
more field) and F-repo-view ("show me this repo", taken from the other end).
Activity
bastien-gallay commentedon Aug 3, 2026
Surfaced while preparing #266 (documentation screenshots); the capture blocker itself is #264.
[-]Masquer des sessions ou des projets dans la barre latérale, sans les archiver[/-][+]Hide sessions or projects in the sidebar, without archiving them[/+]docs(agents): les tickets s'écrivent en anglais
docs(roadmap): le pont MCP est injoignable depuis ce que termherd n'a…
docs(agents): les tickets s'écrivent en anglais
docs(roadmap): le pont MCP est injoignable depuis ce que termherd n'a…
termherd has a manual, gated on every PR and published from main (#268)
bastien-gallay commentedon Aug 7, 2026
Scope decision, from the #279 design pass
Designing "add a repository to the sidebar" (#279) put four gestures on one
axis — what composes the sidebar — and settled the question that blocked this
issue. The sidebar becomes:
The two needs this issue weighed against each other are answered by two
different features, so neither has to compromise:
removedin the overlaySo the persistence question is settled: this stays ephemeral. A
Sidebar::presentationset, not persisted, reset each launch — the samestanding as
Sidebar::expandedtoday. That is the cheapest thing that fixesthe capture case, and it is no longer competing with the durable need.
The durable half moves out because it is not the same gesture. Removing a
declared repository (#279) clears its declaration and it genuinely
disappears; removing a discovered project cannot delete anything under
~/.claude, so it is a durable hide. One field,removed, covers both — andif it were also this issue's mechanism,
hiddenandremovedwould be twonames for one invariant.
The scope question stays open: session, project, or both. The screenshot
case wanted projects; the model above is written per project path, so extending
it to sessions is a second decision, not a consequence.
bastien-gallay commentedon Aug 18, 2026
Note from the
F-repo-addwrap pass (#281, merged as ef16e04): the openingpremise of this issue is now out of date, and in a way that matters for how
this gets designed.
Two halves of that have changed:
visible = (discovered ∪ declared) − removed − presentation, and thepredicate is written once (
App::sidebar_row_shown) precisely so theremaining terms can drop into it rather than growing a second visibility
rule. The insertion point for whatever this issue decides already exists.
drops the declaration, and it appears only on rows you added.
What has not changed is this issue’s actual subject. A discovered
project still has only ⊟, so the row in the table here —
| Hide a session / a project | ❌ | — |— remains accurate, and both designaxes are untouched: session-vs-project scope, and ephemeral-vs-durable.
One correction to the record: #279 described this issue as "narrowed to an
ephemeral presentation mode". That was a decision taken while scoping
F-repo-addand it is not written here; the body still weighs both, which iswhy it carries
needs-design. Worth settling explicitly before anyone buildsfrom either reading.