From 0e84aea5e38b34aae330a40b318e3a57a3a4546b Mon Sep 17 00:00:00 2001 From: Mathew Biddle <8480023+MathewBiddle@users.noreply.github.com> Date: Thu, 10 Aug 2023 09:10:55 -0400 Subject: [PATCH 1/3] fixing issue template for new guidance --- .github/ISSUE_TEMPLATE.md | 8 ------ .github/ISSUE_TEMPLATE/NEW_NOTEBOOK.yml | 38 +++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 8 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/NEW_NOTEBOOK.yml diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index b5e350b5..00000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,8 +0,0 @@ -If you are opening an issue regarding an existing notebook/code or the webpage just ignore the instructions below. -If you want to suggest a notebook for the code gallery please answer these questions: - -- \[ \] What is language(s) for used in the example? -- \[ \] Is it focused on a particular module/software or an IOOS data service? -- \[ \] Can you provide a minimum example of the expected code and results in a notebook? - -Please provide a detailed description of the suggested example below: diff --git a/.github/ISSUE_TEMPLATE/NEW_NOTEBOOK.yml b/.github/ISSUE_TEMPLATE/NEW_NOTEBOOK.yml new file mode 100644 index 00000000..b237cbb6 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/NEW_NOTEBOOK.yml @@ -0,0 +1,38 @@ +--- +name: New Notebook +description: Request to add a new notebook +title: "[New Notebook]: " +labels: ["Notebook idea"] +assignees: + - mathewbiddle + - ocefpaf +body: + - type: markdown + attributes: + value: | + If you want to suggest a notebook for the [IOOS CodeLab](https://ioos.github.io/ioos_code_lab/content/intro.html#) please answer these questions: + - type: input + id: language + attributes: + label: Programming Language + description: What programming language(s) will be used in the example? + placeholder: Python + - type: input + id: tool + attributes: + label: Module/Software/IOOS data service? + description: Is it focused on a particular module/software or an IOOS data service? + placeholder: ERDDAP + - type: input + id: example + attributes: + label: Module/Software/IOOS data service? + description: Can you provide a minimum example of the expected code and results in a notebook? + placeholder: + - type: input + id: description + attributes: + label: Provide a description. + description: Please provide a detailed description of the suggested example below + placeholder: +--- \ No newline at end of file From de9f5975b5c7b23badad83e131d209a91f00bb4c Mon Sep 17 00:00:00 2001 From: Mathew Biddle <8480023+MathewBiddle@users.noreply.github.com> Date: Thu, 10 Aug 2023 09:21:25 -0400 Subject: [PATCH 2/3] moving PR template --- .github/{ => PULL_REQUEST_TEMPLATE}/PULL_REQUEST_TEMPLATE.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{ => PULL_REQUEST_TEMPLATE}/PULL_REQUEST_TEMPLATE.md (100%) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE/PULL_REQUEST_TEMPLATE.md similarity index 100% rename from .github/PULL_REQUEST_TEMPLATE.md rename to .github/PULL_REQUEST_TEMPLATE/PULL_REQUEST_TEMPLATE.md From 2318fd011fbfa84af48fa4a3df21d578a9df0fef Mon Sep 17 00:00:00 2001 From: Mathew Biddle <8480023+MathewBiddle@users.noreply.github.com> Date: Thu, 10 Aug 2023 09:51:19 -0400 Subject: [PATCH 3/3] Update .github/ISSUE_TEMPLATE/NEW_NOTEBOOK.yml Co-authored-by: Filipe --- .github/ISSUE_TEMPLATE/NEW_NOTEBOOK.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/NEW_NOTEBOOK.yml b/.github/ISSUE_TEMPLATE/NEW_NOTEBOOK.yml index b237cbb6..5fb5e38a 100644 --- a/.github/ISSUE_TEMPLATE/NEW_NOTEBOOK.yml +++ b/.github/ISSUE_TEMPLATE/NEW_NOTEBOOK.yml @@ -33,6 +33,6 @@ body: id: description attributes: label: Provide a description. - description: Please provide a detailed description of the suggested example below + description: Please provide a detailed description of the suggested example below. placeholder: --- \ No newline at end of file