From 77f8235ebf4112439411cd7aaf9e8f52a2691658 Mon Sep 17 00:00:00 2001 From: Kristin Bradley Date: Fri, 8 Dec 2023 09:03:47 -0800 Subject: [PATCH] Replace `Rose::CodeEditor` with `Hds::CodeBlock` within Desktop client (HDS-2827) (#2020) * HDS-2827 Replace Rose::CodeEditor with Hds::CodeBlock on Create New Worker page * HDS-2827 Replace Rose::CodeEditor with Hds::CodeBlock in credentials panel * HDS-2827 Remove un-needed getters, fix formatting errors * HDS-2827 Revert instances of Hds::CodeBlock added to create workers page * HDS-2827 Fix failing test * Apply suggestions from code review * HDS-2827 Delete old unused css * HDS-2827 Delete old css --------- Co-authored-by: Dharini Jeeva --- .../components/credentials-panel/index.hbs | 50 +++++++------------ ui/desktop/app/styles/app.scss | 16 ------ .../components/credentials-panel-test.js | 2 +- 3 files changed, 19 insertions(+), 49 deletions(-) diff --git a/ui/desktop/app/components/credentials-panel/index.hbs b/ui/desktop/app/components/credentials-panel/index.hbs index 43ed5e6fd..0734968df 100644 --- a/ui/desktop/app/components/credentials-panel/index.hbs +++ b/ui/desktop/app/components/credentials-panel/index.hbs @@ -24,39 +24,25 @@ {{#each @credentials as |credential|}} {{#if this.isRawApiVisible}}
-
-
-
- {{#if credential.source.name}} - {{credential.source.name}} - {{else}} - {{credential.source.id}} - {{/if}} -
- -
-
+ + + {{#if credential.source.name}} + {{credential.source.name}} + {{else}} + {{credential.source.id}} + {{/if}} + + {{credential.source.description}} -
-
- - - - + +
{{else}}
diff --git a/ui/desktop/app/styles/app.scss b/ui/desktop/app/styles/app.scss index f39c28069..ae411bc9e 100644 --- a/ui/desktop/app/styles/app.scss +++ b/ui/desktop/app/styles/app.scss @@ -646,22 +646,6 @@ $chevron-down: url("data:image/svg+xml;utf-8,