iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
🚀

How Building a Custom PR Dashboard Skyrocketed My Development Motivation

に公開

Introduction

How do you look back on your past outputs (pull requests)?
While you can check your recent activity on your GitHub profile, I wanted a more personalized and comprehensive view, so I built my own PR dashboard.
The inspiration came from posts by ryoppippi and Kanon, who had created beautiful sites to aggregate their own PRs.

https://x.com/ryoppippi/status/1826204396486611394

https://x.com/ysknsid25/status/1997309774682345571

I was blown away by how visual their contributions were and decided to build my own with some unique features.

I highly recommend this project to anyone looking to start personal development or practice their skills for three reasons:

  • Clear Motivation

Since you have the practical goal of wanting to "see your own PRs in a list," it's easy to see the project through to completion. Since GitHub doesn't natively offer a "personal PR list page," it's worth building.

  • Simple structure with a lot to learn

At its core, it's a simple process of "fetching data from an API and displaying it." However, handling GitHub API tokens (credentials) requires both frontend and backend implementation. You also have to think about where to deploy and how to update the data, so there are surprisingly many things to consider.

  • Boosts contribution activity

It makes you want to "fill this site with your own achievements," which naturally boosts your motivation for OSS activities and development. This is the biggest benefit.

My personal implementation choices

Site

https://pr.bmth.dev/

While referencing Kanon's structure, I pursued better usability as a "dashboard" by implementing the following features:

  1. Enhanced search functionality
    I implemented partial matching search for PR titles and repository names. I didn't want to use Context for this state management, so I implemented it using query parameters with nuqs. This ensures search conditions are maintained even after a reload.

  2. Filtering by Organization
    I thought there would be many cases where users want to see PRs for specific organizations, so I implemented filtering per organization. I adopted a dashboard-like UI that completes in a single screen without needing to navigate back and forth.

  3. Responsive design
    I built a layout optimized for both PC viewing and quick progress checks on smartphones.

  4. Adoption of Yamada UI
    As you can see, since I am a maintainer of Yamada UI, I adopted it for this site. If I made it too simple, it wouldn't showcase Yamada UI's potential, so I opted for this design. Specifically, the areas using the Table component highlight Yamada UI's strengths. I highly recommend taking a look at the implementation.

[Bonus] Comparing the tech stacks of three developers


It is interesting to note that even for the same "PR aggregation site," the technology choices vary significantly depending on the developer. I have compared my tech stack with those of the two developers who inspired me:

Developer Infrastructure Framework Styling
Me Vercel Next.js, React Yamada UI
ryoppippi Cloudflare Svelte UnoCSS
Kanon Cloudflare HonoX Tailwind CSS

Each approach reflects the developer's "preferred technology" and personality, which is fun to see! By the way, the source code for all of these is publicly available on GitHub, so please feel free to take a look if you are interested.

Conclusion

Building your own place to visualize your output is not only a great technical project but also makes your daily development journey more enjoyable. Why not try creating your own "GitHub PR dashboard"? I am sure it will lead to new discoveries and increased motivation!

GitHubで編集を提案

Discussion