feat(ui): display PR number in session list#147
Merged
renato0307 merged 4 commits intomainfrom Feb 1, 2026
Merged
Conversation
- Show PR number (e.g., "PR #123") in session git info line - Style PR label in yellow, merged PRs in purple - Add `rocha sessions open-pr <session>` CLI command to open PR in browser - Change git info separator from "|" to "·" for cleaner appearance - Add keyboard shortcut to open PR from TUI
- Fix potential nil pointer dereference in UpdatePRInfo - Use theme.PRLabelStyle instead of local duplicate style - Add prInfoFetchTimeout constant and improve function docs - Document gh CLI as optional external dependency
- Test happy path with PR info - Test nil PR info handling (no panic) - Test repository error propagation - Regenerate mocks with UpdatePRInfo method
05925e8 to
b33e11b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
rocha sessions open-pr <session>CLI command to open PR in browserTest plan
rocha sessions open-pr <session>opens the PR in browser