234ac05d10
This PR adds an issue template to request an example on the repo. And adds a button to the examples app to request an example. I've added a blue background to the view code button to distinguish it from the request example. I think it makes the most sense as our primary button for the page. ### Change Type - [ ] `patch` — Bug fix - [ ] `minor` — New feature - [ ] `major` — Breaking change - [ ] `dependencies` — Changes to package dependencies[^1] - [x] `documentation` — Changes to the documentation only[^2] - [ ] `tests` — Changes to any test code only[^2] - [ ] `internal` — Any other changes that don't affect the published package[^2] - [ ] I don't know [^1]: publishes a `patch` release, for devDependencies use `internal` [^2]: will not publish a new version ### Release Notes - Add a button to request an example to the examples app --------- Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
25 lines
792 B
YAML
25 lines
792 B
YAML
name: Example Request
|
|
description: Submit a request for an example
|
|
title: '[Example Request]: '
|
|
labels: ['Example Request']
|
|
assignees: []
|
|
body:
|
|
- type: markdown
|
|
attributes:
|
|
value: |
|
|
Need an example of how to do something with tldraw?
|
|
- type: textarea
|
|
id: description
|
|
attributes:
|
|
label: What's the example?
|
|
description: Please describe the example. What would you like to see?
|
|
validations:
|
|
required: true
|
|
- type: checkboxes
|
|
id: terms
|
|
attributes:
|
|
label: Code of Conduct
|
|
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/tldraw/tldraw/blob/main/CODE_OF_CONDUCT.md)
|
|
options:
|
|
- label: I agree to follow this project's Code of Conduct
|
|
required: true
|