diff --git a/changelog/20064.txt b/changelog/20064.txt new file mode 100644 index 0000000000..c539119f71 --- /dev/null +++ b/changelog/20064.txt @@ -0,0 +1,3 @@ +```release-note:bug +ui: fixes browser console formatting for help command output +``` \ No newline at end of file diff --git a/ui/.template-lintrc.js b/ui/.template-lintrc.js index 3540521890..7bb9d6e36e 100644 --- a/ui/.template-lintrc.js +++ b/ui/.template-lintrc.js @@ -47,7 +47,7 @@ module.exports = { }, 'require-input-label': 'off', }, - ignore: ['lib/story-md', 'tests/**'], + ignore: ['lib/story-md', 'tests/**', 'app/templates/components/console/*'], // ember language server vscode extension does not currently respect the ignore field // override all rules manually as workaround to align with cli overrides: [ diff --git a/ui/app/templates/components/console/log-command.hbs b/ui/app/templates/components/console/log-command.hbs index 4a75ec88c3..e282e32cbc 100644 --- a/ui/app/templates/components/console/log-command.hbs +++ b/ui/app/templates/components/console/log-command.hbs @@ -1,2 +1,2 @@ {{! using Icon here instead of Chevron because two nested tagless components results in a rendered line break between the tags breaking the layout in the
}} -\ No newline at end of file +{{@content}} \ No newline at end of file diff --git a/ui/app/templates/components/console/log-help.hbs b/ui/app/templates/components/console/log-help.hbs index ea9ead3d70..63f1aa3f7d 100644 --- a/ui/app/templates/components/console/log-help.hbs +++ b/ui/app/templates/components/console/log-help.hbs @@ -1,8 +1,19 @@ +{{!-- template-lint-disable --}}
{{@content}} -\ No newline at end of file diff --git a/ui/app/templates/components/console/log-list.hbs b/ui/app/templates/components/console/log-list.hbs index b9ebd68a6e..600d413b8b 100644 --- a/ui/app/templates/components/console/log-list.hbs +++ b/ui/app/templates/components/console/log-list.hbs @@ -1,8 +1,10 @@ \ No newline at end of file diff --git a/ui/tests/integration/components/console/log-command-test.js b/ui/tests/integration/components/console/log-command-test.js index f13f8b6767..9797f2d85e 100644 --- a/ui/tests/integration/components/console/log-command-test.js +++ b/ui/tests/integration/components/console/log-command-test.js @@ -16,7 +16,6 @@ module('Integration | Component | console/log command', function (hooks) { this.set('content', commandText); await render(hbs`{{console/log-command content=this.content}}`); - - assert.dom('pre').includesText(commandText); + assert.dom('p').includesText(commandText); }); });- Usage: vault <command> [args] Commands: read Read data and retrieves secrets write Write data, configuration, - and secrets delete Delete secrets and configuration list List data or secrets Web CLI Commands: api Navigate to the Vault - API explorer. Use 'api [filter]' to prefilter the list. clear Clear output from the log clearall Clear output and command - history fullscreen Toggle fullscreen display refresh Refresh the data on the current screen under the CLI window -++ Usage: vault <command> [args] + +Commands: + read Read data and retrieves secrets + write Write data, configuration, and secrets + delete Delete secrets and configuration + list List data or secrets + +Web CLI Commands: + api Navigate to the Vault API explorer. Use 'api [filter]' to prefilter the list. + clear Clear output from the log + clearall Clear output and command history + fullscreen Toggle fullscreen display + refresh Refresh the data on the current screen under the CLI window +