Skip to content

Show running sessions on three lines, and fix the new-session menu for long paths - #89

Merged
m4rocks merged 3 commits into
worktree-sessionsfrom
running-session-rows
Nov 1, 2026
Merged

m4rocks merged 3 commits into
worktree-sessionsfrom
running-session-rows

Conversation

@m4rocks

@m4rocks m4rocks commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

Based on #80, so the diff is only these two changes. Merge #80 first.

  • Running rows: each running session shows its project and age, then its title with the status dot, then the branch of its own working tree (the worktree's branch, not the project's). Recent and older rows are unchanged.
  • New-session menu: the project path moves to a second line under the name. A long path used to take the whole row and hide the name. Menu items get a detail field for this; hint is untouched.

Tests: added one for the row heights. I haven't seen either change rendered, so check the layout by running the app.

A running session's row now shows the project and age, the title with
its status dot, and the branch of the session's own working tree. Recent
and older rows are unchanged.
The path hint was flex_none, so a long path took the whole row and
squeezed the project name to nothing. Menu items now take a `detail`
that renders on a second line, and the new-session menu passes the
path there.
@vercel

vercel Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
claudiu Ready Ready Preview Nov 1, 2026 10:22pm UTC

On a running row the close button slides in from the right on hover and
pushes the age to the left, and slides back out when the pointer leaves.
The row is 60 px tall with explicit line heights, which fixes the
uneven padding above and below its three lines.

The status dot is now a Lucide circle: a rotating circle-dot-dashed
while Claude works, circle-small when idle, circle-check when it
finished while unwatched, and circle-question-mark when Claude Code is
waiting for the user. A change of state turns, shrinks and fades the old
icon out while the new one does the reverse.

The waiting state comes from the "waiting" status in Claude Code's
session registry, so a permission prompt shows it as well as a question.
The not-running ring is unchanged.
@m4rocks
m4rocks merged commit 31a8ec2 into worktree-sessions Nov 1, 2026
4 checks passed
@m4rocks
m4rocks deleted the running-session-rows branch November 2, 2026 13:47

This branch was successfully deployed

1 active deployment
Preview — 2bcb60f8 Deployed Nov 1, 2026 by vercel[bot]
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.

1 participant