Skip to content

Conversation

@babakks
Copy link
Member

@babakks babakks commented Sep 18, 2025

This PR includes the session error, if any, in the overview mode.

gh-agent-task-view-error

Also the in prompt when there are multiple sessions are now a bit different. Before, it was like:

? Select a session  [Use arrows to move, type to filter]
> X Review from @babakks • about 32 minutes ago
  ✓ Initial implementation • about 5 hours ago

But now, I had to change it to:

? Select a session  [Use arrows to move, type to filter]
> X Review from @babakks • updated about 32 minutes ago
  ✓ Initial implementation • updated about 5 hours ago

Signed-off-by: Babak K. Shandiz <babakks@github.com>
Signed-off-by: Babak K. Shandiz <babakks@github.com>
Signed-off-by: Babak K. Shandiz <babakks@github.com>
Signed-off-by: Babak K. Shandiz <babakks@github.com>
Signed-off-by: Babak K. Shandiz <babakks@github.com>
@babakks babakks requested a review from a team as a code owner September 18, 2025 15:17
@babakks babakks requested review from BagToad and removed request for a team September 18, 2025 15:17
mntlty and others added 12 commits September 18, 2025 17:20
Signed-off-by: Babak K. Shandiz <babakks@github.com>
…dAt`

Signed-off-by: Babak K. Shandiz <babakks@github.com>
Signed-off-by: Babak K. Shandiz <babakks@github.com>
Signed-off-by: Babak K. Shandiz <babakks@github.com>
Signed-off-by: Babak K. Shandiz <babakks@github.com>
Signed-off-by: Babak K. Shandiz <babakks@github.com>
Signed-off-by: Babak K. Shandiz <babakks@github.com>
Signed-off-by: Babak K. Shandiz <babakks@github.com>
Signed-off-by: Babak K. Shandiz <babakks@github.com>
Signed-off-by: Babak K. Shandiz <babakks@github.com>
Comment on lines +321 to +328
// Note that when the session is just created, a PR is not yet available for it.
if session.PullRequest != nil {
fmt.Fprintf(opts.IO.Out, "\n%s%s • %s\n",
session.PullRequest.Repository.NameWithOwner,
cs.ColorFromString(prShared.ColorForPRState(*session.PullRequest))(fmt.Sprintf("#%d", session.PullRequest.Number)),
cs.Bold(session.PullRequest.Title),
)
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not doing it in this PR: but I had a thought about whether we should show a "awaiting PR" type of message for this case. It probably won't happen much, so not concerned about it. Just an idea.

@babakks babakks merged commit 002ba54 into github-cli-epic-990 Sep 22, 2025
7 of 8 checks passed
@babakks babakks deleted the babakks/display-session-error branch September 22, 2025 10:57
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.

4 participants