mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-23 20:10:49 +08:00
chore: update issue template
This commit is contained in:
50
packages/tabs/.github/ISSUE_TEMPLATE.md
vendored
50
packages/tabs/.github/ISSUE_TEMPLATE.md
vendored
@@ -1,32 +1,32 @@
|
||||
<!-- Issues that don't use this template are likely to be closed. -->
|
||||
<!-- Please search the existing issues and read the documentation before opening an issue. -->
|
||||
**Current Behavior**
|
||||
|
||||
### Current behaviour
|
||||
- What code are you running and what is happening?
|
||||
- Include a screenshot or video if it makes sense.
|
||||
|
||||
<!-- What's currently happening? -->
|
||||
**Expected Behavior**
|
||||
|
||||
### Expected behaviour
|
||||
- What do you expect should be happening?
|
||||
- Include a screenshot or video if it makes sense.
|
||||
|
||||
<!-- What do you expect to happen? If there is an error, provide the complete error message with stack trace. -->
|
||||
**How to reproduce**
|
||||
|
||||
### Code sample
|
||||
- You must provide a way to reproduce the problem. If you are having an issue with your machine or build tools, the issue belongs on another repository as that is outside of the scope of React Navigation.
|
||||
- Either re-create the bug on [Snack](https://snack.expo.io) or link to a GitHub repository with code that reproduces the bug.
|
||||
- Explain how to run the example app and any steps that we need to take to reproduce the issue from the example app.
|
||||
- Keep the repro code as simple as possible, with the minimum amount of code required to repro the issue.
|
||||
- Before reporting an issue, make sure you are on latest version of the package.
|
||||
|
||||
<!-- Provide a complete code sample that could be run to reproduce the issue, ideally on snack.expo.io or in a github repo. -->
|
||||
**Your Environment**
|
||||
|
||||
### Screenshots (if applicable)
|
||||
|
||||
<!-- Include screenshots if there's a bug in the layout. -->
|
||||
|
||||
### What have you tried
|
||||
|
||||
<!-- List down the steps you have tried to fix or identify the issue and links to any related issues you found. -->
|
||||
|
||||
### Your Environment
|
||||
|
||||
| software | version
|
||||
| --------------------- | -------
|
||||
| ios or android |
|
||||
| react-native |
|
||||
| react-navigation-tabs |
|
||||
| node |
|
||||
| npm or yarn |
|
||||
| software | version |
|
||||
| ---------------------------- | ------- |
|
||||
| iOS or Android |
|
||||
| react-navigation |
|
||||
| react-navigation-tabs |
|
||||
| react-native-reanimated |
|
||||
| react-native-gesture-handler |
|
||||
| react-native-screens |
|
||||
| react-native |
|
||||
| expo |
|
||||
| node |
|
||||
| npm or yarn |
|
||||
|
||||
19
packages/tabs/.github/PULL_REQUEST_TEMPLATE.md
vendored
19
packages/tabs/.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -1,10 +1,17 @@
|
||||
<!-- Please provide enough information so that others can review your pull request. -->
|
||||
<!-- Keep pull requests small and focused on a single change. -->
|
||||
Please provide enough information so that others can review your pull request:
|
||||
|
||||
### Motivation
|
||||
**Motivation**
|
||||
|
||||
<!-- What existing problem does the pull request solve? Can you solve the issue with a different approach? -->
|
||||
Explain the **motivation** for making this change. What existing problem does the pull request solve?
|
||||
|
||||
### Test plan
|
||||
**Test plan**
|
||||
|
||||
<!-- List the steps with which we can test this change. Provide screenshots if this changes anything visual. -->
|
||||
Demonstrate the code is solid. Example: the exact commands you ran and their output, screenshots / videos if the pull request changes UI.
|
||||
|
||||
Make sure you test on both platforms if your change affects both platforms.
|
||||
|
||||
The code must pass tests.
|
||||
|
||||
**Code formatting**
|
||||
|
||||
Look around. Match the style of the rest of the codebase. Run `yarn lint --fix` before committing.
|
||||
|
||||
16
packages/tabs/.github/workflows/stale.yml
vendored
Normal file
16
packages/tabs/.github/workflows/stale.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
name: "Close stale issues and pull requests"
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/stale@v1
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
stale-issue-message: 'Hello 👋, this issue has been open for more than 2 months with no activity on it. If the issue is still present in the latest version, please leave a comment within 7 days to keep it open, otherwise it will be closed automatically. If you found a solution on workaround for the issue, please comment here for others to find. If this issue is critical for you, please consider sending a pull request to fix the issue.'
|
||||
stale-pr-message: 'Hello 👋, this pull request has been open for more than 2 months with no activity on it. If you think this is still necessary with the latest version, please comment and ping a maintainer to get this reviewed, otherwise it will be closed automatically in 7 days.'
|
||||
exempt-issue-label: 'Keep opened'
|
||||
exempt-pr-label: 'Keep opened'
|
||||
Reference in New Issue
Block a user