From 1d31f88a4e1cc926b25864de821a4317f2c2b9cb Mon Sep 17 00:00:00 2001 From: Deuchnord Date: Sun, 26 May 2024 11:11:57 +0200 Subject: [PATCH] Update issues templates --- .github/ISSUE_TEMPLATE/event-type-proposal.md | 20 --------- .github/ISSUE_TEMPLATE/feature_request.md | 12 ++--- .github/ISSUE_TEMPLATE/suggest_event_type.yml | 45 +++++++++++++++++++ 3 files changed, 48 insertions(+), 29 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/event-type-proposal.md create mode 100644 .github/ISSUE_TEMPLATE/suggest_event_type.yml diff --git a/.github/ISSUE_TEMPLATE/event-type-proposal.md b/.github/ISSUE_TEMPLATE/event-type-proposal.md deleted file mode 100644 index 2184ff0..0000000 --- a/.github/ISSUE_TEMPLATE/event-type-proposal.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Event type proposal -about: Suggest a type of event you'd like to see implemented in Kosmorro -title: '' -labels: "enhancement, \U0001F320 events" -assignees: '' - ---- - -**Event type**: -**Involved objects (check the boxes)**: -- [ ] Sun -- [ ] Earth's moon -- [ ] Planets - -**Definition of the event:** - - - -**Other useful information** (implementation proposal, etc): diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 11fc491..2397abc 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -7,14 +7,8 @@ assignees: '' --- -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + diff --git a/.github/ISSUE_TEMPLATE/suggest_event_type.yml b/.github/ISSUE_TEMPLATE/suggest_event_type.yml new file mode 100644 index 0000000..7895964 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/suggest_event_type.yml @@ -0,0 +1,45 @@ +name: Event type +description: Suggest an event type +labels: + - enhancement + - events + +body: + - type: markdown + attributes: + value: | + If you think that there's a missing supported event type, fill this form out to suggest it! + + - type: checkboxes + id: involved-objects + attributes: + label: Involved objects + description: | + An event must involve at least one object. + Please select below the objects that take part in it. + + For example, a lunar eclipse involves the Moon, the Earth and the Sun. + + options: + - label: Sun + - label: Earth + - label: Moon + - label: Planets or dwarf planets of the Solar system + - label: Other (explain in description) + + - type: textarea + id: event-definition + validations: + required: true + attributes: + label: Event definition + description: | + Explain the event type you wish to see in Kosmorro. + This can be a simple copy and paste from an external source (don't forget to give the source!). + + - type: textarea + id: other-information + attributes: + label: Other useful information + description: | + If you have any other useful information, feel free to put them here!