From cffab18c3897a10c5b76c7e194938c98f7698962 Mon Sep 17 00:00:00 2001 From: Andy Wu Date: Wed, 17 Apr 2024 11:24:43 -0700 Subject: [PATCH] [feat] add issue and pr templates --- .github/ISSUE_TEMPLATE/config.yaml | 5 +++++ .github/ISSUE_TEMPLATE/task.md | 20 +++++++++++++++++++ .github/ISSUE_TEMPLATE/tracking_issue.md | 25 ++++++++++++++++++++++++ .github/pull_request_template.md | 24 +++++++++++++++++++++++ .gitignore | 1 - 5 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 .github/ISSUE_TEMPLATE/config.yaml create mode 100644 .github/ISSUE_TEMPLATE/task.md create mode 100644 .github/ISSUE_TEMPLATE/tracking_issue.md create mode 100644 .github/pull_request_template.md diff --git a/.github/ISSUE_TEMPLATE/config.yaml b/.github/ISSUE_TEMPLATE/config.yaml new file mode 100644 index 00000000..3de509ea --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yaml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Story Protocol Official Discord + url: https://discord.gg/storyprotocol + about: If you're a user, this is the fastest way to get help. Do not give your wallet private key or mnemonic words to anyone. diff --git a/.github/ISSUE_TEMPLATE/task.md b/.github/ISSUE_TEMPLATE/task.md new file mode 100644 index 00000000..27b5b343 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/task.md @@ -0,0 +1,20 @@ +--- +name: Task +about: Create a regular work item to be picked up by a contributor. +title: '' +labels: '' +assignees: '' + +--- + +## Description and context + + + + + +## Suggested solution + + +## Definition of done + diff --git a/.github/ISSUE_TEMPLATE/tracking_issue.md b/.github/ISSUE_TEMPLATE/tracking_issue.md new file mode 100644 index 00000000..efa993f3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/tracking_issue.md @@ -0,0 +1,25 @@ +--- +name: Tracking issue +about: Tracking issues are task lists used to better organize regular work items. +title: 'Tracking issue for *ADD_PROJECT* - *ADD_COMPONENT*' +labels: 'epic' +assignees: '' + +--- + +This issue is for grouping *ADD_COMPONENT* related tasks that are necessary for *ADD_PROJECT*. + +### Other tracking issues for the same project: + + + +- #XXXX +- #XXXX +- #XXXX + + +```[tasklist] +### Task list +- [ ] XXXX +- [ ] XXXX +``` diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..e5b24e29 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,24 @@ +## Description + +Example: +This pr adds user login function, includes: + +- 1. add user login page. +- 2. ... + +## Test Plan + +Example: +- 1. Use different test accounts for login tests, including correct user names and passwords, and incorrect user names and passwords. +- 2. ... + +## Related Issue + + +Example: Issue #123 + +## Notes + + +- Example: Links and navigation need to be added to the front-end interface \ No newline at end of file diff --git a/.gitignore b/.gitignore index 77e56e39..95192910 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,6 @@ docs/ .idea/ .vscode -.github/ node_modules/ # OSX