Skip to content

Commit 35e90cd

Browse files
CopilotJusterZhu
andauthored
Add repository Issue Forms for bug, feature, refactor, and custom intake (#10)
* Initial plan * Add GitHub issue templates for bug feature refactor and blank Co-authored-by: JusterZhu <11714536+JusterZhu@users.noreply.github.com> Agent-Logs-Url: https://github.com/GeneralLibrary/GeneralUpdate.Avalonia/sessions/c7e85d63-7513-43c6-a665-b060dea45842 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: JusterZhu <11714536+JusterZhu@users.noreply.github.com>
1 parent 7ba4e47 commit 35e90cd

5 files changed

Lines changed: 171 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Blank issue
2+
description: Open an issue with a custom format.
3+
title: "[Issue]: "
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Please provide enough context so maintainers can help effectively.
9+
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: Bug report
2+
description: Report a reproducible problem in GeneralUpdate.Avalonia.Android.
3+
title: "[Bug]: "
4+
labels:
5+
- bug
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Thanks for reporting a bug. Please provide enough details for us to reproduce and fix it quickly.
11+
- type: textarea
12+
id: summary
13+
attributes:
14+
label: Bug summary
15+
description: What happened?
16+
placeholder: A concise description of the problem.
17+
validations:
18+
required: true
19+
- type: textarea
20+
id: expected
21+
attributes:
22+
label: Expected behavior
23+
description: What did you expect to happen?
24+
validations:
25+
required: true
26+
- type: textarea
27+
id: reproduce
28+
attributes:
29+
label: Steps to reproduce
30+
description: Provide clear, numbered reproduction steps.
31+
placeholder: |
32+
1. ...
33+
2. ...
34+
3. ...
35+
validations:
36+
required: true
37+
- type: textarea
38+
id: environment
39+
attributes:
40+
label: Environment
41+
description: Tell us about your runtime and tooling.
42+
placeholder: |
43+
- Package version:
44+
- .NET SDK version:
45+
- Target framework: net8.0-android
46+
- Avalonia version:
47+
- Android version/device:
48+
validations:
49+
required: true
50+
- type: textarea
51+
id: logs
52+
attributes:
53+
label: Logs / stack trace
54+
description: Paste related logs or exceptions.
55+
render: shell
56+
- type: textarea
57+
id: additional
58+
attributes:
59+
label: Additional context
60+
description: Add links, screenshots, or anything else that helps.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Discussions
4+
url: https://github.com/GeneralLibrary/GeneralUpdate.Avalonia/discussions
5+
about: Ask questions and discuss ideas with the community.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Feature request
2+
description: Suggest a new capability for GeneralUpdate.Avalonia.Android.
3+
title: "[Feature]: "
4+
labels:
5+
- enhancement
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Thanks for the suggestion. Please describe the scenario and expected value clearly.
11+
- type: textarea
12+
id: summary
13+
attributes:
14+
label: Feature summary
15+
description: What capability would you like to add?
16+
validations:
17+
required: true
18+
- type: textarea
19+
id: problem
20+
attributes:
21+
label: Problem or use case
22+
description: What problem are you trying to solve?
23+
validations:
24+
required: true
25+
- type: textarea
26+
id: proposal
27+
attributes:
28+
label: Proposed solution
29+
description: How do you think this should work?
30+
validations:
31+
required: true
32+
- type: textarea
33+
id: alternatives
34+
attributes:
35+
label: Alternatives considered
36+
description: What alternatives have you considered?
37+
- type: textarea
38+
id: impact
39+
attributes:
40+
label: Impact and compatibility
41+
description: Mention API, behavior, or migration impact if known.
42+
- type: textarea
43+
id: additional
44+
attributes:
45+
label: Additional context
46+
description: Add links, examples, or references.
47+
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Refactoring request
2+
description: Propose internal improvements without changing behavior.
3+
title: "[Refactor]: "
4+
labels:
5+
- refactor
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Use this template for maintainability improvements, cleanup, and technical debt reduction.
11+
- type: textarea
12+
id: scope
13+
attributes:
14+
label: Refactoring scope
15+
description: Which module/file/area should be refactored?
16+
placeholder: e.g. src/GeneralUpdate.Avalonia.Android/Services/...
17+
validations:
18+
required: true
19+
- type: textarea
20+
id: motivation
21+
attributes:
22+
label: Motivation
23+
description: Why is this refactoring needed?
24+
validations:
25+
required: true
26+
- type: textarea
27+
id: current
28+
attributes:
29+
label: Current pain points
30+
description: Describe complexity, duplication, readability, or testability issues.
31+
validations:
32+
required: true
33+
- type: textarea
34+
id: desired
35+
attributes:
36+
label: Desired outcome
37+
description: What should be improved after refactoring?
38+
validations:
39+
required: true
40+
- type: textarea
41+
id: constraints
42+
attributes:
43+
label: Constraints
44+
description: Any boundaries (no API change, performance constraints, etc.).
45+
- type: textarea
46+
id: additional
47+
attributes:
48+
label: Additional context
49+
description: Add references, related issues, or code snippets.
50+

0 commit comments

Comments
 (0)