# Portfolio Developer Portfolio: Pull Request Showcase

A two column pull request case study pairing the change narrative, review notes, and merge stats beside a static diff panel of the reworked hunk.

- Page: https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/developer-portfolio/pull-request-showcase
- Collection: [Portfolio](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro), Standard tier
- Group: [Developer Portfolio](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/developer-portfolio)
- Created: 2026-07-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/developer-portfolio/pull-request-showcase.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/portfolio-pro-developer-portfolio-pull-request-showcase
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- Installs to: `@/components/blocks/portfolio-pro/developer-portfolio/pull-request-showcase`

## About this block

Pull Request Showcase is a two-column case study split.
The left column carries the story: a repo and PR label
with a merged badge, the change title, two paragraphs
framing the problem and the fix, a short set of review
notes tagged by topic, and a four-up row of merge stats.
The right column is a static diff panel with a filename
tab bar, a hunk header, old and new line numbers, and add
and delete markers down the gutter.

diffLines, reviewNotes, and mergeStats are typed arrays, so
the diff, the notes, and the stat row all grow from data
rather than markup. A lineClasses helper maps each line
kind to theme tokens, which keeps the panel rendering
cleanly inside the preview frame with no portal and no
animation. Context, added, and removed rows read at a
glance without a legend.

## When to use

Reach for this block when a developer portfolio needs to
show one real change end to end rather than a list of
repos. It suits engineers whose best evidence is a diff and
the reasoning around it, where the review conversation says
as much as the code. The installer replaces the diff lines,
the review notes, and the merge stats with their own pull
request.

A natural flow around it on a Portfolio Pro page:

**Before**

- [Career timeline](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/developer-portfolio)
- [System design case](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/case-study-sections)

**After**

- [Tech stack detail](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/developer-portfolio)
- [Contact section](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/contact-sections)

## What you can display

One strong use is the session auth rework off the database
hot path. Other diff-led layouts:

- **Bug fix.** Swap the story for a reproduction and the
  one line change that closed a stubborn issue.
- **Refactor.** Show a before and after of a gnarly module
  with the metric that justified the churn.
- **First contribution.** Frame an open source PR as the
  moment you learned a new codebase from the inside.

> Tip: keep the diff to a single focused hunk; a wall of
> changed lines buries the one edit that carries the story.

## More in Portfolio Developer Portfolio

- [ADR Log](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/developer-portfolio/adr-log)
- [Api Project Card](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/developer-portfolio/api-project-card)
- [Career Timeline](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/developer-portfolio/career-timeline)
- [Code Snippet](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/developer-portfolio/code-snippet)
- [Contributions Grid](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/developer-portfolio/contributions-grid)
- [Engineering Principles](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/developer-portfolio/engineering-principles)
- [Github Stats](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/developer-portfolio/github-stats)
- [Incident Postmortem](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/developer-portfolio/incident-postmortem)
- [Now Building](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/developer-portfolio/now-building)
- [Open Source List](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/developer-portfolio/open-source-list)
- [Performance Wins](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/developer-portfolio/performance-wins)
- [Project List](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/developer-portfolio/project-list)
- [Project Repos](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/developer-portfolio/project-repos)
- [Published Packages](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/developer-portfolio/published-packages)
- [Skills and Projects](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/developer-portfolio/skills-and-projects)
- [System Design Case](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/developer-portfolio/system-design-case)
- [Tech Stack Detail](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/developer-portfolio/tech-stack-detail)
- [Terminal Intro](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/developer-portfolio/terminal-intro)
