A Chrome extension that enhances GitHub's pull request file view by adding the ability to filter files by code owners.
- 🔍 Filter files by code owner in pull request views
- 🚀 Works automatically on GitHub pull request file pages
- 🎯 Shows file count per code owner
- ⚡ Real-time filtering without page reload
- 🔄 Waits for all files to load before processing
- 📊 Shows stats about files without ownership
- 🎨 Seamlessly integrates with GitHub's native UI
- Visit the Chrome Web Store
- Click "Add to Chrome"
- Click "Add Extension" in the popup
- Clone this repository
git clone https://github.com/YossiSaadi/github-codeowners-filter-chrome-extension.git- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" in the top right
- Click "Load unpacked" and select the extension directory
- Navigate to any pull request's "Files changed" tab on GitHub
- Click the file filter button (usually located above the file list)
- You'll see a new "Filter by code owner" section
- Select one or more code owners to filter the file list
- Files will be filtered in real-time based on your selection
The extension:
- Detects when you're viewing a pull request's files
- Scans the page for files with code ownership information
- Creates a filterable list of all code owners
- Adds a new section to GitHub's native file filter menu
- Handles filtering through GitHub's existing UI patterns
- Node.js (v20 recommended)
- npm or yarn
- Chrome browser
- Clone the repository
- Install dependencies
yarn installyarn build- Build the extension
- Load it into Chrome as an unpacked extension
- Make changes to the code
- Click the refresh button in
chrome://extensions/to see your changes
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This extension:
- Does not collect any user data
- Does not make any network requests
- Only runs on GitHub pull request pages
- Only reads code ownership information that's already visible on the page
Distributed under the MIT License. See LICENSE for more information.
If you encounter any problems or have feature requests, please:
- Check the existing issues
- Open a new issue if your problem/request isn't already tracked
