Skip to content

Commit b6b4707

Browse files
committed
重构 ShapeView 属性命名并新增适配文档
新增 ShapeDrawable 支持设置边框渐变色方向 优化框架代码中的包结构,类命、字段名、方法名命名
1 parent 89a8c21 commit b6b4707

76 files changed

Lines changed: 3698 additions & 2699 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false
Lines changed: 173 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
name: Submit Bug
2+
description: Please let me know the issues with the framework, and I will assist you in resolving them!
3+
title: "[Bug]:"
4+
labels: ["bug"]
5+
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
## [Warning: Please make sure to fill in the issue template accurately. If an issue is found to be filled incorrectly, it will be closed without further notice.](https://github.com/getActivity/IssueTemplateGuide)
11+
- type: input
12+
id: input_id_1
13+
attributes:
14+
label: Framework Version [Required]
15+
description: Please enter the version of the framework you are using.
16+
validations:
17+
required: true
18+
- type: textarea
19+
id: input_id_2
20+
attributes:
21+
label: Issue Description [Required]
22+
description: Please describe the issue you are facing.
23+
validations:
24+
required: true
25+
- type: textarea
26+
id: input_id_3
27+
attributes:
28+
label: Steps to Reproduce [Required]
29+
description: Please provide steps to reproduce the issue.
30+
validations:
31+
required: true
32+
- type: dropdown
33+
id: input_id_4
34+
attributes:
35+
label: Is the Issue Reproducible? [Required]
36+
multiple: false
37+
options:
38+
- "Not Selected"
39+
- "Yes"
40+
- "No"
41+
validations:
42+
required: true
43+
- type: input
44+
id: input_id_5
45+
attributes:
46+
label: Project targetSdkVersion [Required]
47+
validations:
48+
required: true
49+
- type: input
50+
id: input_id_6
51+
attributes:
52+
label: Device Information [Required]
53+
description: Please provide the brand and model of the device where the issue occurred.
54+
validations:
55+
required: true
56+
- type: input
57+
id: input_id_7
58+
attributes:
59+
label: Android Version [Required]
60+
description: Please provide the Android version where the issue occurred.
61+
validations:
62+
required: true
63+
- type: dropdown
64+
id: input_id_8
65+
attributes:
66+
label: Issue Source Channel [Required]
67+
multiple: true
68+
options:
69+
- Encountered by myself
70+
- Identified in Bugly
71+
- User feedback
72+
- Other channels
73+
- type: input
74+
id: input_id_9
75+
attributes:
76+
label: Is it specific to certain device models? [Required]
77+
description: Specify whether the issue is specific to certain devices (e.g., specific brand or Android version).
78+
validations:
79+
required: true
80+
- type: dropdown
81+
id: input_id_10
82+
attributes:
83+
label: Does the latest version of the framework have this issue? [Required]
84+
description: If you are using an older version, it is recommended to upgrade and check if the issue still persists.
85+
multiple: false
86+
options:
87+
- "Not Selected"
88+
- "Yes"
89+
- "No"
90+
validations:
91+
required: true
92+
- type: dropdown
93+
id: input_id_11
94+
attributes:
95+
label: Is the issue mentioned in the framework documentation? [Required]
96+
description: The documentation provides answers to frequently asked questions. Please check if the information you are looking for is already provided.
97+
multiple: false
98+
options:
99+
- "Not Selected"
100+
- "Yes"
101+
- "No"
102+
validations:
103+
required: true
104+
- type: dropdown
105+
id: input_id_12
106+
attributes:
107+
label: Did you consult the framework documentation but couldn't find a solution? [Required]
108+
description: If you have consulted the documentation but still couldn't find a solution, you can select "Yes."
109+
multiple: false
110+
options:
111+
- "Not Selected"
112+
- "Yes"
113+
- "No"
114+
validations:
115+
required: true
116+
- type: dropdown
117+
id: input_id_13
118+
attributes:
119+
label: Has a similar issue been reported in the issue list? [Required]
120+
description: You can search the issue list for keywords related to your problem and refer to the solutions provided by others.
121+
multiple: false
122+
options:
123+
- "Not Selected"
124+
- "Yes"
125+
- "No"
126+
validations:
127+
required: true
128+
- type: dropdown
129+
id: input_id_14
130+
attributes:
131+
label: Have you searched the issue list but couldn't find a solution? [Required]
132+
description: If you have searched the issue list and couldn't find a solution, you can select "Yes."
133+
multiple: false
134+
options:
135+
- "Not Selected"
136+
- "Yes"
137+
- "No"
138+
validations:
139+
required: true
140+
- type: dropdown
141+
id: input_id_15
142+
attributes:
143+
label: Can the issue be reproduced with a demo project? [Required]
144+
description: Check if the issue can be reproduced in a minimal demo project to isolate potential issues in your own code.
145+
multiple: false
146+
options:
147+
- "Not Selected"
148+
- "Yes"
149+
- "No"
150+
validations:
151+
required: true
152+
- type: textarea
153+
id: input_id_16
154+
attributes:
155+
label: Provide Error Stack Trace
156+
description: If there is an error, please provide the stack trace. Note, Do not include obfuscated code in the stack trace.
157+
render: text
158+
validations:
159+
required: false
160+
- type: textarea
161+
id: input_id_17
162+
attributes:
163+
label: Provide Screenshots or Videos
164+
description: Provide screenshots or videos if necessary. This field is optional.
165+
validations:
166+
required: false
167+
- type: textarea
168+
id: input_id_18
169+
attributes:
170+
label: Provide a Solution
171+
description: If you have already found a solution, this field is optional.
172+
validations:
173+
required: false
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Ask a Question
2+
description: Ask your questions, and I will provide you with answers.
3+
title: "[Question]:"
4+
labels: ["question"]
5+
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
## [Warning: Please make sure to fill in the issue template accurately. If an issue is found to be filled incorrectly, it will be closed without further notice.](https://github.com/getActivity/IssueTemplateGuide)
11+
- type: textarea
12+
id: input_id_1
13+
attributes:
14+
label: Question Description [Required]
15+
description: Please describe your question (Note, If it is a framework bug, please do not raise it here, as it will not be accepted).
16+
validations:
17+
required: true
18+
- type: dropdown
19+
id: input_id_2
20+
attributes:
21+
label: Is the issue mentioned in the framework documentation? [Required]
22+
description: The documentation provides answers to frequently asked questions. Please check if the information you are looking for is already provided.
23+
multiple: false
24+
options:
25+
- "Not Selected"
26+
- "Yes"
27+
- "No"
28+
validations:
29+
required: true
30+
- type: dropdown
31+
id: input_id_3
32+
attributes:
33+
label: Did you consult the framework documentation but couldn't find a solution? [Required]
34+
description: If you have consulted the documentation but still couldn't find a solution, you can select "Yes."
35+
multiple: false
36+
options:
37+
- "Not Selected"
38+
- "Yes"
39+
- "No"
40+
validations:
41+
required: true
42+
- type: dropdown
43+
id: input_id_4
44+
attributes:
45+
label: Has a similar issue been reported in the issue list? [Required]
46+
description: You can search the issue list for keywords related to your problem and refer to the solutions provided by others.
47+
multiple: false
48+
options:
49+
- "Not Selected"
50+
- "Yes"
51+
- "No"
52+
validations:
53+
required: true
54+
- type: dropdown
55+
id: input_id_5
56+
attributes:
57+
label: Have you searched the issue list but couldn't find a solution? [Required]
58+
description: If you have searched the issue list and couldn't find a solution, you can select "Yes."
59+
multiple: false
60+
options:
61+
- "Not Selected"
62+
- "Yes"
63+
- "No"
64+
validations:
65+
required: true
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: Submit Suggestion
2+
description: Please let me know the shortcomings of the framework, so that I can improve it!
3+
title: "[Suggestion]:"
4+
labels: ["help wanted"]
5+
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
## [Warning: Please make sure to fill in the issue template accurately. If an issue is found to be filled incorrectly, it will be closed without further notice.](https://github.com/getActivity/IssueTemplateGuide)
11+
- type: textarea
12+
id: input_id_1
13+
attributes:
14+
label: What are the shortcomings you have noticed in the framework? [Required]
15+
description: You can describe any aspects of the framework that you are not satisfied with.
16+
validations:
17+
required: true
18+
- type: dropdown
19+
id: input_id_2
20+
attributes:
21+
label: Has a similar suggestion been made in the issue list? [Required]
22+
description: If a similar suggestion has already been made, I will not address it again.
23+
multiple: false
24+
options:
25+
- "Not Selected"
26+
- "Yes"
27+
- "No"
28+
validations:
29+
required: true
30+
- type: dropdown
31+
id: input_id_3
32+
attributes:
33+
label: Is the suggestion mentioned in the framework documentation? [Required]
34+
description: The documentation provides answers to frequently asked questions. Please check if the information you are looking for is already provided.
35+
multiple: false
36+
options:
37+
- "Not Selected"
38+
- "Yes"
39+
- "No"
40+
validations:
41+
required: true
42+
- type: dropdown
43+
id: input_id_4
44+
attributes:
45+
label: Did you consult the framework documentation but couldn't find a solution? [Required]
46+
description: If you have consulted the documentation but still couldn't find a solution, you can select "Yes."
47+
multiple: false
48+
options:
49+
- "Not Selected"
50+
- "Yes"
51+
- "No"
52+
validations:
53+
required: true
54+
- type: textarea
55+
id: input_id_5
56+
attributes:
57+
label: How do you suggest improving it? [Optional]
58+
description: You can provide your ideas or approaches for the author's reference.
59+
validations:
60+
required: false

.github/ISSUE_TEMPLATE/issue_template_bug.md

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

.github/ISSUE_TEMPLATE/issue_template_question.md

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

.github/ISSUE_TEMPLATE/issue_template_suggest.md

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

0 commit comments

Comments
 (0)