Skip to content

Include PR number at the top of gh pr view's output #3729

@Jackenmen

Description

@Jackenmen

Describe the feature or problem you’d like to solve

This seems like a small thing but I've been a bit annoyed by the lack of PR number at the top of the output (before/after the title like on the web for example).

If I weren't using a pager and a limited height, this might not have been a big problem (because I could just see the PR number in the command I ran or at the bottom of the output) but because I do, it's slightly annoying that I have to move to another window (if I'm doing something in the editor on the other screen) or terminal pane (if I want to run some other commands) to see the number of the PR I'm looking at.

I don't see much against doing it which is why I made this issue but I'm certainly interested to hear what you think about this.

Proposed solution

Show the PR number in the title line before or after the title.

Additional context

This is one of the terminal workflows I'm trying out for writing a changelog - list of PRs from the milestone at the top left, currently documented PR at the bottom left and command line for anything else (committing, adding label, looking at the PR diff if necessary) at the right.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLIhelp wantedContributions welcome

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions