Skip to content

fix(native): show a card's status line in place of its path - #929

Merged
omartelo merged 1 commit into
mainfrom
fix/card-status-line-height
Oct 23, 2026
Merged

omartelo merged 1 commit into
mainfrom
fix/card-status-line-height

Conversation

@omartelo

Copy link
Copy Markdown
Collaborator

Summary

A session card grew by a line when its agent started a tool, waited on the user, opened a relay or compacted, and shrank when that ended. Every card below it jumped each time.

The status line (statusRung) now takes the place of the card's path while it shows, so the card keeps one height through a turn. The path, and the layout chip that sits on its line, come back when the status line goes.

Test plan

  • TestCardKeepsItsHeightWhileTheStatusRungShows lays a card out at rest, running a tool and waiting, and checks they are the same height. It failed before the change (110px against 86px).
  • gofmt -l ., go vet ./... and go test ./... in native/.

The tool, Waiting, relay and compacting line was added above the path,
so a card grew by a line when a turn started and shrank when it ended,
pushing every card below it. The line now takes the path's place while
it shows.
@omartelo
omartelo merged commit c2e5fb4 into main Oct 23, 2026
7 checks passed
@omartelo
omartelo deleted the fix/card-status-line-height branch October 23, 2026 23:45
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