Skip to content

Commit 18e0ea7

Browse files
committed
refactor: further optimizations
1 parent dee2013 commit 18e0ea7

File tree

14 files changed

+1346
-5
lines changed

14 files changed

+1346
-5
lines changed

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
2+
"$schema": "https://cdn.jsdelivr.net/npm/@changesets/[email protected]/schema.json",
33
"changelog": "@changesets/cli/changelog",
44
"commit": false,
55
"fixed": [],
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
name: Bug Report
2+
description: Create a report to help us improve
3+
title: "[Bug] "
4+
labels: ["bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to fill out this bug report! Please provide as much detail as possible.
10+
11+
- type: textarea
12+
id: description
13+
attributes:
14+
label: Bug Description
15+
description: A clear and concise description of what the bug is.
16+
placeholder: Describe the bug...
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
id: reproduction
22+
attributes:
23+
label: Steps to Reproduce
24+
description: Steps to reproduce the behavior
25+
placeholder: |
26+
1. Go to '...'
27+
2. Click on '....'
28+
3. Scroll down to '....'
29+
4. See error
30+
validations:
31+
required: true
32+
33+
- type: textarea
34+
id: expected
35+
attributes:
36+
label: Expected Behavior
37+
description: A clear and concise description of what you expected to happen.
38+
validations:
39+
required: true
40+
41+
- type: textarea
42+
id: actual
43+
attributes:
44+
label: Actual Behavior
45+
description: A clear and concise description of what actually happened.
46+
validations:
47+
required: true
48+
49+
- type: textarea
50+
id: css-example
51+
attributes:
52+
label: CSS Example
53+
description: Please provide the CSS code that demonstrates the issue
54+
placeholder: |
55+
```css
56+
.example {
57+
color: if(media(min-width: 768px): blue; else: red);
58+
}
59+
```
60+
validations:
61+
required: false
62+
63+
- type: dropdown
64+
id: browsers
65+
attributes:
66+
label: Browsers Affected
67+
description: Which browsers are affected by this issue?
68+
multiple: true
69+
options:
70+
- Chrome
71+
- Firefox
72+
- Safari
73+
- Edge
74+
- Internet Explorer
75+
- Other (please specify in additional context)
76+
validations:
77+
required: true
78+
79+
- type: input
80+
id: version
81+
attributes:
82+
label: Package Version
83+
description: What version of css-if-polyfill are you using?
84+
placeholder: "1.0.0"
85+
validations:
86+
required: true
87+
88+
- type: textarea
89+
id: environment
90+
attributes:
91+
label: Environment
92+
description: Please provide information about your environment
93+
placeholder: |
94+
- OS: [e.g. macOS 12.0, Windows 10]
95+
- Browser: [e.g. Chrome 91, Firefox 89]
96+
- Node.js version: [e.g. 16.0.0]
97+
- Build tool: [e.g. Webpack, Vite, None]
98+
99+
- type: textarea
100+
id: additional-context
101+
attributes:
102+
label: Additional Context
103+
description: Add any other context about the problem here, including screenshots if applicable.
104+
validations:
105+
required: false
106+
107+
- type: checkboxes
108+
id: checklist
109+
attributes:
110+
label: Checklist
111+
description: Please confirm the following
112+
options:
113+
- label: I have searched the existing issues to make sure this is not a duplicate
114+
required: true
115+
- label: I have provided a minimal reproduction case
116+
required: false
117+
- label: I have tested this with the latest version of the package
118+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: 💬 Discussions
4+
url: https://github.com/mfranzke/css-if-polyfill/discussions
5+
about: Ask questions and discuss ideas with the community
6+
- name: 📖 Documentation
7+
url: https://mfranzke.github.io/css-if-polyfill/
8+
about: Read the documentation and see live examples
9+
- name: 🐛 Security Issues
10+
url: https://github.com/mfranzke/css-if-polyfill/security/advisories/new
11+
about: Report security vulnerabilities privately
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
name: Feature Request
2+
description: Suggest an idea for this project
3+
title: "[Feature] "
4+
labels: ["enhancement"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to suggest a new feature! Please provide as much detail as possible.
10+
11+
- type: textarea
12+
id: problem
13+
attributes:
14+
label: Problem Description
15+
description: Is your feature request related to a problem? Please describe.
16+
placeholder: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
id: solution
22+
attributes:
23+
label: Proposed Solution
24+
description: Describe the solution you'd like
25+
placeholder: A clear and concise description of what you want to happen.
26+
validations:
27+
required: true
28+
29+
- type: textarea
30+
id: css-example
31+
attributes:
32+
label: CSS Example
33+
description: Please provide an example of how this feature would be used in CSS
34+
placeholder: |
35+
```css
36+
.example {
37+
/* New feature usage example */
38+
property: if(new-condition-type(...): value; else: fallback);
39+
}
40+
```
41+
validations:
42+
required: false
43+
44+
- type: textarea
45+
id: alternatives
46+
attributes:
47+
label: Alternatives Considered
48+
description: Describe any alternative solutions or features you've considered
49+
validations:
50+
required: false
51+
52+
- type: dropdown
53+
id: impact
54+
attributes:
55+
label: Impact Level
56+
description: How would you rate the impact of this feature?
57+
options:
58+
- Low - Nice to have
59+
- Medium - Would improve workflow
60+
- High - Essential for my use case
61+
- Critical - Blocking my project
62+
validations:
63+
required: true
64+
65+
- type: checkboxes
66+
id: breaking-change
67+
attributes:
68+
label: Breaking Change
69+
description: Would this feature require breaking changes?
70+
options:
71+
- label: This feature would require breaking changes to existing API
72+
- label: This feature could be implemented without breaking changes
73+
74+
- type: textarea
75+
id: use-cases
76+
attributes:
77+
label: Use Cases
78+
description: Describe specific use cases where this feature would be beneficial
79+
placeholder: |
80+
1. Use case 1: [description]
81+
2. Use case 2: [description]
82+
3. Use case 3: [description]
83+
validations:
84+
required: false
85+
86+
- type: textarea
87+
id: additional-context
88+
attributes:
89+
label: Additional Context
90+
description: Add any other context, screenshots, mockups, or examples about the feature request here.
91+
validations:
92+
required: false
93+
94+
- type: checkboxes
95+
id: checklist
96+
attributes:
97+
label: Checklist
98+
description: Please confirm the following
99+
options:
100+
- label: I have searched the existing issues to make sure this is not a duplicate
101+
required: true
102+
- label: I have reviewed the project roadmap and this feature is not already planned
103+
required: false
104+
- label: I would be willing to contribute to implementing this feature
105+
required: false

0 commit comments

Comments
 (0)