Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(issues): add new issue templates #253

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

dkundel
Copy link
Contributor

@dkundel dkundel commented Jul 13, 2021

Description

GitHub introduced new forms for issue creation that allow things such as dropdowns and various types of fields. In this PR I added three different issue templates for:

  • Template Requests - for any new templates that would be nice to have
  • Template Bugs - for issues with existing templates
  • General Bugs - for anything else

I also added a step in the automation to autogenerate the list of templates in the "Template Bug" template so it always contains the full list of templates.

To view the forms go to this link and click on the individual YAML files: https://github.com/twilio-labs/function-templates/tree/dkundel/improve-issue-templates/.github/ISSUE_TEMPLATE

The table itself will be gone once deployed as that information is meta information used for the picker that is generated similar to the one at https://github.com/twilio-labs/code-exchange/issues/new/choose

Checklist

  • I ran npm test locally and it passed without errors.
  • I acknowledge that all my contributions will be made under the project's license.

Related issues

async function run() {
const templates = await getTemplateNames();

const optionsList = templates
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be an idea to sort the templates so that it's easier to find the one you want to reference.

@@ -0,0 +1,24 @@
name: Template Request
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't requesting templates better handled through the CodeExchange process?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants