A chromium extension to help with triaging VS Code GitHub issues.
Перейти к файлу
Jackson Kearl c051402afc
Merge pull request #11 from microsoft/dependabot/npm_and_yarn/minimist-1.2.6
Bump minimist from 1.2.5 to 1.2.6
2022-04-04 12:46:26 -07:00
.vscode Hello Extension! 2020-06-09 01:30:03 -07:00
icons Hello Extension! 2020-06-09 01:30:03 -07:00
img Hello Extension! 2020-06-09 01:30:03 -07:00
src Update defualt milestones 2020-10-08 15:31:42 -07:00
.eslintrc Hello Extension! 2020-06-09 01:30:03 -07:00
.gitignore Hello Extension! 2020-06-09 01:30:03 -07:00
.prettierrc Hello Extension! 2020-06-09 01:30:03 -07:00
CODE_OF_CONDUCT.md Hello Extension! 2020-06-09 01:30:03 -07:00
LICENSE Hello Extension! 2020-06-09 01:30:03 -07:00
README.md Update README.md 2020-08-10 11:45:13 -07:00
SECURITY.md Hello Extension! 2020-06-09 01:30:03 -07:00
build-distro.sh Build script blah 2020-10-08 15:53:35 -07:00
manifest.json boost manifest 2020-10-08 15:50:44 -07:00
package-lock.json Bump minimist from 1.2.5 to 1.2.6 2022-03-26 21:11:56 +00:00
package.json bump version 2020-10-08 15:33:02 -07:00
rollup.config.js Hello Extension! 2020-06-09 01:30:03 -07:00
tsconfig.json Hello Extension! 2020-06-09 01:30:03 -07:00

README.md

VS Code Issue Triage Extension

This is a chromium extension to help with triaging GitHub issues. It was originally developed for our work in the microsoft/vscode repo, but it can be used on any GitHub repo.

screenshot of extension popup

Install

You can pull the latest release from the releases page and unzip it. Then, navigate to your extension configuration page (edge://extensions/, for instance), and make sure "Developer Mode" is enabled. There should be an option to "Load Unpacked". Select this, then choose the folder you unpacked earlier.

Usage

Press Cmd+Shift+L to trigger the extension. This can be customized on your browser's extension configuration page under "Keyboard Shortcuts". (This was previously Cmd+Shift+P but changed due to conflict with Codepsaces)

Press enter in search to accept first result. Tab/ArrowKeys to move around in results. Enter/Space to accept results. Cmd with the action to multi-select.

Configuration

Use the Settings link at bottom of the popup to view and edit the JSON representation of your commands. The supported file takes the form (as typescript):

type Settings = { [repo: string]: Category[] }
type Category = { category: string, description: string, items: Shortcut[] }
type Shortcut = {
	title: string
	color?: string
	type: 'label' | 'comment' | 'assign' | 'milestone'
	value: string
}

For instance:

{
  "microsoft/vscode": [
    {
      "category": "Verification",
      "description": "Apply common verification labels",
      "items": [
        {
          "color": "rgb(0, 152, 0)",
          "title": "verified",
          "type": "label",
          "value": "verified"
        },
        {
          "color": "rgb(247, 198, 199)",
          "title": "verification-found",
          "type": "label",
          "value": "verification-found"
        }
      ]
    },
    {
      "category": "Won't Fix",
      "description": "Trigger bot to close issue and add a comment explaining why",
      "items": [
        {
          "color": "rgb(226, 161, 194)",
          "title": "*as-designed",
          "type": "label",
          "value": "*as-designed"
        }
      ]
    }
  ]
}