← gitpulse
Merged
Size
XL
Change Breakdown
New Feature75%
Refactoring15%
Configuration5%
Tests5%
#25feat: Open PR detail in a right-side drawer with scroll preserve

PR details open in slide-in drawer with scroll preserved

Clicking any feed item now slides PR or commit details in from the right instead of navigating away. The feed stays frozen at its scroll position, and closing the drawer returns users exactly where they were. The panel is deep-linkable via URL.

GitPulse feed readers can now browse activity without losing their place. Clicking any item linking to a pull request or commit slides a detail panel in from the right edge of the screen. The underlying feed freezes in place. When the panel closes—via the X button, backdrop tap, ESC key, or browser back button—scroll position restores exactly, so no one has to hunt for where they left off.

The panel is deep-linkable. A ?story= parameter syncs to the URL via pushState, making shares and refreshes reopen the panel at the same item. Cmd-click, Ctrl-click, and middle-click still pass through to open the full page in a new tab, preserving existing browsing habits.

A shared article component renders the same content in both the full pull request page and the drawer, using a variant prop to adjust layout for each context. Older PR stories that lacked a title field have been backfilled from the GitHub API, so the panel subtitle shows the full title rather than just a number.

The animation uses a cubic-bezier curve (350ms in, 250ms out) and respects prefers-reduced-motion for accessibility. Status badges now distinguish "Merged" (green) for pull requests from "Pushed" (amber) for direct commits.