Pull Requests tab on issue page requires unnecessary navigation #3100
Zak Siddiqui opened 1 month ago

Problem Statement

On an issue page, the "Pull Requests" tab currently functions as a navigation element – clicking it loads an entirely new page showing linked PRs. To view any specific PR, the user must:

  1. Click the "Pull Requests" tab → navigate to PR list page
  2. Click a specific PR → navigate again

This two-click flow is inefficient for users who only want to quickly check which PRs are linked to an issue, or jump directly to a specific one. The tab could instead provide inline access to this information, reducing friction.

Goal

Make linked pull requests accessible from the issue page in a single action, without a full page navigation just to see the list.

Suggested Approach

One approach is to show linked PRs in a popover/dropdown when the user interacts with the "Pull Requests" tab (e.g., hovering with a mouse or tapping on touch). Clicking a specific PR from this popover would open it directly. Clicking the tab itself (without dismissing) would still navigate to the full PR list page for users who want the expanded view.

Design notes:

  • The popover should display the same information currently shown on the Pull Requests tab page (titles, statuses, assignees, branches, etc.).
  • The interaction should feel natural on both desktop (hover-based) and mobile (tap-based) devices.
  • Timing for show/hide (e.g., 300ms show delay, 200ms hide delay) should be tuned to feel responsive without being too sensitive.

Acceptance Criteria

  1. A user can see the list of linked pull requests without leaving the issue page.
  2. A user can open a linked pull request directly from the issue page in a single click/tap.
  3. The existing "Pull Requests" tab remains functional for users who prefer the full-page list view.
  4. The feature works on both desktop (mouse) and mobile (touch) devices.
  5. No regressions in existing tab behavior.

Out of Scope

  • Redesigning the Pull Requests tab page itself.
  • Adding new filtering/sorting capabilities specific to the popover.
  • Zak Siddiqui changed title 1 month ago
    Previous Value Current Value
    Hover-to-Preview Pull Requests Tab on Issue Page
    Pull Requests tab on issue page requires unnecessary navigation
  • Robin Shen commented 1 month ago

    Linked PRs now directly displayed under issue description, instead of hiding inside a tab.

  • Robin Shen changed state to 'Closed' 1 month ago
    Previous Value Current Value
    Open
    Closed
  • Zak Siddiqui commented 1 month ago

    @robin even better!

  • Zak Siddiqui commented 1 month ago

    @robin could you help me out by invoking CWH?

    Thx!

1/1
Type
Enhancement
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-3100
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover