[PR #13480] feat(9989): Subagent session pagination #14680

Open
opened 2026-02-16 18:19:27 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/13480

State: open
Merged: No


What does this PR do?

It's not clear how many subagent sessions exist when browsing then in the TUI. This PR adds a paginated count next to "Subagent session" in the header. i.e. "1 / 2". The reported issue's suggestion is pretty simple and improved usability a lot.

image

My solution ignore the parent session from the count, only listing sessions with a parent refrence.

The reported issue suggested adding labels/context to the prev/next buttons as well, but I think that's a different feature considering some session names can be very long. That requires more design consideration.

If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!

How did you verify your code works?

Verified by bun dev with visual inspection followed by bun run typecheck and bun test

Closes #9989

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/13480 **State:** open **Merged:** No --- ### What does this PR do? It's not clear how many subagent sessions exist when browsing then in the TUI. This PR adds a paginated count next to "Subagent session" in the header. i.e. "1 / 2". The reported issue's suggestion is pretty simple and improved usability a lot. <img width="656" height="199" alt="image" src="https://github.com/user-attachments/assets/ddd24637-c054-49f5-ab83-4a5bf6ee46f3" /> My solution ignore the parent session from the count, only listing sessions with a parent refrence. The reported issue suggested adding labels/context to the prev/next buttons as well, but I think that's a different feature considering some session names can be very long. That requires more design consideration. **If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!** ### How did you verify your code works? Verified by `bun dev` with visual inspection followed by `bun run typecheck` and `bun test` Closes #9989
yindo added the pull-request label 2026-02-16 18:19:27 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14680