From f9a11aa2fddd48ff9ba05e495880b78bd5209f20 Mon Sep 17 00:00:00 2001 From: theojungle Date: Wed, 19 Jul 2023 18:19:14 +0200 Subject: [PATCH 1/3] ci: add new template issue for tech team --- .github/ISSUE_TEMPLATE/tech-bug-report.yml | 104 ++++++++++++++++++ .github/ISSUE_TEMPLATE/tech-documentation.yml | 85 ++++++++++++++ .../ISSUE_TEMPLATE/tech-feature-request.yml | 38 +++++++ 3 files changed, 227 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/tech-bug-report.yml create mode 100644 .github/ISSUE_TEMPLATE/tech-documentation.yml create mode 100644 .github/ISSUE_TEMPLATE/tech-feature-request.yml diff --git a/.github/ISSUE_TEMPLATE/tech-bug-report.yml b/.github/ISSUE_TEMPLATE/tech-bug-report.yml new file mode 100644 index 0000000000..5ee7853b6d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/tech-bug-report.yml @@ -0,0 +1,104 @@ +name: '[Tech] Bug report πŸ›' +description: 'beta' +labels: ['tech', 'bug'] +body: + - type: 'markdown' + attributes: + value: | + ### Hi! πŸ™ƒ + + Thanks for creating an issue 🫰! + + Have you before check others issues ? + + Please provide the clearest summary of your purpose. This will help us to answer you quickly and accurately. πŸ‘ + - type: dropdown + id: component + attributes: + label: For which component? + options: + - Theming + - Accordion + - Alert + - AspectRatio + - Avatar + - Badge + - Box + - Breadcrumb + - Button + - ButtonGroup + - Card + - Checkbox + - DatePicker + - DateTimePicker + - Drawer + - DropdownMenu + - Emoji + - EmojiPicker + - Field + - FileDrop + - FileUpload + - Flex + - Grid + - Hint + - Icons + - IconsFont + - InputText + - Label + - Link + - Loader + - MarkdownEditor + - Modal + - Pagination + - PasswordInput + - Picker + - Popover + - RadioGroup + - RadioTab + - Search + - Select + - Shape + - Slider + - Stack + - Swiper + - Table + - Tabs + - Tag + - Text + - Textarea + - TimePicker + - Toast + - Toggle + - Tooltip + - usecopyText + - Others + validations: + required: true + - type: 'textarea' + id: 'description' + attributes: + label: 'Description' + description: | + A **clear and concise** description of what the bug is, with the **steps to reproduce** and a **link to the reproduction** environment. + validations: + required: true + - type: 'input' + id: 'version' + attributes: + label: 'Welcome UI Version' + placeholder: '5.0.0' + validations: + required: true + - type: 'input' + id: 'browser' + attributes: + label: 'Browser' + placeholder: 'Google Chrome 114.07' + - type: dropdown + id: system + attributes: + label: Operating System + options: + - MacOS + - Windows + - Linux diff --git a/.github/ISSUE_TEMPLATE/tech-documentation.yml b/.github/ISSUE_TEMPLATE/tech-documentation.yml new file mode 100644 index 0000000000..b8a6674d49 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/tech-documentation.yml @@ -0,0 +1,85 @@ +name: '[Tech] Documentation improvement 🫰' +description: 'beta' +labels: ['tech', 'documentation'] +body: + - type: 'markdown' + attributes: + value: | + ### Hi! πŸ™ƒ + + Thanks for creating an issue 🫰! + + Have you before check others issues ? + + Please provide the clearest summary of your purpose. This will help us to answer you quickly and accurately. πŸ‘ + - type: dropdown + id: page + attributes: + label: For which page? + options: + - Getting started + - Theming (Foundations) + - Accordion + - Alert + - AspectRatio + - Avatar + - Badge + - Box + - Breadcrumb + - Button + - ButtonGroup + - Card + - Checkbox + - DatePicker + - DateTimePicker + - Drawer + - DropdownMenu + - Emoji + - EmojiPicker + - Field + - FileDrop + - FileUpload + - Flex + - Grid + - Hint + - HookForm + - Icons + - IconsFont + - InputText + - Label + - Link + - Loader + - MarkdownEditor + - Modal + - Pagination + - PasswordInput + - Picker + - Popover + - RadioGroup + - RadioTab + - Search + - Select + - Shape + - Slider + - Stack + - Swiper + - Table + - Tabs + - Tag + - Text + - Textarea + - TimePicker + - Toast + - Toggle + - Tooltip + - usecopyText + - Others + validations: + required: true + - type: 'textarea' + id: 'description' + attributes: + label: 'Description' + description: 'What is wrong or missing ?' + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/tech-feature-request.yml b/.github/ISSUE_TEMPLATE/tech-feature-request.yml new file mode 100644 index 0000000000..4913a55d3a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/tech-feature-request.yml @@ -0,0 +1,38 @@ +name: '[Tech] Documentation improvement 🫰' +description: 'beta' +labels: ['tech', 'enhancement'] +body: + - type: 'markdown' + attributes: + value: | + ### Hi! πŸ™ƒ + + Thanks for creating an issue 🫰! + + Have you before check others issues ? + + Please provide the clearest summary of your purpose. This will help us to answer you quickly and accurately. πŸ‘ + - type: dropdown + id: prioritization + attributes: + label: Prioritization + options: + - Low 😎 + - Medium πŸ€” + - High πŸ’₯ + validations: + required: true + - type: 'textarea' + id: 'description' + attributes: + label: 'Description' + description: Outline the motivation for the proposal.' + placeholder: 'Provide an example for how this feature would be used, and add some specifications do to it.' + validations: + required: true + - type: 'textarea' + id: 'description' + attributes: + label: 'Implementation' + description: 'If possible, describe how this feature could be implemented.' + placeholder: 'See [CONTRIBUTING.mdx](https://github.com/reakit/reakit/blob/master/CONTRIBUTING.mdx)' From 7300cdaabf0ea01f49b129f26711da7bd6540889 Mon Sep 17 00:00:00 2001 From: theojungle Date: Wed, 19 Jul 2023 18:23:03 +0200 Subject: [PATCH 2/3] ci: fix issues for design --- .github/ISSUE_TEMPLATE/design-documentation.yml | 2 ++ .github/ISSUE_TEMPLATE/design-figma.yml | 13 +++++++------ .github/ISSUE_TEMPLATE/design-update-component.yml | 5 ++++- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/design-documentation.yml b/.github/ISSUE_TEMPLATE/design-documentation.yml index 57d6594a5c..c0ab9601da 100644 --- a/.github/ISSUE_TEMPLATE/design-documentation.yml +++ b/.github/ISSUE_TEMPLATE/design-documentation.yml @@ -14,6 +14,8 @@ body: - Foundations - Component - Content + validations: + required: true - type: 'textarea' id: 'description' attributes: diff --git a/.github/ISSUE_TEMPLATE/design-figma.yml b/.github/ISSUE_TEMPLATE/design-figma.yml index 077c0cae15..19b766bb64 100644 --- a/.github/ISSUE_TEMPLATE/design-figma.yml +++ b/.github/ISSUE_TEMPLATE/design-figma.yml @@ -6,7 +6,8 @@ body: attributes: value: | *Please provide the clearest summary of your purpose. This will help us to answer you quickly and accurately. -Thanks for contributing by creating this issue! ❀️* + + Thanks for contributing by creating this issue! ❀️* - type: dropdown id: figma attributes: @@ -18,14 +19,12 @@ Thanks for contributing by creating this issue! ❀️* - Dataviz palette - Divergent - Dataviz palette - Sequential - Feedback - - Forms + - Forms - Icons - Illustrations - Navigation - - - - + validations: + required: true - type: dropdown id: components attributes: @@ -63,6 +62,8 @@ Thanks for contributing by creating this issue! ❀️* - Toggle - Tooltip - Others + validations: + required: true - type: 'textarea' id: 'current-behavior' attributes: diff --git a/.github/ISSUE_TEMPLATE/design-update-component.yml b/.github/ISSUE_TEMPLATE/design-update-component.yml index 041e79495a..5d04e5c606 100644 --- a/.github/ISSUE_TEMPLATE/design-update-component.yml +++ b/.github/ISSUE_TEMPLATE/design-update-component.yml @@ -6,7 +6,8 @@ body: attributes: value: | *Please provide the clearest summary of your purpose. This will help us to answer you quickly and accurately. -Thanks for contributing by creating this issue! ❀️* + + Thanks for contributing by creating this issue! ❀️* - type: dropdown id: components attributes: @@ -44,6 +45,8 @@ Thanks for contributing by creating this issue! ❀️* - Toggle - Tooltip - Others + validations: + required: true - type: 'textarea' id: 'description' attributes: From 7fbe6158df7499e766c10c81dd731e4b8c62b536 Mon Sep 17 00:00:00 2001 From: theojungle Date: Wed, 19 Jul 2023 18:29:04 +0200 Subject: [PATCH 3/3] ci: fix wrong issues --- .github/ISSUE_TEMPLATE/---bug-report-.md | 36 ------------------- .../ISSUE_TEMPLATE/---documentation-issues.md | 21 ----------- .github/ISSUE_TEMPLATE/---feature-request.md | 21 ----------- .../design-create-component.yml | 11 ++++-- .../ISSUE_TEMPLATE/design-documentation.yml | 10 ++++-- .github/ISSUE_TEMPLATE/design-figma.yml | 10 ++++-- .../design-update-component.yml | 10 ++++-- .github/ISSUE_TEMPLATE/tech-bug-report.yml | 4 +-- .github/ISSUE_TEMPLATE/tech-documentation.yml | 4 +-- .../ISSUE_TEMPLATE/tech-feature-request.yml | 4 +-- 10 files changed, 36 insertions(+), 95 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/---bug-report-.md delete mode 100644 .github/ISSUE_TEMPLATE/---documentation-issues.md delete mode 100644 .github/ISSUE_TEMPLATE/---feature-request.md diff --git a/.github/ISSUE_TEMPLATE/---bug-report-.md b/.github/ISSUE_TEMPLATE/---bug-report-.md deleted file mode 100644 index c2f1e62785..0000000000 --- a/.github/ISSUE_TEMPLATE/---bug-report-.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -name: "\U0001F62D Bug report " -about: "Something is broken? \U0001F41B" -title: '' -labels: bug -assignees: '' - ---- - -## 😭 Bug report - -### Describe the bug - -A clear and concise description of what the bug is. - -### To Reproduce - -Please try to build a small repo with a repro of your problem and provide a link to it. - -### Expected behavior - -A clear and concise description of what you expected to happen. - -### Environment - -- `@welcome-ui/the_component` [e.g. 1.30.1] -- `@welcome-ui/core` [e.g. 1.30.1] - -Run `npx envinfo --system --binaries --markdown` and copy/paste the results here - -```bash - -``` - -### Additional context/Screenshots -Add any other context about the problem here. If applicable, add screenshots to help explain. diff --git a/.github/ISSUE_TEMPLATE/---documentation-issues.md b/.github/ISSUE_TEMPLATE/---documentation-issues.md deleted file mode 100644 index 82ddd2fe5b..0000000000 --- a/.github/ISSUE_TEMPLATE/---documentation-issues.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -name: "\U0001F648 Documentation issues" -about: Oops! Wrong or missing documentation. -title: '' -labels: docs -assignees: '' ---- - -## πŸ™ˆ Documentation issues - -### Where - -For which component ? - -### What - -What is wrong or missing ? - -### Possible implementations - -If possible, describe how this documentation could be implemented. See [CONTRIBUTING.mdx](https://github.com/reakit/reakit/blob/master/CONTRIBUTING.mdx). diff --git a/.github/ISSUE_TEMPLATE/---feature-request.md b/.github/ISSUE_TEMPLATE/---feature-request.md deleted file mode 100644 index 694b83f513..0000000000 --- a/.github/ISSUE_TEMPLATE/---feature-request.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -name: "\U0001F970 Feature request" -about: "Suggest an idea for this project \U0001F680" -title: '' -labels: enhancement -assignees: '' ---- - -## πŸ₯° Feature request - -### Motivation - -Outline the motivation for the proposal. - -### Example - -Provide an example for how this feature would be used. - -### Possible implementations - -If possible, describe how this feature could be implemented. See [CONTRIBUTING.mdx](https://github.com/reakit/reakit/blob/master/CONTRIBUTING.mdx). diff --git a/.github/ISSUE_TEMPLATE/design-create-component.yml b/.github/ISSUE_TEMPLATE/design-create-component.yml index 7877396309..afdcfdd933 100644 --- a/.github/ISSUE_TEMPLATE/design-create-component.yml +++ b/.github/ISSUE_TEMPLATE/design-create-component.yml @@ -1,12 +1,17 @@ -name: '[Design] 🫢Component creation' +name: '[Design] 🫢 Component creation' description: 'Request a new foundation or a new component.' labels: ['design', 'component-creation'] body: - type: 'markdown' attributes: value: | - *Please provide the clearest summary of your purpose. This will help us to answer you quickly and accurately. -Thanks for contributing by creating this issue! ❀️* + ### Hi! πŸ™ƒ + + Thanks for creating an issue 🫰! + + Have you before check others issues ? + + Please provide the clearest summary of your purpose. This will help us to answer you quickly and accurately. πŸ‘ - type: 'textarea' id: 'description' attributes: diff --git a/.github/ISSUE_TEMPLATE/design-documentation.yml b/.github/ISSUE_TEMPLATE/design-documentation.yml index c0ab9601da..11c44e9025 100644 --- a/.github/ISSUE_TEMPLATE/design-documentation.yml +++ b/.github/ISSUE_TEMPLATE/design-documentation.yml @@ -1,11 +1,17 @@ -name: '[Design] πŸ“šDocumentation improvement' +name: '[Design] πŸ“š Documentation improvement' description: 'Request a design documentation improvement.' labels: ['design', 'documentation'] body: - type: 'markdown' attributes: value: | - *Description coming, in beta for testing* + ### Hi! πŸ™ƒ + + Thanks for creating an issue 🫰! + + Have you before check others issues ? + + Please provide the clearest summary of your purpose. This will help us to answer you quickly and accurately. πŸ‘ - type: dropdown id: figma attributes: diff --git a/.github/ISSUE_TEMPLATE/design-figma.yml b/.github/ISSUE_TEMPLATE/design-figma.yml index 19b766bb64..ff71625a1e 100644 --- a/.github/ISSUE_TEMPLATE/design-figma.yml +++ b/.github/ISSUE_TEMPLATE/design-figma.yml @@ -1,13 +1,17 @@ -name: '[Design] πŸ›Figma bug report' +name: '[Design] πŸ› Figma bug report' description: 'Create a Figma bug report to improve Figma libraries.' labels: ['design', 'figma-bug'] body: - type: 'markdown' attributes: value: | - *Please provide the clearest summary of your purpose. This will help us to answer you quickly and accurately. + ### Hi! πŸ™ƒ - Thanks for contributing by creating this issue! ❀️* + Thanks for creating an issue 🫰! + + Have you before check others issues ? + + Please provide the clearest summary of your purpose. This will help us to answer you quickly and accurately. πŸ‘ - type: dropdown id: figma attributes: diff --git a/.github/ISSUE_TEMPLATE/design-update-component.yml b/.github/ISSUE_TEMPLATE/design-update-component.yml index 5d04e5c606..551fbba4ad 100644 --- a/.github/ISSUE_TEMPLATE/design-update-component.yml +++ b/.github/ISSUE_TEMPLATE/design-update-component.yml @@ -1,13 +1,17 @@ -name: '[Design] πŸ”„Update or feedback on existing component' +name: '[Design] πŸ”„ Update or feedback on existing component' description: 'Request an update to improve foundations or existing component.' labels: ['design', 'existing-component'] body: - type: 'markdown' attributes: value: | - *Please provide the clearest summary of your purpose. This will help us to answer you quickly and accurately. + ### Hi! πŸ™ƒ - Thanks for contributing by creating this issue! ❀️* + Thanks for creating an issue 🫰! + + Have you before check others issues ? + + Please provide the clearest summary of your purpose. This will help us to answer you quickly and accurately. πŸ‘ - type: dropdown id: components attributes: diff --git a/.github/ISSUE_TEMPLATE/tech-bug-report.yml b/.github/ISSUE_TEMPLATE/tech-bug-report.yml index 5ee7853b6d..e5dd990954 100644 --- a/.github/ISSUE_TEMPLATE/tech-bug-report.yml +++ b/.github/ISSUE_TEMPLATE/tech-bug-report.yml @@ -1,5 +1,5 @@ -name: '[Tech] Bug report πŸ›' -description: 'beta' +name: '[Tech] πŸ› Bug report' +description: 'Create a bug report for the tech team.' labels: ['tech', 'bug'] body: - type: 'markdown' diff --git a/.github/ISSUE_TEMPLATE/tech-documentation.yml b/.github/ISSUE_TEMPLATE/tech-documentation.yml index b8a6674d49..3f2b0698cd 100644 --- a/.github/ISSUE_TEMPLATE/tech-documentation.yml +++ b/.github/ISSUE_TEMPLATE/tech-documentation.yml @@ -1,5 +1,5 @@ -name: '[Tech] Documentation improvement 🫰' -description: 'beta' +name: '[Tech] πŸ“š Documentation issues' +description: 'Request a tech documentation improvement or fix on website or code.' labels: ['tech', 'documentation'] body: - type: 'markdown' diff --git a/.github/ISSUE_TEMPLATE/tech-feature-request.yml b/.github/ISSUE_TEMPLATE/tech-feature-request.yml index 4913a55d3a..69dbf1227e 100644 --- a/.github/ISSUE_TEMPLATE/tech-feature-request.yml +++ b/.github/ISSUE_TEMPLATE/tech-feature-request.yml @@ -1,5 +1,5 @@ -name: '[Tech] Documentation improvement 🫰' -description: 'beta' +name: '[Tech] 🫢 Feature request' +description: 'Request a new feature like a new component.' labels: ['tech', 'enhancement'] body: - type: 'markdown'