Add GitHub items

Joseph T. Lyons created

Change summary

.github/ISSUE_TEMPLATE/0_feature_parity_report.yml | 24 ++++++++
.github/ISSUE_TEMPLATE/0_feature_request.yml       | 24 ++++++++
.github/ISSUE_TEMPLATE/1_language_support.yml      | 47 ++++++++++++++++
.github/ISSUE_TEMPLATE/2_bug_report.yml            | 38 ++++++++++++
.github/ISSUE_TEMPLATE/config.yml                  | 13 ++++
.github/workflows/update_top_ranking_issues.yml    | 17 +++++
6 files changed, 163 insertions(+)

Detailed changes

.github/ISSUE_TEMPLATE/0_feature_parity_report.yml 🔗

@@ -0,0 +1,24 @@
+# This is just a temporary template - we will delete this once we move preview to stable
+name: Parity Report
+description: "Report that a regression occurred in the transition between gpui-1 Zed and gpui-2 Zed"
+labels: ["admin read", "triage", "enhancement", "defect", "parity"]
+body:
+    - type: checkboxes
+      attributes:
+          label: Check for existing issues
+          description: Check the backlog of issues to reduce the chances of creating duplicates; if an issue already exists, place a `+1` (👍) on it.
+          options:
+              - label: Completed
+                required: true
+    - type: textarea
+      attributes:
+          label: Describe the regression
+      validations:
+          required: true
+    - type: textarea
+      attributes:
+          label: |
+              If necessary, add screenshots of gpui-1 Zed to show the missing feature
+          description: Drag images into the text input below
+      validations:
+          required: false

.github/ISSUE_TEMPLATE/0_feature_request.yml 🔗

@@ -0,0 +1,24 @@
+name: Feature Request
+description: "Tip: open this issue template from within Zed with the `request feature` command palette action"
+labels: ["admin read", "triage", "enhancement"]
+body:
+    - type: checkboxes
+      attributes:
+          label: Check for existing issues
+          description: Check the backlog of issues to reduce the chances of creating duplicates; if an issue already exists, place a `+1` (👍) on it.
+          options:
+              - label: Completed
+                required: true
+    - type: textarea
+      attributes:
+          label: Describe the feature
+          description: A clear and concise description of what you want to happen.
+      validations:
+          required: true
+    - type: textarea
+      attributes:
+          label: |
+              If applicable, add mockups / screenshots to help present your vision of the feature
+          description: Drag images into the text input below
+      validations:
+          required: false

.github/ISSUE_TEMPLATE/1_language_support.yml 🔗

@@ -0,0 +1,47 @@
+name: Language Support
+description: Request language support
+title: "<name_of_language> support"
+labels:
+    [
+        "admin read",
+        "triage",
+        "enhancement",
+        "language",
+        "unsupported language",
+        "potential plugin",
+    ]
+body:
+    - type: checkboxes
+      attributes:
+          label: Check for existing issues
+          description: Check the backlog of issues to reduce the chances of creating duplicates; if an issue already exists, place a `+1` (👍) on it.
+          options:
+              - label: Completed
+                required: true
+    - type: input
+      attributes:
+          label: Language
+          description: What language do you want support for?
+          placeholder: HTML
+      validations:
+          required: true
+    - type: input
+      attributes:
+          label: Tree Sitter parser link
+          description: If applicable, provide a link to the appropriate tree sitter parser.  Look here first - https://tree-sitter.github.io/tree-sitter/#available-parsers
+          placeholder: https://github.com/tree-sitter/tree-sitter-html
+      validations:
+          required: false
+    - type: input
+      attributes:
+          label: Language server link
+          description: If applicable, provide a link to the appropriate language server.  Look here first - https://microsoft.github.io/language-server-protocol/implementors/servers/
+          placeholder: https://github.com/Microsoft/vscode/tree/main/extensions/html-language-features/server
+      validations:
+          required: false
+    - type: textarea
+      attributes:
+          label: Misc notes
+          description: Provide any additional things the team should consider when adding support for this language
+      validations:
+          required: false

.github/ISSUE_TEMPLATE/2_bug_report.yml 🔗

@@ -0,0 +1,38 @@
+name: Bug Report
+description: "Tip: open this issue template from within Zed with the `file bug report` command palette action"
+labels: ["admin read", "triage", "defect"]
+body:
+    - type: checkboxes
+      attributes:
+          label: Check for existing issues
+          description: Check the backlog of issues to reduce the chances of creating duplicates; if an issue already exists, place a `+1` (👍) on it.
+          options:
+              - label: Completed
+                required: true
+    - type: textarea
+      attributes:
+          label: Describe the bug / provide steps to reproduce it
+          description: A clear and concise description of what the bug is.
+      validations:
+          required: true
+    - type: textarea
+      id: environment
+      attributes:
+          label: Environment
+          description: Run the `copy system specs into clipboard` command palette action and paste the output in the field below.
+      validations:
+          required: true
+    - type: textarea
+      attributes:
+          label: If applicable, add mockups / screenshots to help explain present your vision of the feature
+          description: Drag issues into the text input below
+      validations:
+          required: false
+    - type: textarea
+      attributes:
+          label: |
+              If applicable, attach your `~/Library/Logs/Zed/Zed.log` file to this issue.
+              If you only need the most recent lines, you can run the `zed: open log` command palette action to see the last 1000.
+          description: Drag Zed.log into the text input below
+      validations:
+          required: false

.github/ISSUE_TEMPLATE/config.yml 🔗

@@ -0,0 +1,13 @@
+contact_links:
+    - name: Open Source Checklist
+      url: https://github.com/zed-industries/community/issues/2197
+      about: An issue tracking our progress towards open sourcing Zed
+    - name: Top-Ranking Issues
+      url: https://github.com/zed-industries/community/issues/52
+      about: See an overview of the most popular Zed issues
+    - name: Platform Support
+      url: https://github.com/zed-industries/community/issues/174
+      about: A quick note on platform support
+    - name: Postive Feedback
+      url: https://github.com/zed-industries/community/discussions/2337
+      about: A central location for kind words about Zed

.github/workflows/update_top_ranking_issues.yml 🔗

@@ -0,0 +1,17 @@
+on:
+  schedule:
+    - cron: "0 */12 * * *"
+  workflow_dispatch:
+
+jobs:
+  update_top_ranking_issues:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v3
+      - uses: actions/setup-python@v4
+        with:
+          python-version: "3.10.5"
+          architecture: "x64"
+          cache: "pip"
+      - run: pip install -r scripts/update_top_ranking_issues/requirements.txt
+      - run: python scripts/update_top_ranking_issues/main.py --github-token ${{ secrets.GITHUB_TOKEN }} --prod