From 5a3eb413d926d508e85c4c2012b7ece17e64d29e Mon Sep 17 00:00:00 2001 From: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com> Date: Thu, 9 Jul 2020 17:00:28 +0200 Subject: [PATCH] Issue Template: @grafana/ui component request (#25981) * Add first draft of issue template * Remove feature request line * Update PR feedback * Minor tweaks * Update .github/ISSUE_TEMPLATE/4-grafana_ui_component.md Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> * Fix punctuation Co-authored-by: Clarity-89 Co-authored-by: Alex Khomenko Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> --- .../ISSUE_TEMPLATE/4-grafana_ui_component.md | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/4-grafana_ui_component.md diff --git a/.github/ISSUE_TEMPLATE/4-grafana_ui_component.md b/.github/ISSUE_TEMPLATE/4-grafana_ui_component.md new file mode 100644 index 00000000000..3920ed7a791 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/4-grafana_ui_component.md @@ -0,0 +1,39 @@ +--- +name: '@grafana/ui component request' +about: Suggest a component for the @grafana/ui package +labels: 'area/grafana/ui' +--- + + + +**Why is this component needed**: + +___ + - [ ] Is/could it be used in more than one place in Grafana? + +**Where is/could it be used?**: + +___ +- [ ] Post screenshots possible. +- [ ] It has a single use case. +- [ ] It is/could be used in multiple places. + +**Implementation** (Checklist meant for the person implementing the component) + +- [ ] Component has a story in Storybook. +- [ ] Props and naming follows [our style guide](https://github.com/grafana/grafana/blob/master/contribute/style-guides/frontend.md). +- [ ] It is extendable (rest props are spread, styles with className work, and so on). +- [ ] Uses [theme for spacing, colors, and so on](https://github.com/grafana/grafana/blob/master/contribute/style-guides/themes.md). +- [ ] Works with both light and dark theme. + +**Documentation** + +- [ ] Properties are documented. +- [ ] Use cases are described. +- [ ] Code examples for the different use cases. +- [ ] Dos and don'ts. +- [ ] Styling guidelines, specific color usage (if applicable).