Skip to content

UI: Enhance 'repo view' with clean visual hierarchy and padding #13608

@Harsith2k5

Description

@Harsith2k5

What does this PR do?
This PR upgrades the terminal UI for gh repo view, transitioning the output from a dense block of raw text into a sleek, highly readable format.

Why is this needed? (The DevEx problem)
Currently, the command dumps the repository description and README into the terminal with no separation or padding. This creates unnecessary cognitive load and eye strain for developers trying to scan the repository details quickly.

The Solution
Structured Padding: Added vertical margins to give the interface necessary breathing room.

Muted Labels: Introduced explicit, muted key-value markers (» repository:, » about:) using cs.Muted().

Visual Zoning: Implemented clean geometric dividers to box in the README content, preventing it from bleeding into system messages.

By muting the structural elements, the actual repository data visually pops, bringing the terminal output up to modern, hyper-professional developer tool standards.

Image Image Image Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLIgh-reporelating to the gh repo command

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions