Better GitHub Pull Requests

Improves the GitHub Pull Request UI and adds several features. "Better PRs"

Per 06-04-2022. Zie de nieuwste versie.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey, Greasemonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Userscripts.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een gebruikersscriptbeheerder nodig.

(Ik heb al een user script manager, laat me het downloaden!)

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

(Ik heb al een beheerder - laat me doorgaan met de installatie!)

Maker
Douglas Krahmer
Beoordelingen
0 0 0
Versie
0.1.3.2
Gemaakt op
06-04-2022
Bijgewerkt op
06-04-2022
Grootte
16,7 KB
Licentie
GNU GPLv3
Wordt toegepast op

Features

  • Show one file at a time. (can be disabled with on-page checkbox)
  • Show unviewed filenames in bold in file tree.
  • Show number of comments for each file in file tree.
  • Auto-mark file as viewed after viewing for 2 seconds. (only in "single file" mode, configurable delay time)
  • Filename pop-up tooltips in native GitHub file tree.
  • Automatically load large diffs that are hidden by default. (only in "single file" mode)
  • Enable adjusting the file tree width. (bottom-right corner of file tree pane)
  • Works with GitHub and GitHub Enterprise.
  • Supports native GitHub tree view and/or Gitako Chrome Extension tree view.
  • On-page checkbox to disable/enable added styles.

User Settings

  • Enabled - Set to false to disable this mod. A checkbox is added to the page to easliy change this setting on the fly.
  • IntegrateWithGitako - Integrate with Gitako file tree in addition to GitHub native.
  • MarkViewedAfterMs - Mark file viewed after this many milliseconds. Set to 0 to disable.
  • ShowOnlySingleFile - Show only a single file at a time in the UI. A checkbox is added to the page to easliy change this setting on the fly.

How to change User Settings

Persistent user settings can be changed in the Storage tab in Tampermonkey. The Storage tab can be found near to the script Editor tab when editing this script in Tampermonkey. If the Storage tab is not visible, change config mode to Advanced in Tampermonkey's main Settings then refresh. Load at least one PR to populate default values before attempting to edit. These settings will persist even if the browser is closed or this Tampermonkey script is updated in the future.

Notes

This script will automatically run on github.com and any domain name that begins with "git." for GitHub Enterprise. If your GitHub Enterprise domain does not start with "git.", add your domain name to the "User Includes" section on the Settings tab for this script.