From a86644968b6e34c24b203416bfe11ac8cdb679e2 Mon Sep 17 00:00:00 2001 From: Angel Garbarino Date: Tue, 7 Jun 2022 12:15:25 -0700 Subject: [PATCH] Change tooltip for token_bound_certs and glimmerize string-list component (#15852) * wip * wip * glimmerization done? * fix tests * tooltip and test * changelog * clean up * cleanup * cleanup --- changelog/15852.txt | 3 + ui/lib/core/addon/components/form-field.hbs | 3 +- ui/lib/core/addon/components/string-list.hbs | 56 ++++++ ui/lib/core/addon/components/string-list.js | 189 +++++++----------- .../templates/components/string-list.hbs | 42 ---- ui/lib/core/package.json | 1 + .../components/string-list-test.js | 46 +++-- 7 files changed, 169 insertions(+), 171 deletions(-) create mode 100644 changelog/15852.txt create mode 100644 ui/lib/core/addon/components/string-list.hbs delete mode 100644 ui/lib/core/addon/templates/components/string-list.hbs diff --git a/changelog/15852.txt b/changelog/15852.txt new file mode 100644 index 000000000..8ed97dcc3 --- /dev/null +++ b/changelog/15852.txt @@ -0,0 +1,3 @@ +```release-note:improvement +ui: Changed the tokenBoundCidrs tooltip content to clarify that comma separated values are not accepted in this field. +``` \ No newline at end of file diff --git a/ui/lib/core/addon/components/form-field.hbs b/ui/lib/core/addon/components/form-field.hbs index 161354cc6..a877a6269 100644 --- a/ui/lib/core/addon/components/form-field.hbs +++ b/ui/lib/core/addon/components/form-field.hbs @@ -196,12 +196,13 @@ {{else if (eq @attr.options.editType "stringArray")}} {{else if (eq @attr.options.sensitive true)}} {{! Masked Input }} diff --git a/ui/lib/core/addon/components/string-list.hbs b/ui/lib/core/addon/components/string-list.hbs new file mode 100644 index 000000000..5ad86eb5c --- /dev/null +++ b/ui/lib/core/addon/components/string-list.hbs @@ -0,0 +1,56 @@ +
+ {{#if @label}} + + {{/if}} + {{#if @warning}} + + {{/if}} + {{#each this.inputList as |data index|}} +
+
+