8000 GitHub - HoangYell/github-pr-file-hider-button: Hide noisy files in pull requests for faster, cleaner code reviews.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

HoangYell/github-pr-file-hider-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub PR File Hider Button 🚫📄

Hide noisy files in pull requests for faster, cleaner code reviews.

  • Overwhelmed by too many files in a pull request or commit?
  • Need to focus on just the important changes and filter out distractions?
  • Want to guide a teammate to review only specific parts of a large PR?
  • Need a "MagicLink" to share so your teammates see the same focused files?

This Chrome extension helps you focus by hiding irrelevant files — so you can review what matters most and share a filtered view with your team.


Table of Contents


Features

  • 🕵️‍♂️ Hide Files: Click a button, and the file (and its diff) disappears from your view.
  • 🗂️ Auto-Hide Empty Folders: Folders with no visible files vanish automatically. Recursive, like a good algorithm.
  • 👀 Restore View Instantly: Click one button to bring everything back. (No begging required.)
  • 🔗 Share a MagicLink: Copy a link that preserves your hidden file state — perfect for team reviews.
  • Fast & Non-Intrusive: Minimal DOM changes. Fast, efficient, and doesn’t break GitHub’s UI.
  • 🌐 Scope: Works on both commit screens and PR screens.

Installation

🧪 Manual (Development Mode)

  1. Clone or download this repo.
  2. Open Chrome and go to chrome://extensions.
  3. Enable Developer mode (top right).
  4. Click Load unpacked and select the folder you just downloaded.
  5. Navigate to a GitHub PR’s Files changed tab.
    You’ll see new Hide and Share buttons appear next to each file.

🧪 Chrome Web Store


Usage

  • 🔘 Click Hide next to any file in the file tree to make it disappear (from the tree and the diff).
  • 🔘 Click Show All Hidden Files to bring everything back.
  • 🔘 Click Share Hidden State to copy a link that preserves your hidden file state—perfect for team reviews.

📸 Screenshots

Hide Buttons

Share Hidden Files

Result

Watch the video tutorial for a quick demo of how to use the extension.


Browser Support

Browser Supported
Chrome ✅ Yes (via manual install)
Edge 🟡 Untested (may work)
Firefox ❌ Not yet
Safari ❌ Not yet

FAQ

Q: Does this delete files?
A: No! It only hides them from your view in the browser. Your code stays untouched.

Q: Can I hide folders?
A: If you hide all files in a folder, the folder will hide itself automatically. Like magic.

Q: Will this break GitHub?
A: Nope. It makes minimal, safe changes to the DOM — GitHub continues working as expected.

Q: Can I use this to onboard teammates?
A: Yes! Use the Share button to create a link showing only the relevant files.


Contributing

PRs welcome!
If you can make it faster, cleaner, or more magical — feel free to open an issue or submit a PR.


License

MIT.
Use it, fork it, hide all the files you want. ✨


Privacy Policy

This extension does not collect, store, or transmit any user data.
No telemetry, no tracking, no ads.


Made with ❤️ by HoangYell and contributors.

About

Hide noisy files in pull requests for faster, cleaner code reviews.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
0