Skip to content

Commit

Permalink
Update issue templates for .NET 9 (dotnet#39166)
Browse files Browse the repository at this point in the history
* first issue template edits

* Update and reorder issue templates.

* remove project check

* add additional .NET 9 previews
  • Loading branch information
BillWagner authored Jan 16, 2024
1 parent c547a7a commit 995b713
Show file tree
Hide file tree
Showing 9 changed files with 95 additions and 125 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,18 @@ body:
label: Version
description: What version of .NET introduced the breaking change?
options:
- .NET 8 Preview 6
- .NET 8 Preview 7
- .NET 8 RC 1
- .NET 8 RC 2
- .NET 8 GA
- .NET 9 Preview 1
- .NET 9 Preview 2
- .NET 9 Preview 3
- .NET 9 Preview 4
- .NET 9 Preview 5
- .NET 9 Preview 6
- .NET 9 Preview 7
- .NET 9 RC 1
- .NET 9 RC 2
- .NET 9 RC 3
- .NET 9 GA
- Other (please put exact version in description textbox)
validations:
required: true
Expand Down
69 changes: 69 additions & 0 deletions .github/ISSUE_TEMPLATE/b-docs-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: "New article request"
description: Request a new article on a topic or concept that you can't find in our current docs.
title: "[New article]: "
body:
- type: markdown
attributes:
value: "## Request a new article"
- type: markdown
attributes:
value: "Describe the proposed new article for us."
- type: input
id: topic
attributes:
label: Proposed topic or title
description: Write a short title or description of the topic
validations:
required: true
- type: markdown
attributes:
value: >
"Propose a location for the article. Use the `/` character to
define 'sub-folders' in the table of contents. Start with a top-level
guide, and follow through to the parent folder for the new article."
- type: input
id: toc-item
attributes:
label: Location in table of Contents.
description: Give some indication for the location in the table of contents.
validations:
required: true
- type: markdown
attributes:
value: >
"Explain why the article is needed. What will readers learn? Why is
it important? What are the consequences if readers don't learn the topic?"
- type: textarea
id: motivation
attributes:
label: Reason for the article
description: Tell us why this article is needed.
validations:
required: true
- type: markdown
attributes:
value: >
"Write an opening paragraph or abstract to explain what readers
will learn from reading this article."
- type: textarea
id: abstract
attributes:
label: Article abstract
description: Write a *brief* abstract for the article.
validations:
required: true
- type: markdown
attributes:
value: >
"Tell us about searches you did looking for this inforamtion. This helps us
in two important ways. First, if the information exists, we can improve
the findability of the article for those search ideas. If the article
doesn't exist, this will help us make sure readers find it once it's written."
- type: textarea
id: searches
attributes:
label: Relevant searches
description: >
What search terms did you use to look for this information?
validations:
required: true
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: "C# 12 - New feature"
name: "C# 13 - New feature"
description: Create the task list of a new feature in C# 12. Intended mostly for docs / product-team use.
title: "[C# 12]: New Feature - "
title: "[C# 13]: New Feature - "
labels:
- ":checkered_flag: Release: .NET 8"
- ":checkered_flag: Release: .NET 9"
- Pri1
- csharp-whats-new/tech
- dotnet-csharp/prod
Expand All @@ -15,10 +15,20 @@ body:
label: Visual Studio release
description: What Visual Studio (preview) contains this feature?
options:
- "17.7"
- "17.8p1"
- "17.8p2"
- "17.8p3"
- "17.9p3"
- "17.9p4"
- "17.9p5"
- "17.9"
- "17.10p1"
- "17.10p2"
- "17.10p3"
- "17.10p4"
- "17.10p6"
- "17.10"
- "17.11p1"
- "17.11p2"
- "17.11p3"
- "17.11p4"
- "Other (please put exact version in description textbox)"
- type: input
id: Speclet
Expand Down Expand Up @@ -49,7 +59,7 @@ body:
label: Areas affected
description: Check all areas that must be updated. Some are always updated.
options:
- label: "**Add to What's new in C# 12**: Add links to updated docs in the What's new in C# 12 article."
- label: "**Add to What's new in C# 13**: Add links to updated docs in the What's new in C# 12 article."
required: true
- label: "**Update language reference**: Detail the areas in the language reference that will be updated for this feature."
required: true
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
blank_issues_enabled: true
blank_issues_enabled: false
contact_links:
- name: learn.microsoft.com site feedback
url: https://github.com/MicrosoftDocs/feedback/issues/new/choose
Expand Down
44 changes: 0 additions & 44 deletions .github/ISSUE_TEMPLATE/doc-issue.md

This file was deleted.

24 changes: 0 additions & 24 deletions .github/ISSUE_TEMPLATE/docs-request.md

This file was deleted.

37 changes: 0 additions & 37 deletions .github/ISSUE_TEMPLATE/okr-internal-use-only-template.md

This file was deleted.

7 changes: 0 additions & 7 deletions .repoman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,6 @@ issues:
pass:
- labels-add: ["source incompatible"]

# Add to .NET 6 project if .NET 6 label added
- check:
- type: query
value: "length(Issue.labels[?name == ':checkered_flag: Release: .NET 6']) != `0`"
pass:
- projects-add: [132]

opened:
# New issue opened, add Not Triaged
- labels-add: [":watch: Not Triaged"]
Expand Down

0 comments on commit 995b713

Please sign in to comment.