Greasy Fork is available in English.

Better GitHub Pull Requests

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

Auteur
Douglas Krahmer
Nombre d'installations quotidiennes
0
Nombre d'installations
30
Évaluations
0 0 0
Version
0.1.3.3
Créer
2022-04-06
Mis à jour
2022-04-06
Taille
16,8 ko
Licence
GNU GPLv3
S'applique à

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.