Skip to content

Commit b299fc5

Browse files
authored
Enable open source feedback control. (#50)
1 parent 2e2ff66 commit b299fc5

2 files changed

Lines changed: 75 additions & 2 deletions

File tree

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Learn feedback control
2+
description: |
3+
⛔ This template is hooked into the feedback control on the bottom of every page on the live site. It automatically fills in several fields for you. Don't use it for other purposes. ⛔
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: "## Issue information"
8+
- type: markdown
9+
attributes:
10+
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.
11+
- type: dropdown
12+
id: issue-type
13+
attributes:
14+
label: Type of issue
15+
options:
16+
- Typo
17+
- Code doesn't work
18+
- Missing information
19+
- Outdated article
20+
- Other (describe below)
21+
validations:
22+
required: true
23+
- type: textarea
24+
id: feedback
25+
validations:
26+
required: true
27+
attributes:
28+
label: Description
29+
- type: markdown
30+
attributes:
31+
value: "## 🚧 Article information 🚧"
32+
- type: markdown
33+
attributes:
34+
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*."
35+
- type: input
36+
id: pageUrl
37+
validations:
38+
required: true
39+
attributes:
40+
label: Page URL
41+
- type: input
42+
id: contentSourceUrl
43+
validations:
44+
required: true
45+
attributes:
46+
label: Content source URL
47+
- type: input
48+
id: documentVersionIndependentId
49+
validations:
50+
required: true
51+
attributes:
52+
label: Document Version Independent Id
53+
- type: input
54+
id: author
55+
validations:
56+
required: true
57+
attributes:
58+
label: Article author
59+
- type: textarea
60+
id: metadata
61+
validations:
62+
required: false
63+
attributes:
64+
label: Metadata
65+
description: Documentation metadata will be applied here for the PRMerger tool.

SkiaSharpAPI/docfx.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
"globalMetadata": {
4343
"ms.subservice": "xamarin-skiasharp",
4444
"ms.service": "xamarin",
45-
"feedback_system": "Standard",
4645
"apiPlatform": "dotnet",
4746
"breadcrumb_path": "/dotnet/SkiaSharpAPI-breadcrumb/toc.json",
4847
"author": "dotnet-bot",
@@ -52,7 +51,16 @@
5251
"searchScope": ["SkiaSharp API"],
5352
"uhfHeaderId": "MSDocsHeader-DotNet",
5453
"products": ["https://authoring-docs-microsoft.poolparty.biz/devrel/f0c462af-0ef9-4821-b36f-ba3d94736e2b"],
55-
"ms.topic": "managed-reference"
54+
"ms.topic": "managed-reference",
55+
"feedback_system": "OpenSource",
56+
"feedback_github_repo": "mono/SkiaSharp-API-docs",
57+
"feedback_product_url": "https://developercommunity.visualstudio.com/",
58+
"open_source_feedback_contributorGuideUrl": "https://learn.microsoft.com/contribute/content/dotnet/dotnet-contribute",
59+
"open_source_feedback_issueUrl": "https://github.com/mono/SkiaSharp-API-docs/issues/new?template=customer-feedback.yml",
60+
"open_source_feedback_productName": "SkiaSharp",
61+
"open_source_feedback_issueTitle": "",
62+
"open_source_feedback_productLogoLightUrl": "https://learn.microsoft.com/media/logos/logo_net.svg",
63+
"open_source_feedback_productLogoDarkUrl": "https://learn.microsoft.com/media/logos/logo_net.svg"
5664
},
5765
"fileMetadata": {
5866
"author": {

0 commit comments

Comments
 (0)