Skip to content

Commit 09b521e

Browse files
authored
[admin] Update issue templates (#707)
* Update issue templates * Add template for page controls * Update docfx to point at new template
1 parent 8b68a1a commit 09b521e

File tree

5 files changed

+98
-20
lines changed

5 files changed

+98
-20
lines changed
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
name: "📄 Feedback control template"
2+
title: "Feedback"
3+
description: >-
4+
⛔ This template is intended for use by the feedback control on the bottom of every page on the
5+
live site. If you aren't using the feedback control, choose one of the other templates.⛔
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: "## 🎁Enter your feedback🎁"
10+
- type: markdown
11+
attributes:
12+
value: Select the issue type, and describe the issue in the text box below. Add as much detail as needed to help us resolve the issue.
13+
- type: dropdown
14+
id: issue-type
15+
attributes:
16+
label: Type of issue
17+
options:
18+
- Typo
19+
- Code doesn't work
20+
- Missing information
21+
- Outdated article
22+
- Other (describe below)
23+
validations:
24+
required: true
25+
- type: textarea
26+
id: userfeedback
27+
validations:
28+
required: true
29+
attributes:
30+
label: Feedback
31+
description: >-
32+
If possible, please provide extended details that will add context and help the team update
33+
the documentation. Additional details may not be useful for typos, grammar, formatting, etc.
34+
For technical or factual errors, please include code snippets and output to show how the
35+
documentation is incorrect.
36+
- type: markdown
37+
attributes:
38+
value: "## 🚧 Article information 🚧"
39+
- type: markdown
40+
attributes:
41+
value: "*Don't modify the following fields*. They are automatically filled in for you. Doing so will disconnect your issue from the affected article. *Don't edit them*."
42+
- type: input
43+
id: pageUrl
44+
validations:
45+
required: true
46+
attributes:
47+
label: Page URL
48+
- type: input
49+
id: contentSourceUrl
50+
validations:
51+
required: true
52+
attributes:
53+
label: Content source URL
54+
- type: input
55+
id: author
56+
validations:
57+
required: true
58+
attributes:
59+
label: Author
60+
description: GitHub Id of the author
61+
- type: input
62+
id: documentVersionIndependentId
63+
validations:
64+
required: true
65+
attributes:
66+
label: Document Id
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Documentation issue
3+
about: Tell us about a problem in the documentation
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Article URL**
11+
On what page did you find the problem?
12+
13+
**Describe the problem**
14+
A clear and concise description of what is incorrect, unclear, or missing in the document.
15+
16+
**Screenshots**
17+
If applicable, add screenshots to help explain your problem.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Sample request
3+
about: Which features would you like to see more of?
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe your scenario**
11+
What is the problem to solve?
12+
13+
**Which APIs or Excel features?**
14+
What should be showcased in the sample? Are there Excel features that need samples to better understand how to use them in scripts?

Issue_Template.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

docs/docfx.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"ms.service": "excel",
5151
"open_source_feedback_contributorGuideUrl": "https://github.com/OfficeDev/office-scripts-docs/blob/main/Contributing.md",
5252
"open_source_feedback_issueTitle": "",
53-
"open_source_feedback_issueUrl": "https://github.com/OfficeDev/office-scripts-docs/blob/main/Issue_Template.md",
53+
"open_source_feedback_issueUrl": "https://github.com/OfficeDev/office-scripts-docs/issues/new?template=-customer-feedback.yml",
5454
"open_source_feedback_productName": "Office Scripts",
5555
"titleSuffix": "Office Scripts"
5656
},

0 commit comments

Comments
 (0)