Commit graph

17 commits

Author SHA1 Message Date
Balázs Orbán
86aac3fa3d
Update 1.bug_report.yml 2022-02-16 21:49:31 +01:00
Balázs Orbán
d88793d973
feat: improve opening a new issue flow (#34434)
Ref: [Slack thread](https://vercel.slack.com/archives/CGU8HUTUH/p1645003443213449)

When opening a new issue, it is desired that the user has checked if the `canary` release not already have fixed their issue, since we do not backport fixes to previous Next.js versions.

- added a CLI warning when `next info` runs that looks like this:

![image](https://user-images.githubusercontent.com/18369201/154309275-01ccc979-01e5-4ccb-8a22-5deab64765a0.png)

This links to a message docs page with more information and some useful links.

- refactored our bug report templates to be more clear and removed the fields that are now unnecessary (since running `next info` is expected to run on releases that already have it)

- Made browser/deployment optional, as in most cases those fields are irrelevant. We still ask them, but mention that they are only needed if relevant.

- Asking for the exact browser version now

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `yarn lint`


Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
2022-02-16 17:45:01 +00:00
Balázs Orbán
3ad2035ae6
feat(cli): introduce next info CLI command (#32972)
This PR adds a new command to the `next` CLI.

Running `next info` will print useful information to the terminal about how/where Next.js is run. This information can be added to the Bug report when opening an issue in the repository.

This makes reporting issues more accurate and doesn't require the user to guess certain details, the command will retrieve it on their behalf.

Example output:

```sh
$ npx --no-install next info

    Operating System:
      Platform: linux
      Version: #22-Ubuntu SMP Fri Nov 5 13:21:36 UTC 2021
    Binaries:
      Node: 16.13.0
      npm: 8.1.0
      Yarn: 1.22.17
      pnpm: 6.24.2
    Relevant packages:
      next: 12.0.8-canary.14
      react: 17.0.2
      react-dom: 17.0.2


```

The idea is based on #32858

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [x] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `yarn lint`


Co-authored-by: Steven <229881+styfle@users.noreply.github.com>
2022-01-04 15:35:32 +00:00
Tim Neutkens
4aa0ba7f7c
Update 1.bug_report.yml 2021-04-23 16:56:46 +02:00
Tim Neutkens
663d4efef7
Update 1.bug_report.yml 2021-04-20 16:42:28 +02:00
Tim Neutkens
a9132d0fda
Update 1.bug_report.yml 2021-04-20 11:12:29 +02:00
Denise Yu
dd7413d0ea
Fix issue templates (#22349)
This PR fixes the issue templates!

Details: https://gh-community.github.io/issue-template-feedback/changes
2021-02-19 21:38:29 +00:00
Joe Haddad
598997f038
fix: lint 2021-01-15 10:24:16 -05:00
Tim Neutkens
8b02c1ba52
Update 1.bug_report.yml 2021-01-15 11:04:57 +01:00
Tim Neutkens
ad1150d2d1 Run prettier against new issue templates 2021-01-04 13:53:26 +01:00
Tim Neutkens
de752b36a9
Update 1.bug_report.yml 2021-01-04 13:50:06 +01:00
Tim Neutkens
62a1f1b747
Update 1.bug_report.yml 2021-01-04 13:02:06 +01:00
Tim Neutkens
cbb45205a3
Update 1.bug_report.yml 2021-01-04 13:00:57 +01:00
Tim Neutkens
ed78ee8187
Update 1.bug_report.yml 2021-01-04 13:00:29 +01:00
Tim Neutkens
89aab7dd90
Update 1.bug_report.yml 2021-01-04 12:58:25 +01:00
Tim Neutkens
7c55651526
Update 1.bug_report.yml 2021-01-04 12:40:36 +01:00
Tim Neutkens
8085e69ca9
Rename bug_report.yml to 1.bug_report.yml 2021-01-04 12:38:17 +01:00
Renamed from .github/ISSUE_TEMPLATE/bug_report.yml (Browse further)