From af4d5c73f4c52722cb1bff516e68675c68bcb919 Mon Sep 17 00:00:00 2001 From: Dominik Brilhaus Date: Tue, 15 Oct 2024 08:55:25 +0200 Subject: [PATCH 1/9] polish issue template --- .github/ISSUE_TEMPLATE/event.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/event.yml b/.github/ISSUE_TEMPLATE/event.yml index f157c14e..b411c4f5 100644 --- a/.github/ISSUE_TEMPLATE/event.yml +++ b/.github/ISSUE_TEMPLATE/event.yml @@ -1,5 +1,5 @@ name: Add event -description: Add an event (e.g. workshop, training or demo) to be listed on the [DataPLANT events site](https://nfdi4plants.org/events/). +description: Add an event (e.g. workshop, training or demo) to be listed on the [DataPLANT events site](https://nfdi4plants.org/events/). Please check out the [contribution guide](https://github.com/nfdi4plants/nfdi4plants.github.io/blob/main/CONTRIBUTING.md#events) for more details title: "[Add event]: " body: - type: input @@ -9,9 +9,9 @@ body: validations: required: true - type: input - id: description + id: excerpt attributes: - label: Description + label: Excerpt description: Max. 200 signs. validations: required: true @@ -33,17 +33,19 @@ body: - Webinar - Training - Meeting + validations: + required: true - type: dropdown id: audience attributes: - label: audience + label: Audience options: - Users - Data Stewards - Developers multiple: true validations: - required: false + required: True - type: dropdown id: recurrence attributes: @@ -54,6 +56,8 @@ body: - Series description: | Single = one-time event; Series = multiple-session event planned for non-consecutive days; Periodic = regularily repeating (e.g. Data Steward Circle) + validations: + required: true - type: textarea id: when attributes: @@ -95,7 +99,7 @@ body: affiliation: DataPLANT url: https://www.nfdi4plants.org validations: - required: true + required: false - type: textarea id: tutors attributes: From 610b9292aa016c86ba5dcc4f88969d6325a12100 Mon Sep 17 00:00:00 2001 From: Dominik Brilhaus Date: Tue, 15 Oct 2024 08:56:25 +0200 Subject: [PATCH 2/9] fix description length --- .github/ISSUE_TEMPLATE/event.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/event.yml b/.github/ISSUE_TEMPLATE/event.yml index b411c4f5..47a1a850 100644 --- a/.github/ISSUE_TEMPLATE/event.yml +++ b/.github/ISSUE_TEMPLATE/event.yml @@ -1,5 +1,5 @@ name: Add event -description: Add an event (e.g. workshop, training or demo) to be listed on the [DataPLANT events site](https://nfdi4plants.org/events/). Please check out the [contribution guide](https://github.com/nfdi4plants/nfdi4plants.github.io/blob/main/CONTRIBUTING.md#events) for more details +description: Add an event (e.g. workshop, training or demo) to be listed on the [DataPLANT events site](https://nfdi4plants.org/events/). title: "[Add event]: " body: - type: input From 7ed1c09621b41cb28e961bc1d1dc0000adabff35 Mon Sep 17 00:00:00 2001 From: Dominik Brilhaus Date: Tue, 15 Oct 2024 08:57:30 +0200 Subject: [PATCH 3/9] mode mandatory --- .github/ISSUE_TEMPLATE/event.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/event.yml b/.github/ISSUE_TEMPLATE/event.yml index 47a1a850..8b79226a 100644 --- a/.github/ISSUE_TEMPLATE/event.yml +++ b/.github/ISSUE_TEMPLATE/event.yml @@ -23,6 +23,8 @@ body: - On-site - Online - Hybrid + validations: + required: true - type: dropdown id: category attributes: From ea1ef4bbdccc9a6dc09186699b51129f06203ca3 Mon Sep 17 00:00:00 2001 From: Dominik Brilhaus Date: Tue, 15 Oct 2024 08:58:46 +0200 Subject: [PATCH 4/9] add registration yaml list --- .github/ISSUE_TEMPLATE/event.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/event.yml b/.github/ISSUE_TEMPLATE/event.yml index 8b79226a..138429f6 100644 --- a/.github/ISSUE_TEMPLATE/event.yml +++ b/.github/ISSUE_TEMPLATE/event.yml @@ -117,10 +117,11 @@ body: attributes: label: Registration value: | - url: - description: - deadline: - seats: + registration: + url: + description: + deadline: + seats: description: | url: link to a registration form or a mailto-link (email address) description: add additional details to the registration From 6cc5939c41e68ff3ad23b626cd209319b8d6e99c Mon Sep 17 00:00:00 2001 From: Dominik Brilhaus Date: Tue, 15 Oct 2024 08:59:13 +0200 Subject: [PATCH 5/9] adapt location yaml --- .github/ISSUE_TEMPLATE/event.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/event.yml b/.github/ISSUE_TEMPLATE/event.yml index 138429f6..a0c8cdb2 100644 --- a/.github/ISSUE_TEMPLATE/event.yml +++ b/.github/ISSUE_TEMPLATE/event.yml @@ -135,9 +135,10 @@ body: attributes: label: Location value: | - url: - name: - address: + location: + name: + url: + address: description: | url: link to hybrid meeting or directions (e.g. online map) name: 50 signs max. From 2464325c3b23db177c8bf5c695ed6f336312cba6 Mon Sep 17 00:00:00 2001 From: Dominik Brilhaus Date: Tue, 15 Oct 2024 09:00:49 +0200 Subject: [PATCH 6/9] add external --- .github/ISSUE_TEMPLATE/event.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/event.yml b/.github/ISSUE_TEMPLATE/event.yml index a0c8cdb2..465a547a 100644 --- a/.github/ISSUE_TEMPLATE/event.yml +++ b/.github/ISSUE_TEMPLATE/event.yml @@ -164,3 +164,10 @@ body: attributes: label: Image description: add an image URL here or upload an image via comment to the issue + - type: input + id: external-link + attributes: + label: External link + description: "Add a link to an external resource" + validations: + required: false From 0d89544d9a39e307161644776f368180bcfd1448 Mon Sep 17 00:00:00 2001 From: Dominik Brilhaus Date: Tue, 15 Oct 2024 09:02:40 +0200 Subject: [PATCH 7/9] add description --- .github/ISSUE_TEMPLATE/event.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/event.yml b/.github/ISSUE_TEMPLATE/event.yml index 465a547a..5f8d4180 100644 --- a/.github/ISSUE_TEMPLATE/event.yml +++ b/.github/ISSUE_TEMPLATE/event.yml @@ -12,7 +12,7 @@ body: id: excerpt attributes: label: Excerpt - description: Max. 200 signs. + description: Add a short (max. 200 signs) description about the event validations: required: true - type: dropdown @@ -141,7 +141,7 @@ body: address: description: | url: link to hybrid meeting or directions (e.g. online map) - name: 50 signs max. + name: Short (max. 50 signs) name of the location address: Street address and room render: markdown validations: From 9ff740501573e35554013de00253df54eb154e49 Mon Sep 17 00:00:00 2001 From: Dominik Brilhaus Date: Tue, 15 Oct 2024 09:03:14 +0200 Subject: [PATCH 8/9] make tutors a list --- .github/ISSUE_TEMPLATE/event.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/event.yml b/.github/ISSUE_TEMPLATE/event.yml index 5f8d4180..2cd0056b 100644 --- a/.github/ISSUE_TEMPLATE/event.yml +++ b/.github/ISSUE_TEMPLATE/event.yml @@ -108,8 +108,9 @@ body: label: Tutors description: List of tutors value: | - - Sir Tutor-A-Lot (DataPLANT) - - Edna Krabappel + tutors: + - Sir Tutor-A-Lot (DataPLANT) + - Edna Krabappel validations: required: false - type: textarea From 8ed9974a562f51129e8306a1dc67c1d4869979ed Mon Sep 17 00:00:00 2001 From: Dominik Brilhaus Date: Tue, 15 Oct 2024 09:05:15 +0200 Subject: [PATCH 9/9] adapt descriptions --- .github/ISSUE_TEMPLATE/event.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/event.yml b/.github/ISSUE_TEMPLATE/event.yml index 2cd0056b..8f7ee3f1 100644 --- a/.github/ISSUE_TEMPLATE/event.yml +++ b/.github/ISSUE_TEMPLATE/event.yml @@ -1,5 +1,5 @@ name: Add event -description: Add an event (e.g. workshop, training or demo) to be listed on the [DataPLANT events site](https://nfdi4plants.org/events/). +description: "Add an event to be listed on the [DataPLANT events site](https://nfdi4plants.org/events/). Details: https://github.com/nfdi4plants/nfdi4plants.github.io/blob/main/CONTRIBUTING.md" title: "[Add event]: " body: - type: input @@ -106,11 +106,11 @@ body: id: tutors attributes: label: Tutors - description: List of tutors + description: List of tutors. You can use html to add links or styling value: | tutors: - - Sir Tutor-A-Lot (DataPLANT) - Edna Krabappel + - Sir Tutor-A-Lot (DataPLANT) validations: required: false - type: textarea