Fix Configuration section in bug report template (#4181)

* Fix Configuration section in bug report template

Change the placeholder content to actually match the `to md` output, and add `--pretty`

* Don't omit data in placeholder configuration table

* Remove blank line in bug_report.yml
This commit is contained in:
Waldir Pimenta 2021-12-08 19:32:28 +00:00 committed by GitHub
parent 1bdcdcca70
commit ad94ed5e13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,22 +38,20 @@ body:
id: config id: config
attributes: attributes:
label: Configuration label: Configuration
description: "Please run `> version | pivot key value | to md` and paste the output to show OS, features, etc" description: "Please run `version | pivot key value | to md --pretty` and paste the output to show OS, features, etc."
placeholder: | placeholder: |
> version | pivot key value | to md > version | pivot key value | to md --pretty
╭───┬────────────────────┬───────────────────────────────────────────────────────────────────────╮ | key | value |
# │ key │ value │ | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
├───┼────────────────────┼───────────────────────────────────────────────────────────────────────┤ | version | 0.40.0 |
│ 0 │ version │ 0.24.1 │ | build_os | linux-x86_64 |
│ 1 │ build_os │ macos-x86_64 │ | rust_version | rustc 1.56.1 |
│ 2 │ rust_version │ rustc 1.48.0 │ | cargo_version | cargo 1.56.0 |
│ 3 │ cargo_version │ cargo 1.48.0 │ | pkg_version | 0.40.0 |
│ 4 │ pkg_version │ 0.24.1 │ | build_time | 1980-01-01 00:00:00 +00:00 |
│ 5 │ build_time │ 2020-12-18 09:54:09 │ | build_rust_channel | release |
│ 6 │ build_rust_channel │ release │ | features | clipboard-cli, ctrlc, dataframe, default, rustyline, term, trash, uuid, which, zip |
│ 7 │ features │ ctrlc, default, directories, dirs, git, ichwh, rich-benchmark, │ | installed_plugins | binaryview, chart bar, chart line, fetch, from bson, from sqlite, inc, match, post, ps, query json, s3, selector, start, sys, textview, to bson, to sqlite, tree, xpath |
│ │ │ rustyline, term, uuid, which, zip │
╰───┴────────────────────┴───────────────────────────────────────────────────────────────────────╯
validations: validations:
required: false required: false
- type: textarea - type: textarea