From 5c72168310a6d86b75267a29f32f94cb5e4f6548 Mon Sep 17 00:00:00 2001 From: Amy Lam Date: Thu, 16 Sep 2021 13:42:04 -0700 Subject: [PATCH 1/2] Bump package --- addons/rose/package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/addons/rose/package.json b/addons/rose/package.json index 0e71bbe11..115d700b4 100644 --- a/addons/rose/package.json +++ b/addons/rose/package.json @@ -43,7 +43,7 @@ "@ember/test-helpers": "^2.2.8", "@glimmer/component": "^1.0.3", "@glimmer/tracking": "^1.0.3", - "@hashicorp/flight-icons": "0.0.6-beta", + "@hashicorp/flight-icons": "0.0.9-beta", "@storybook/addon-actions": "^6.3.1", "@storybook/addon-docs": "^6.3.1", "@storybook/addon-knobs": "^6.3.0", diff --git a/yarn.lock b/yarn.lock index a69d69228..d145035cf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2066,10 +2066,10 @@ resolved "https://registry.yarnpkg.com/@handlebars/parser/-/parser-1.1.0.tgz#d6dbc7574774b238114582410e8fee0dc3532bdf" integrity sha512-rR7tJoSwJ2eooOpYGxGGW95sLq6GXUaS1UtWvN7pei6n2/okYvCGld9vsUTvkl2migxbkszsycwtMf/GEc1k1A== -"@hashicorp/flight-icons@0.0.6-beta": - version "0.0.6-beta" - resolved "https://registry.yarnpkg.com/@hashicorp/flight-icons/-/flight-icons-0.0.6-beta.tgz#49da48d4966c13ef0636a9853dc208fccc8d5c88" - integrity sha512-GJHFPig7n26mMyMDPuUiD2Szp8wEskkcLKxWGAx0wyCGASYotLgAYHAGfa4uLlUOsIkibxKjc/7Y/0ttQeN9hQ== +"@hashicorp/flight-icons@0.0.9-beta": + version "0.0.9-beta" + resolved "https://registry.yarnpkg.com/@hashicorp/flight-icons/-/flight-icons-0.0.9-beta.tgz#d31f1afb8fcae55ca4a874dde351e552af8416b5" + integrity sha512-0UlHlg6tC41OQczgnAAq532bxL3me+Gd0av6eNxXTaqcF50t1JcmjPj4CWCgtXtRan2ae3BGSTqvqcjMILWjWQ== "@humanwhocodes/config-array@^0.5.0": version "0.5.0" From aa5b81379154db8ddc215c7c4593676227d4a47b Mon Sep 17 00:00:00 2001 From: Amy Lam Date: Thu, 16 Sep 2021 14:03:26 -0700 Subject: [PATCH 2/2] Ran a find and replace New namespacing. `flight-icons/` replace with `flight-icons/svg/` --- .../core/addon/components/doc-link/index.hbs | 2 +- .../addon/components/error/message/index.js | 4 +- .../components/rose/badge/index.stories.mdx | 8 ++-- .../components/rose/button/index.stories.mdx | 20 ++++----- .../rose/card/link/index.stories.mdx | 6 +-- .../components/rose/cards/index.stories.mdx | 14 +++---- .../addon/components/rose/dialog/index.hbs | 4 +- .../components/rose/dialog/index.stories.mdx | 8 ++-- .../rose/dropdown/index.stories.mdx | 6 +-- .../rose/form/errors/message/index.hbs | 2 +- .../rose/form/radio/group/index.stories.mdx | 6 +-- .../rose/form/radio/radio/index.stories.mdx | 8 ++-- .../components/rose/header/index.stories.mdx | 10 ++--- .../components/rose/icon/index.stories.mdx | 6 +-- .../rose/link-button/index.stories.mdx | 22 +++++----- .../rose/list/key-value/index.stories.mdx | 4 +- .../components/rose/message/index.stories.mdx | 12 +++--- .../components/rose/notification/index.hbs | 2 +- .../components/rose/notification/index.js | 8 ++-- .../components/rose/table/index.stories.mdx | 2 +- .../tests/dummy/app/templates/playground.hbs | 4 +- .../integration/components/rose/badge-test.js | 2 +- .../components/rose/button-test.js | 6 +-- .../components/rose/card/link-test.js | 2 +- .../components/rose/dropdown-test.js | 4 +- .../components/rose/dropdown/button-test.js | 2 +- .../components/rose/form/radio/radio-test.js | 2 +- .../integration/components/rose/icon-test.js | 4 +- .../components/rose/link-button-test.js | 6 +-- ui/admin/app/components/copyable/index.js | 4 +- .../form/auth-method/oidc/index.hbs | 10 ++--- .../form/group/add-members/index.hbs | 2 +- .../form/host-set/add-hosts/index.hbs | 2 +- .../form/role/add-principals/index.hbs | 2 +- .../app/components/form/role/grants/index.hbs | 2 +- ui/admin/app/components/form/role/index.hbs | 6 +-- .../target/add-credential-libraries/index.hbs | 2 +- .../form/target/add-host-sets/index.hbs | 2 +- .../form/user/add-accounts/index.hbs | 2 +- ui/admin/app/templates/application.hbs | 6 +-- ui/admin/app/templates/scopes/index.hbs | 2 +- ui/admin/app/templates/scopes/scope.hbs | 42 ++++++++++++------- .../templates/scopes/scope/-header-nav.hbs | 6 +-- .../app/templates/scopes/scope/-sidebar.hbs | 8 ++-- .../auth-methods/auth-method/-actions.hbs | 6 ++- .../auth-method/accounts/index.hbs | 2 +- .../scopes/scope/auth-methods/index.hbs | 2 +- .../templates/scopes/scope/authenticate.hbs | 4 +- .../scopes/scope/authenticate/index.hbs | 2 +- .../credential-libraries/index.hbs | 2 +- .../scopes/scope/credential-stores/index.hbs | 2 +- .../scopes/scope/groups/group/members.hbs | 4 +- .../templates/scopes/scope/groups/index.hbs | 2 +- .../host-catalog/host-sets/host-set/hosts.hbs | 4 +- .../host-catalog/host-sets/index.hbs | 2 +- .../host-catalog/hosts/index.hbs | 2 +- .../scopes/scope/host-catalogs/index.hbs | 2 +- .../templates/scopes/scope/roles/index.hbs | 2 +- .../scopes/scope/roles/role/principals.hbs | 4 +- .../templates/scopes/scope/scopes/index.hbs | 8 ++-- .../templates/scopes/scope/sessions/index.hbs | 2 +- .../templates/scopes/scope/targets/index.hbs | 2 +- .../target/add-credential-libraries.hbs | 2 +- .../scope/targets/target/add-host-sets.hbs | 2 +- .../targets/target/credential-libraries.hbs | 4 +- .../scopes/scope/targets/target/host-sets.hbs | 4 +- .../templates/scopes/scope/users/index.hbs | 2 +- .../scopes/scope/users/user/accounts.hbs | 4 +- .../scopes/scope/users/user/add-accounts.hbs | 2 +- ui/desktop/app/components/copyable/index.js | 4 +- .../app/components/hidden-secret/index.hbs | 4 +- ui/desktop/app/templates/application.hbs | 12 +++--- .../templates/scopes/scope/-header-nav.hbs | 4 +- .../templates/scopes/scope/authenticate.hbs | 4 +- .../scopes/scope/authenticate/index.hbs | 2 +- .../app/templates/scopes/scope/projects.hbs | 4 +- .../scopes/scope/projects/sessions/index.hbs | 2 +- .../scopes/scope/projects/targets.hbs | 2 +- .../projects/targets/target/sessions.hbs | 2 +- ui/desktop/electron-app/src/index.js | 8 +++- .../tests/integration/components/card-test.js | 2 +- 81 files changed, 215 insertions(+), 193 deletions(-) diff --git a/addons/core/addon/components/doc-link/index.hbs b/addons/core/addon/components/doc-link/index.hbs index 664e9d215..86f028f73 100644 --- a/addons/core/addon/components/doc-link/index.hbs +++ b/addons/core/addon/components/doc-link/index.hbs @@ -4,5 +4,5 @@ target="_blank" rel="noreferrer noopener" title={{t "actions.get-topic-help"}}> - + diff --git a/addons/core/addon/components/error/message/index.js b/addons/core/addon/components/error/message/index.js index 9d9e435db..33ca8c293 100644 --- a/addons/core/addon/components/error/message/index.js +++ b/addons/core/addon/components/error/message/index.js @@ -28,11 +28,11 @@ export default class ErrorMessageComponent extends MessageComponent { get icon() { switch (this.args.status) { case '404': - return 'flight-icons/help-16'; + return 'flight-icons/svg/help-16'; case '401': case '403': default: - return 'flight-icons/alert-circle-16'; + return 'flight-icons/svg/alert-circle-16'; } } diff --git a/addons/rose/addon/components/rose/badge/index.stories.mdx b/addons/rose/addon/components/rose/badge/index.stories.mdx index d109810c6..57ba187fd 100644 --- a/addons/rose/addon/components/rose/badge/index.stories.mdx +++ b/addons/rose/addon/components/rose/badge/index.stories.mdx @@ -13,7 +13,7 @@ When style definition isn't supplied, a default style will be supplied. Styles: outline, dark, informational, informational-outline, success, success-outline, error, error-outline, warning, warning-outline, alert, alert-outline ```html -Badge +Badge ``` @@ -43,9 +43,9 @@ Styles: outline, dark, informational, informational-outline, success, success-ou 'none' ), icon: select('icon', { - 'flight-icons/org-16': 'flight-icons/org-16', + 'flight-icons/svg/org-16': 'flight-icons/svg/org-16', }, - 'flight-icons/org-16' + 'flight-icons/svg/org-16' ), } }} @@ -56,7 +56,7 @@ Styles: outline, dark, informational, informational-outline, success, success-ou template: hbs` default style outline - default style with icon + default style with icon dark informational informational-outline diff --git a/addons/rose/addon/components/rose/button/index.stories.mdx b/addons/rose/addon/components/rose/button/index.stories.mdx index 18235d3ce..5c3bd03bf 100644 --- a/addons/rose/addon/components/rose/button/index.stories.mdx +++ b/addons/rose/addon/components/rose/button/index.stories.mdx @@ -12,7 +12,7 @@ to trigger actions or to submit forms. Avoid using buttons as simple links to other routes. For accessibility, use links instead. ```htmlbars - + Action ``` @@ -49,18 +49,18 @@ other routes. For accessibility, use links instead. iconLeft: select( 'iconLeft', { - 'flight-icons/check-circle-16': 'flight-icons/check-circle-16', - 'flight-icons/clipboard-copy-16': 'flight-icons/clipboard-copy-16', + 'flight-icons/svg/check-circle-16': 'flight-icons/svg/check-circle-16', + 'flight-icons/svg/clipboard-copy-16': 'flight-icons/svg/clipboard-copy-16', }, - 'flight-icons/check-circle-16' + 'flight-icons/svg/check-circle-16' ), iconRight: select( 'iconRight', { - 'flight-icons/check-circle-16': 'flight-icons/check-circle-16', - 'flight-icons/clipboard-copy-16': 'flight-icons/clipboard-copy-16', + 'flight-icons/svg/check-circle-16': 'flight-icons/svg/check-circle-16', + 'flight-icons/svg/clipboard-copy-16': 'flight-icons/svg/clipboard-copy-16', }, - 'flight-icons/clipboard-copy-16' + 'flight-icons/svg/clipboard-copy-16' ), onClick: action('clicked'), }, @@ -81,10 +81,10 @@ button in this case for accessibility. iconOnly: select( 'iconOnly', { - 'flight-icons/check-circle-16': 'flight-icons/check-circle-16', - 'flight-icons/clipboard-copy-16': 'flight-icons/clipboard-copy-16', + 'flight-icons/svg/check-circle-16': 'flight-icons/svg/check-circle-16', + 'flight-icons/svg/clipboard-copy-16': 'flight-icons/svg/clipboard-copy-16', }, - 'flight-icons/check-circle-16' + 'flight-icons/svg/check-circle-16' ), }, }} diff --git a/addons/rose/addon/components/rose/card/link/index.stories.mdx b/addons/rose/addon/components/rose/card/link/index.stories.mdx index eaaa20293..eae8c1ce9 100644 --- a/addons/rose/addon/components/rose/card/link/index.stories.mdx +++ b/addons/rose/addon/components/rose/card/link/index.stories.mdx @@ -13,7 +13,7 @@ Card link component wraps content with `LinkTo` component. Supports title and de @title='Card title' @description='Card description' @id='resource_id_1234' - @icon='flight-icons/org-16' + @icon='flight-icons/svg/org-16' @route='about'/> ``` @@ -32,9 +32,9 @@ Card link component wraps content with `LinkTo` component. Supports title and de description: text('description', 'Card description'), id: text('id', 'resource_id_1234'), icon: select('icon', { - 'flight-icons/org-16': 'flight-icons/org-16', + 'flight-icons/svg/org-16': 'flight-icons/svg/org-16', }, - 'flight-icons/org-16' + 'flight-icons/svg/org-16' ), }, }} diff --git a/addons/rose/addon/components/rose/cards/index.stories.mdx b/addons/rose/addon/components/rose/cards/index.stories.mdx index bb2471b84..a5d128d16 100644 --- a/addons/rose/addon/components/rose/cards/index.stories.mdx +++ b/addons/rose/addon/components/rose/cards/index.stories.mdx @@ -18,35 +18,35 @@ A set of cards arranged side-by-side. @title="Card Title" @description="Description" @id="resource_id_1234" - @icon="flight-icons/org-16" + @icon="flight-icons/svg/org-16" /> `, @@ -62,14 +62,14 @@ A set of cards arranged side-by-side. @title="Card Title" @description="Description" @id="resource_id_1234" - @icon="flight-icons/org-16" + @icon="flight-icons/svg/org-16" /> ``` diff --git a/addons/rose/addon/components/rose/dialog/index.hbs b/addons/rose/addon/components/rose/dialog/index.hbs index 4f762c6bc..927faa072 100644 --- a/addons/rose/addon/components/rose/dialog/index.hbs +++ b/addons/rose/addon/components/rose/dialog/index.hbs @@ -27,7 +27,7 @@ title={{@dismissButtonText}} {{on "click" (fn this.dismiss @dismiss)}} > - + @@ -62,7 +62,7 @@ title={{@dismissButtonText}} {{on "click" (fn this.dismiss @dismiss)}} > - + diff --git a/addons/rose/addon/components/rose/dialog/index.stories.mdx b/addons/rose/addon/components/rose/dialog/index.stories.mdx index d5d05be52..5299d74f4 100644 --- a/addons/rose/addon/components/rose/dialog/index.stories.mdx +++ b/addons/rose/addon/components/rose/dialog/index.stories.mdx @@ -36,10 +36,10 @@ A dialog component with optional modal capabilities. icon: select( 'icon', { - 'flight-icons/check-circle-16': 'flight-icons/check-circle-16', - 'flight-icons/clipboard-copy-16': 'flight-icons/clipboard-copy-16', + 'flight-icons/svg/check-circle-16': 'flight-icons/svg/check-circle-16', + 'flight-icons/svg/clipboard-copy-16': 'flight-icons/svg/clipboard-copy-16', }, - 'flight-icons/check-circle-16' + 'flight-icons/svg/check-circle-16' ), style: select( 'style', @@ -58,7 +58,7 @@ A dialog component with optional modal capabilities. diff --git a/addons/rose/addon/components/rose/dropdown/index.stories.mdx b/addons/rose/addon/components/rose/dropdown/index.stories.mdx index fae413044..1f3545707 100644 --- a/addons/rose/addon/components/rose/dropdown/index.stories.mdx +++ b/addons/rose/addon/components/rose/dropdown/index.stories.mdx @@ -11,7 +11,7 @@ A simple dropdown component with support for links and buttons. {{ template: hbs` - + Menu item Menu item @@ -31,7 +31,7 @@ A simple dropdown component with support for links and buttons. {{ template: hbs` - + Menu item Menu item @@ -117,7 +117,7 @@ Dropdown supports `danger` styling through `style` attribute. Dropdown indicator can be hidden using `showCaret` attribute. ```html - + Menu item Button menu item diff --git a/addons/rose/addon/components/rose/form/errors/message/index.hbs b/addons/rose/addon/components/rose/form/errors/message/index.hbs index eb2246b04..52716377c 100644 --- a/addons/rose/addon/components/rose/form/errors/message/index.hbs +++ b/addons/rose/addon/components/rose/form/errors/message/index.hbs @@ -1,4 +1,4 @@

- + {{yield}}

diff --git a/addons/rose/addon/components/rose/form/radio/group/index.stories.mdx b/addons/rose/addon/components/rose/form/radio/group/index.stories.mdx index 026b9526c..e8b8a087a 100644 --- a/addons/rose/addon/components/rose/form/radio/group/index.stories.mdx +++ b/addons/rose/addon/components/rose/form/radio/group/index.stories.mdx @@ -68,10 +68,10 @@ Renders a form radiofield group. firstFieldIcon: select( 'first icon', { - 'flight-icons/org-16': 'flight-icons/org-16', - 'flight-icons/clipboard-copy-16': 'flight-icons/clipboard-copy-16', + 'flight-icons/svg/org-16': 'flight-icons/svg/org-16', + 'flight-icons/svg/clipboard-copy-16': 'flight-icons/svg/clipboard-copy-16', }, - 'flight-icons/org-16' + 'flight-icons/svg/org-16' ), secondFieldLabel: text('second label', 'Maybe'), secondFieldValue: text('second value', 'maybe'), diff --git a/addons/rose/addon/components/rose/form/radio/radio/index.stories.mdx b/addons/rose/addon/components/rose/form/radio/radio/index.stories.mdx index a5540499b..63e873862 100644 --- a/addons/rose/addon/components/rose/form/radio/radio/index.stories.mdx +++ b/addons/rose/addon/components/rose/form/radio/radio/index.stories.mdx @@ -44,8 +44,8 @@ Renders a form radiofield. 'icon', { 'none': null, - 'flight-icons/org-16': 'flight-icons/org-16', - 'flight-icons/clipboard-copy-16': 'flight-icons/clipboard-copy-16', + 'flight-icons/svg/org-16': 'flight-icons/svg/org-16', + 'flight-icons/svg/clipboard-copy-16': 'flight-icons/svg/clipboard-copy-16', }, null ), @@ -109,8 +109,8 @@ Renders a form radiofield. 'icon', { 'none': null, - 'flight-icons/org-16': 'flight-icons/org-16', - 'flight-icons/clipboard-copy-16': 'flight-icons/clipboard-copy-16', + 'flight-icons/svg/org-16': 'flight-icons/svg/org-16', + 'flight-icons/svg/clipboard-copy-16': 'flight-icons/svg/clipboard-copy-16', }, null ), diff --git a/addons/rose/addon/components/rose/header/index.stories.mdx b/addons/rose/addon/components/rose/header/index.stories.mdx index e1990b552..564431237 100644 --- a/addons/rose/addon/components/rose/header/index.stories.mdx +++ b/addons/rose/addon/components/rose/header/index.stories.mdx @@ -27,7 +27,7 @@ A header component that allows three distinct sections to be configured: brand, Menu item Menu item @@ -69,11 +69,11 @@ A header component that allows three distinct sections to be configured: brand, dropdownIcon: select( 'dropdownIcon', { - 'flight-icons/user-circle-16': 'flight-icons/user-circle-16', - 'flight-icons/check-circle-16': 'flight-icons/check-circle-16', - 'flight-icons/clipboard-copy-16': 'flight-icons/clipboard-copy-16', + 'flight-icons/svg/user-circle-16': 'flight-icons/svg/user-circle-16', + 'flight-icons/svg/check-circle-16': 'flight-icons/svg/check-circle-16', + 'flight-icons/svg/clipboard-copy-16': 'flight-icons/svg/clipboard-copy-16', }, - 'flight-icons/user-circle-16' + 'flight-icons/svg/user-circle-16' ), }, }}
diff --git a/addons/rose/addon/components/rose/icon/index.stories.mdx b/addons/rose/addon/components/rose/icon/index.stories.mdx index 946b7d1cf..1e7ace8f7 100644 --- a/addons/rose/addon/components/rose/icon/index.stories.mdx +++ b/addons/rose/addon/components/rose/icon/index.stories.mdx @@ -22,10 +22,10 @@ Renders a simple icon. name: select( 'name', { - 'flight-icons/check-circle-16': 'flight-icons/check-circle-16', - 'flight-icons/clipboard-copy-16': 'flight-icons/clipboard-copy-16', + 'flight-icons/svg/check-circle-16': 'flight-icons/svg/check-circle-16', + 'flight-icons/svg/clipboard-copy-16': 'flight-icons/svg/clipboard-copy-16', }, - 'flight-icons/check-circle-16' + 'flight-icons/svg/check-circle-16' ), } }}
diff --git a/addons/rose/addon/components/rose/link-button/index.stories.mdx b/addons/rose/addon/components/rose/link-button/index.stories.mdx index 9b952f6b9..c3b6dff31 100644 --- a/addons/rose/addon/components/rose/link-button/index.stories.mdx +++ b/addons/rose/addon/components/rose/link-button/index.stories.mdx @@ -12,7 +12,7 @@ Styles supported: primary, secondary, warning, and ghost. Disabling link button is not supported as it is an action on form components only. ```html - + Content ``` @@ -45,18 +45,18 @@ Disabling link button is not supported as it is an action on form components onl iconLeft: select( 'iconLeft', { - 'flight-icons/check-circle-16': 'flight-icons/check-circle-16', - 'flight-icons/clipboard-copy-16': 'flight-icons/clipboard-copy-16', + 'flight-icons/svg/check-circle-16': 'flight-icons/svg/check-circle-16', + 'flight-icons/svg/clipboard-copy-16': 'flight-icons/svg/clipboard-copy-16', }, - 'flight-icons/clipboard-copy-16' + 'flight-icons/svg/clipboard-copy-16' ), iconRight: select( 'iconRight', { - 'flight-icons/check-circle-16': 'flight-icons/check-circle-16', - 'flight-icons/clipboard-copy-16': 'flight-icons/clipboard-copy-16', + 'flight-icons/svg/check-circle-16': 'flight-icons/svg/check-circle-16', + 'flight-icons/svg/clipboard-copy-16': 'flight-icons/svg/clipboard-copy-16', }, - 'flight-icons/clipboard-copy-16' + 'flight-icons/svg/clipboard-copy-16' ), }, }} @@ -65,7 +65,7 @@ Disabling link button is not supported as it is an action on form components onl Similar to `Rose::Button`, icon only link button is supported. ```html - + ``` @@ -88,10 +88,10 @@ Similar to `Rose::Button`, icon only link button is supported. iconOnly: select( 'iconOnly', { - 'flight-icons/check-circle-16': 'flight-icons/check-circle-16', - 'flight-icons/help-16': 'flight-icons/help-16', + 'flight-icons/svg/check-circle-16': 'flight-icons/svg/check-circle-16', + 'flight-icons/svg/help-16': 'flight-icons/svg/help-16', }, - 'flight-icons/help-16' + 'flight-icons/svg/help-16' ), }, }} diff --git a/addons/rose/addon/components/rose/list/key-value/index.stories.mdx b/addons/rose/addon/components/rose/list/key-value/index.stories.mdx index 74d65375f..30c229ca4 100644 --- a/addons/rose/addon/components/rose/list/key-value/index.stories.mdx +++ b/addons/rose/addon/components/rose/list/key-value/index.stories.mdx @@ -46,7 +46,7 @@ A simple key/value list with support for embedded form fields and buttons. - Remove + Remove @@ -94,7 +94,7 @@ A simple key/value list with support for embedded form fields and buttons. - Remove + Remove diff --git a/addons/rose/addon/components/rose/message/index.stories.mdx b/addons/rose/addon/components/rose/message/index.stories.mdx index aeb5e042b..ef01ee110 100644 --- a/addons/rose/addon/components/rose/message/index.stories.mdx +++ b/addons/rose/addon/components/rose/message/index.stories.mdx @@ -18,7 +18,7 @@ Title can be configured with optional icon and subtitle. {{description}} - + Go back @@ -33,23 +33,23 @@ Title can be configured with optional icon and subtitle. icon: select( 'icon', { - 'flight-icons/alert-circle-16': 'flight-icons/alert-circle-16', - 'flight-icons/help-16': 'flight-icons/help-16', + 'flight-icons/svg/alert-circle-16': 'flight-icons/svg/alert-circle-16', + 'flight-icons/svg/help-16': 'flight-icons/svg/help-16', }, - 'flight-icons/help-16' + 'flight-icons/svg/help-16' ), }, }} ```html - + You must be granted permissions to view this data. Ask your administrator if you think you should have access. - + Go back Need help? diff --git a/addons/rose/addon/components/rose/notification/index.hbs b/addons/rose/addon/components/rose/notification/index.hbs index fc0acf33f..b0b004ede 100644 --- a/addons/rose/addon/components/rose/notification/index.hbs +++ b/addons/rose/addon/components/rose/notification/index.hbs @@ -26,7 +26,7 @@ {{on "click" @dismiss}} > {{@dismissText}} diff --git a/addons/rose/addon/components/rose/notification/index.js b/addons/rose/addon/components/rose/notification/index.js index b036bec5d..a0f810085 100644 --- a/addons/rose/addon/components/rose/notification/index.js +++ b/addons/rose/addon/components/rose/notification/index.js @@ -8,17 +8,17 @@ export default class RoseNotificationComponent extends Component { */ @computed('style') get icon() { - let icon = 'flight-icons/info-16'; + let icon = 'flight-icons/svg/info-16'; switch (this.style) { case 'error': - icon = 'flight-icons/x-square-16'; + icon = 'flight-icons/svg/x-square-16'; break; case 'success': - icon = 'flight-icons/check-circle-16'; + icon = 'flight-icons/svg/check-circle-16'; break; case 'warning': - icon = 'flight-icons/alert-triangle-16'; + icon = 'flight-icons/svg/alert-triangle-16'; break; } diff --git a/addons/rose/addon/components/rose/table/index.stories.mdx b/addons/rose/addon/components/rose/table/index.stories.mdx index 2b56d4242..8fa51a5bc 100644 --- a/addons/rose/addon/components/rose/table/index.stories.mdx +++ b/addons/rose/addon/components/rose/table/index.stories.mdx @@ -122,7 +122,7 @@ Cell shrink should be applied to all the cells in a row. Otherwise the bigger ce - Remove + Remove diff --git a/addons/rose/tests/dummy/app/templates/playground.hbs b/addons/rose/tests/dummy/app/templates/playground.hbs index 33694bdca..2cd0ada2c 100644 --- a/addons/rose/tests/dummy/app/templates/playground.hbs +++ b/addons/rose/tests/dummy/app/templates/playground.hbs @@ -19,7 +19,7 @@ Menu item Menu item @@ -82,7 +82,7 @@ - Remove + Remove diff --git a/addons/rose/tests/integration/components/rose/badge-test.js b/addons/rose/tests/integration/components/rose/badge-test.js index f52964bba..56810d21b 100644 --- a/addons/rose/tests/integration/components/rose/badge-test.js +++ b/addons/rose/tests/integration/components/rose/badge-test.js @@ -17,7 +17,7 @@ module('Integration | Component | rose/badge', function (hooks) { }); test('it renders an icon using @icon', async function (assert) { - await render(hbs``); + await render(hbs``); assert.ok(find('.rose-icon')); }); diff --git a/addons/rose/tests/integration/components/rose/button-test.js b/addons/rose/tests/integration/components/rose/button-test.js index cebdc50c3..90cc10589 100644 --- a/addons/rose/tests/integration/components/rose/button-test.js +++ b/addons/rose/tests/integration/components/rose/button-test.js @@ -35,18 +35,18 @@ module('Integration | Component | rose/button', function (hooks) { test('it supports left and right icons', async function (assert) { await render( - hbs`` + hbs`` ); assert.ok(find('.has-icon-left .rose-icon')); await render( - hbs`` + hbs`` ); assert.ok(find('.has-icon-right .rose-icon')); }); test('it supports an icon-only type', async function (assert) { await render( - hbs`` + hbs`` ); assert.ok(find('.has-icon-only .rose-icon')); }); diff --git a/addons/rose/tests/integration/components/rose/card/link-test.js b/addons/rose/tests/integration/components/rose/card/link-test.js index fdbfb31ac..1362447d0 100644 --- a/addons/rose/tests/integration/components/rose/card/link-test.js +++ b/addons/rose/tests/integration/components/rose/card/link-test.js @@ -42,7 +42,7 @@ module('Integration | Component | rose/card/link', function (hooks) { test('it renders with @icon', async function (assert) { await render( - hbs`` + hbs`` ); assert.ok(find('.rose-icon')); }); diff --git a/addons/rose/tests/integration/components/rose/dropdown-test.js b/addons/rose/tests/integration/components/rose/dropdown-test.js index e94b1f09d..56ed84ea8 100644 --- a/addons/rose/tests/integration/components/rose/dropdown-test.js +++ b/addons/rose/tests/integration/components/rose/dropdown-test.js @@ -24,7 +24,9 @@ module('Integration | Component | rose/dropdown', function (hooks) { }); test('it supports an icon', async function (assert) { - await render(hbs``); + await render( + hbs`` + ); assert.ok(find('svg')); }); diff --git a/addons/rose/tests/integration/components/rose/dropdown/button-test.js b/addons/rose/tests/integration/components/rose/dropdown/button-test.js index 3b1bc1193..b0bd48eb5 100644 --- a/addons/rose/tests/integration/components/rose/dropdown/button-test.js +++ b/addons/rose/tests/integration/components/rose/dropdown/button-test.js @@ -33,7 +33,7 @@ module('Integration | Component | rose/dropdown/button', function (hooks) { test('it supports an icon-only type', async function (assert) { await render( - hbs`` + hbs`` ); assert.ok(find('.has-icon-only .rose-icon')); }); diff --git a/addons/rose/tests/integration/components/rose/form/radio/radio-test.js b/addons/rose/tests/integration/components/rose/form/radio/radio-test.js index c7117a1e7..56c8caebc 100644 --- a/addons/rose/tests/integration/components/rose/form/radio/radio-test.js +++ b/addons/rose/tests/integration/components/rose/form/radio/radio-test.js @@ -19,7 +19,7 @@ module('Integration | Component | rose/form/radio/radio', function (hooks) { test('it supports an icon', async function (assert) { await render( - hbs`` + hbs`` ); assert.ok(find('svg')); }); diff --git a/addons/rose/tests/integration/components/rose/icon-test.js b/addons/rose/tests/integration/components/rose/icon-test.js index c51b16587..dccbe0788 100644 --- a/addons/rose/tests/integration/components/rose/icon-test.js +++ b/addons/rose/tests/integration/components/rose/icon-test.js @@ -7,13 +7,13 @@ module('Integration | Component | rose/icon', function (hooks) { setupRenderingTest(hooks); test('it renders', async function (assert) { - await render(hbs``); + await render(hbs``); assert.ok(find('svg')); }); test('it supports optional @size', async function (assert) { await render( - hbs`` + hbs`` ); assert.ok(find('.small')); }); diff --git a/addons/rose/tests/integration/components/rose/link-button-test.js b/addons/rose/tests/integration/components/rose/link-button-test.js index b5d3dbb2f..2aa8c87b9 100644 --- a/addons/rose/tests/integration/components/rose/link-button-test.js +++ b/addons/rose/tests/integration/components/rose/link-button-test.js @@ -35,7 +35,7 @@ module('Integration | Component | rose/link-button', function (hooks) { test('it supports left icon with @iconLeft', async function (assert) { await render( - hbs`` + hbs`` ); assert.ok(find('.rose-icon')); assert.ok(find('.has-icon-left')); @@ -43,7 +43,7 @@ module('Integration | Component | rose/link-button', function (hooks) { test('it supports left icon with @iconRight', async function (assert) { await render( - hbs`` + hbs`` ); assert.ok(find('.rose-icon')); assert.ok(find('.has-icon-right')); @@ -51,7 +51,7 @@ module('Integration | Component | rose/link-button', function (hooks) { test('it supports only icon with @iconOnly', async function (assert) { await render( - hbs`` + hbs`` ); assert.ok(find('.rose-icon')); assert.ok(find('.has-icon-only')); diff --git a/ui/admin/app/components/copyable/index.js b/ui/admin/app/components/copyable/index.js index 0957798fe..8424c62ff 100644 --- a/ui/admin/app/components/copyable/index.js +++ b/ui/admin/app/components/copyable/index.js @@ -12,8 +12,8 @@ export default class CopyableComponent extends Component { id = generateComponentID(); copyableButtonId = `copyable-button-${this.id}`; - actionIcon = 'flight-icons/clipboard-copy-16'; - successIcon = 'flight-icons/clipboard-checked-16'; + actionIcon = 'flight-icons/svg/clipboard-copy-16'; + successIcon = 'flight-icons/svg/clipboard-checked-16'; actionText = this.args.buttonText; successText = this.args.acknowledgeText; diff --git a/ui/admin/app/components/form/auth-method/oidc/index.hbs b/ui/admin/app/components/form/auth-method/oidc/index.hbs index cb1707456..75f421880 100644 --- a/ui/admin/app/components/form/auth-method/oidc/index.hbs +++ b/ui/admin/app/components/form/auth-method/oidc/index.hbs @@ -177,7 +177,7 @@ - + {{t 'actions.back'}} diff --git a/ui/admin/app/components/form/host-set/add-hosts/index.hbs b/ui/admin/app/components/form/host-set/add-hosts/index.hbs index 72adf0902..9f5a0fcd1 100644 --- a/ui/admin/app/components/form/host-set/add-hosts/index.hbs +++ b/ui/admin/app/components/form/host-set/add-hosts/index.hbs @@ -55,7 +55,7 @@ - + {{t 'actions.back'}} diff --git a/ui/admin/app/components/form/role/add-principals/index.hbs b/ui/admin/app/components/form/role/add-principals/index.hbs index 1c60623be..267a44584 100644 --- a/ui/admin/app/components/form/role/add-principals/index.hbs +++ b/ui/admin/app/components/form/role/add-principals/index.hbs @@ -58,7 +58,7 @@ {{t 'resources.role.principal.messages.none.description'}} - + {{t 'actions.back'}} diff --git a/ui/admin/app/components/form/role/grants/index.hbs b/ui/admin/app/components/form/role/grants/index.hbs index f3a9e2f1e..79766a2e1 100644 --- a/ui/admin/app/components/form/role/grants/index.hbs +++ b/ui/admin/app/components/form/role/grants/index.hbs @@ -74,7 +74,7 @@ diff --git a/ui/admin/app/components/form/role/index.hbs b/ui/admin/app/components/form/role/index.hbs index 6bd2cc647..4c82c77f0 100644 --- a/ui/admin/app/components/form/role/index.hbs +++ b/ui/admin/app/components/form/role/index.hbs @@ -69,11 +69,11 @@ @text={{this.selectedGrantScope.displayName}} @icon={{if this.selectedGrantScope.isProject - 'flight-icons/grid-16' + 'flight-icons/svg/grid-16' (if this.selectedGrantScope.isOrg - 'flight-icons/org-16' - 'flight-icons/globe-16' + 'flight-icons/svg/org-16' + 'flight-icons/svg/globe-16' ) }} as |dropdown| diff --git a/ui/admin/app/components/form/target/add-credential-libraries/index.hbs b/ui/admin/app/components/form/target/add-credential-libraries/index.hbs index 628bed983..693179213 100644 --- a/ui/admin/app/components/form/target/add-credential-libraries/index.hbs +++ b/ui/admin/app/components/form/target/add-credential-libraries/index.hbs @@ -55,7 +55,7 @@ {{t 'resources.target.credential-library.messages.none.description'}} - + {{t 'actions.back'}} diff --git a/ui/admin/app/components/form/target/add-host-sets/index.hbs b/ui/admin/app/components/form/target/add-host-sets/index.hbs index ade5297a6..17fb97b88 100644 --- a/ui/admin/app/components/form/target/add-host-sets/index.hbs +++ b/ui/admin/app/components/form/target/add-host-sets/index.hbs @@ -59,7 +59,7 @@ {{t 'resources.target.host-set.messages.none.description'}} - + {{t 'actions.back'}} diff --git a/ui/admin/app/components/form/user/add-accounts/index.hbs b/ui/admin/app/components/form/user/add-accounts/index.hbs index 778fa7993..03f00ded9 100644 --- a/ui/admin/app/components/form/user/add-accounts/index.hbs +++ b/ui/admin/app/components/form/user/add-accounts/index.hbs @@ -59,7 +59,7 @@ {{t 'resources.user.messages.no-accounts.description'}} - + {{t 'actions.back'}} diff --git a/ui/admin/app/templates/application.hbs b/ui/admin/app/templates/application.hbs index daa6f8737..3514fd82a 100644 --- a/ui/admin/app/templates/application.hbs +++ b/ui/admin/app/templates/application.hbs @@ -16,7 +16,7 @@ @@ -100,7 +100,7 @@ diff --git a/ui/admin/app/templates/scopes/scope.hbs b/ui/admin/app/templates/scopes/scope.hbs index ea4ad5347..47e80253f 100644 --- a/ui/admin/app/templates/scopes/scope.hbs +++ b/ui/admin/app/templates/scopes/scope.hbs @@ -18,7 +18,7 @@ {{#if @model.isGlobal}} - + {{t 'resources.org.title_plural'}} @@ -28,12 +28,12 @@ {{#if this.session.data.authenticated.isGlobal}} - + {{t 'resources.org.title_plural'}} {{/if}} - + {{t 'resources.project.title_plural'}} @@ -43,12 +43,12 @@ {{#if this.session.data.authenticated.isGlobal}} - + {{t 'resources.org.title_plural'}} {{/if}} - + {{t 'resources.project.title_plural'}} @@ -58,13 +58,13 @@ {{t "resources.group.title_plural"}} {{t "resources.role.title_plural"}} @@ -73,19 +73,28 @@ {{#if (can 'navigate collection' @model collection='sessions')}} - + {{t 'resources.session.title_plural'}} {{/if}} {{#if (can 'navigate collection' @model collection='targets')}} - + {{t 'resources.target.title_plural'}} {{/if}} {{#if (can 'navigate collection' @model collection='host-catalogs')}} - + {{t 'resources.host-catalog.title_plural'}} {{/if}} @@ -94,7 +103,7 @@ }} {{#if (feature-flag 'credential-store')}} - + {{t 'resources.credential-store.title_plural'}} {{/if}} @@ -106,20 +115,23 @@ {{#if (can 'navigate collection' @model collection='users')}} - + {{t 'resources.user.title_plural'}} {{/if}} {{#if (can 'navigate collection' @model collection='groups')}} - + {{t 'resources.group.title_plural'}} {{/if}} {{#if (can 'navigate collection' @model collection='roles')}} {{t 'resources.role.title_plural'}} @@ -127,7 +139,7 @@ {{/if}} {{#if (can 'navigate collection' @model collection='auth-methods')}} - + {{t 'resources.auth-method.title_plural'}} {{/if}} diff --git a/ui/admin/app/templates/scopes/scope/-header-nav.hbs b/ui/admin/app/templates/scopes/scope/-header-nav.hbs index cd84e45cc..e8f094d34 100644 --- a/ui/admin/app/templates/scopes/scope/-header-nav.hbs +++ b/ui/admin/app/templates/scopes/scope/-header-nav.hbs @@ -2,8 +2,8 @@ @text={{this.scopes.selectedOrg.displayName}} @icon={{if this.scopes.selectedOrg.isGlobal - 'flight-icons/globe-16' - 'flight-icons/org-16' + 'flight-icons/svg/globe-16' + 'flight-icons/svg/org-16' }} as |dropdown| > @@ -23,7 +23,7 @@ {{#if this.scopes.selectedProject}} {{#each this.scopes.projects as |scope|}} diff --git a/ui/admin/app/templates/scopes/scope/-sidebar.hbs b/ui/admin/app/templates/scopes/scope/-sidebar.hbs index 08d4b6b46..105f6cac3 100644 --- a/ui/admin/app/templates/scopes/scope/-sidebar.hbs +++ b/ui/admin/app/templates/scopes/scope/-sidebar.hbs @@ -1,18 +1,18 @@ - + {{t 'resources.user.title_plural'}} - + {{t 'resources.group.title_plural'}} - + {{t 'resources.role.title_plural'}} - + {{t 'resources.auth-method.title_plural'}} \ No newline at end of file diff --git a/ui/admin/app/templates/scopes/scope/auth-methods/auth-method/-actions.hbs b/ui/admin/app/templates/scopes/scope/auth-methods/auth-method/-actions.hbs index 66d339d35..a33cfdb42 100644 --- a/ui/admin/app/templates/scopes/scope/auth-methods/auth-method/-actions.hbs +++ b/ui/admin/app/templates/scopes/scope/auth-methods/auth-method/-actions.hbs @@ -3,9 +3,11 @@ @text={{t (concat 'states.' @model.attributes.state)}} @icon={{if @model.isInactive - 'flight-icons/x-circle-16' + 'flight-icons/svg/x-circle-16' (if - @model.isPrivate 'flight-icons/lock-16' 'flight-icons/check-circle-16' + @model.isPrivate + 'flight-icons/svg/lock-16' + 'flight-icons/svg/check-circle-16' ) }} @dropdownRight={{true}} diff --git a/ui/admin/app/templates/scopes/scope/auth-methods/auth-method/accounts/index.hbs b/ui/admin/app/templates/scopes/scope/auth-methods/auth-method/accounts/index.hbs index d320365ae..3f9a64787 100644 --- a/ui/admin/app/templates/scopes/scope/auth-methods/auth-method/accounts/index.hbs +++ b/ui/admin/app/templates/scopes/scope/auth-methods/auth-method/accounts/index.hbs @@ -140,7 +140,7 @@ - + {{t 'resources.account.actions.create'}} {{/if}} diff --git a/ui/admin/app/templates/scopes/scope/auth-methods/index.hbs b/ui/admin/app/templates/scopes/scope/auth-methods/index.hbs index 500beb452..f4e285c77 100644 --- a/ui/admin/app/templates/scopes/scope/auth-methods/index.hbs +++ b/ui/admin/app/templates/scopes/scope/auth-methods/index.hbs @@ -129,7 +129,7 @@ @dropdownRight={{true}} @iconOnly={{true}} @showCaret={{false}} - @icon='flight-icons/more-horizontal-16' + @icon='flight-icons/svg/more-horizontal-16' as |dropdown| > {{#unless authMethod.isPrimary}} diff --git a/ui/admin/app/templates/scopes/scope/authenticate.hbs b/ui/admin/app/templates/scopes/scope/authenticate.hbs index bf7f33f0a..e7179d3e1 100644 --- a/ui/admin/app/templates/scopes/scope/authenticate.hbs +++ b/ui/admin/app/templates/scopes/scope/authenticate.hbs @@ -16,7 +16,7 @@ }}

@@ -79,7 +79,7 @@ diff --git a/ui/admin/app/templates/scopes/scope/authenticate/index.hbs b/ui/admin/app/templates/scopes/scope/authenticate/index.hbs index fa5633bb1..f59456fb3 100644 --- a/ui/admin/app/templates/scopes/scope/authenticate/index.hbs +++ b/ui/admin/app/templates/scopes/scope/authenticate/index.hbs @@ -2,7 +2,7 @@ diff --git a/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/credential-libraries/index.hbs b/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/credential-libraries/index.hbs index f4c87f82b..8f1b0ba98 100644 --- a/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/credential-libraries/index.hbs +++ b/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/credential-libraries/index.hbs @@ -92,7 +92,7 @@ - + {{t 'titles.new'}} {{/if}} diff --git a/ui/admin/app/templates/scopes/scope/credential-stores/index.hbs b/ui/admin/app/templates/scopes/scope/credential-stores/index.hbs index 8c7a002d0..299fa5844 100644 --- a/ui/admin/app/templates/scopes/scope/credential-stores/index.hbs +++ b/ui/admin/app/templates/scopes/scope/credential-stores/index.hbs @@ -107,7 +107,7 @@ (can 'create collection' this.scope collection='credential-stores') }} - + {{t 'titles.new'}} {{/if}} diff --git a/ui/admin/app/templates/scopes/scope/groups/group/members.hbs b/ui/admin/app/templates/scopes/scope/groups/group/members.hbs index 3979e762a..07dfe8014 100644 --- a/ui/admin/app/templates/scopes/scope/groups/group/members.hbs +++ b/ui/admin/app/templates/scopes/scope/groups/group/members.hbs @@ -27,7 +27,7 @@ - + {{t 'resources.group.actions.add-members'}} diff --git a/ui/admin/app/templates/scopes/scope/groups/index.hbs b/ui/admin/app/templates/scopes/scope/groups/index.hbs index 2026ac1c5..67bacc5f8 100644 --- a/ui/admin/app/templates/scopes/scope/groups/index.hbs +++ b/ui/admin/app/templates/scopes/scope/groups/index.hbs @@ -90,7 +90,7 @@ {{#if (can 'create collection' this.scope collection='groups')}} - + {{t 'titles.new'}} {{/if}} diff --git a/ui/admin/app/templates/scopes/scope/host-catalogs/host-catalog/host-sets/host-set/hosts.hbs b/ui/admin/app/templates/scopes/scope/host-catalogs/host-catalog/host-sets/host-set/hosts.hbs index 351fb19d7..f71fcd327 100644 --- a/ui/admin/app/templates/scopes/scope/host-catalogs/host-catalog/host-sets/host-set/hosts.hbs +++ b/ui/admin/app/templates/scopes/scope/host-catalogs/host-catalog/host-sets/host-set/hosts.hbs @@ -37,7 +37,7 @@ {{!-- - + {{t "resources.host-set.actions.create-and-add-host"}} --}} diff --git a/ui/admin/app/templates/scopes/scope/host-catalogs/host-catalog/host-sets/index.hbs b/ui/admin/app/templates/scopes/scope/host-catalogs/host-catalog/host-sets/index.hbs index c814c749e..3868852e4 100644 --- a/ui/admin/app/templates/scopes/scope/host-catalogs/host-catalog/host-sets/index.hbs +++ b/ui/admin/app/templates/scopes/scope/host-catalogs/host-catalog/host-sets/index.hbs @@ -77,7 +77,7 @@ - + {{t 'titles.new'}} {{/if}} diff --git a/ui/admin/app/templates/scopes/scope/host-catalogs/host-catalog/hosts/index.hbs b/ui/admin/app/templates/scopes/scope/host-catalogs/host-catalog/hosts/index.hbs index 117689f14..ccf7e1ec3 100644 --- a/ui/admin/app/templates/scopes/scope/host-catalogs/host-catalog/hosts/index.hbs +++ b/ui/admin/app/templates/scopes/scope/host-catalogs/host-catalog/hosts/index.hbs @@ -82,7 +82,7 @@ - + {{t 'titles.new'}} {{/if}} diff --git a/ui/admin/app/templates/scopes/scope/host-catalogs/index.hbs b/ui/admin/app/templates/scopes/scope/host-catalogs/index.hbs index 11e065743..94eb61309 100644 --- a/ui/admin/app/templates/scopes/scope/host-catalogs/index.hbs +++ b/ui/admin/app/templates/scopes/scope/host-catalogs/index.hbs @@ -109,7 +109,7 @@ (can 'create collection' this.scope collection='host-catalogs') }} - + {{t 'titles.new'}} {{/if}} diff --git a/ui/admin/app/templates/scopes/scope/roles/index.hbs b/ui/admin/app/templates/scopes/scope/roles/index.hbs index 241093ea4..64b1dd0a9 100644 --- a/ui/admin/app/templates/scopes/scope/roles/index.hbs +++ b/ui/admin/app/templates/scopes/scope/roles/index.hbs @@ -89,7 +89,7 @@
{{#if (can 'create collection' this.scope collection='roles')}} - + {{t 'titles.new'}} {{/if}} diff --git a/ui/admin/app/templates/scopes/scope/roles/role/principals.hbs b/ui/admin/app/templates/scopes/scope/roles/role/principals.hbs index 5086502f0..fec27196f 100644 --- a/ui/admin/app/templates/scopes/scope/roles/role/principals.hbs +++ b/ui/admin/app/templates/scopes/scope/roles/role/principals.hbs @@ -31,7 +31,7 @@ - + {{t 'resources.role.principal.actions.add-principals'}}
diff --git a/ui/admin/app/templates/scopes/scope/scopes/index.hbs b/ui/admin/app/templates/scopes/scope/scopes/index.hbs index 4194cdc24..93ad6668a 100644 --- a/ui/admin/app/templates/scopes/scope/scopes/index.hbs +++ b/ui/admin/app/templates/scopes/scope/scopes/index.hbs @@ -47,8 +47,8 @@ @id={{scope.id}} @icon={{if scope.isOrg - 'flight-icons/org-16' - 'flight-icons/grid-16' + 'flight-icons/svg/org-16' + 'flight-icons/svg/grid-16' }} @route='scopes.scope' @model={{scope.id}} @@ -71,7 +71,7 @@ (can 'create collection' @model.currentScope collection='scopes') }} - + {{t 'titles.new'}} {{/if}} @@ -92,7 +92,7 @@ (can 'create collection' @model.currentScope collection='scopes') }} - + {{t 'titles.new'}} {{/if}} diff --git a/ui/admin/app/templates/scopes/scope/sessions/index.hbs b/ui/admin/app/templates/scopes/scope/sessions/index.hbs index 4e00d0eff..bb07fabf9 100644 --- a/ui/admin/app/templates/scopes/scope/sessions/index.hbs +++ b/ui/admin/app/templates/scopes/scope/sessions/index.hbs @@ -36,7 +36,7 @@ 'session-status-' sessionAggregate.session.status }} - @name='flight-icons/entry-point-16' + @name='flight-icons/svg/entry-point-16' @size='medium' /> - + {{t 'titles.new'}} {{/if}} diff --git a/ui/admin/app/templates/scopes/scope/targets/target/add-credential-libraries.hbs b/ui/admin/app/templates/scopes/scope/targets/target/add-credential-libraries.hbs index a4188a78e..4ddfd983d 100644 --- a/ui/admin/app/templates/scopes/scope/targets/target/add-credential-libraries.hbs +++ b/ui/admin/app/templates/scopes/scope/targets/target/add-credential-libraries.hbs @@ -19,7 +19,7 @@ {{t 'resources.target.credential-library.messages.none.description'}} - + {{t 'actions.back'}} diff --git a/ui/admin/app/templates/scopes/scope/targets/target/add-host-sets.hbs b/ui/admin/app/templates/scopes/scope/targets/target/add-host-sets.hbs index af5d5921a..eb0d9bc71 100644 --- a/ui/admin/app/templates/scopes/scope/targets/target/add-host-sets.hbs +++ b/ui/admin/app/templates/scopes/scope/targets/target/add-host-sets.hbs @@ -20,7 +20,7 @@ {{t 'resources.target.host-set.messages.none.description'}} - + {{t 'actions.back'}} diff --git a/ui/admin/app/templates/scopes/scope/targets/target/credential-libraries.hbs b/ui/admin/app/templates/scopes/scope/targets/target/credential-libraries.hbs index 87284cafe..7dd80919c 100644 --- a/ui/admin/app/templates/scopes/scope/targets/target/credential-libraries.hbs +++ b/ui/admin/app/templates/scopes/scope/targets/target/credential-libraries.hbs @@ -44,7 +44,7 @@ - + {{t 'resources.target.actions.add-credential-libraries'}} diff --git a/ui/admin/app/templates/scopes/scope/targets/target/host-sets.hbs b/ui/admin/app/templates/scopes/scope/targets/target/host-sets.hbs index b123d74d3..25247438b 100644 --- a/ui/admin/app/templates/scopes/scope/targets/target/host-sets.hbs +++ b/ui/admin/app/templates/scopes/scope/targets/target/host-sets.hbs @@ -34,7 +34,7 @@ - + {{t 'resources.target.actions.add-host-sets'}} diff --git a/ui/admin/app/templates/scopes/scope/users/index.hbs b/ui/admin/app/templates/scopes/scope/users/index.hbs index fdc93dbb3..826e84805 100644 --- a/ui/admin/app/templates/scopes/scope/users/index.hbs +++ b/ui/admin/app/templates/scopes/scope/users/index.hbs @@ -89,7 +89,7 @@ {{#if (can 'create collection' this.scope collection='users')}} - + {{t 'titles.new'}} {{/if}} diff --git a/ui/admin/app/templates/scopes/scope/users/user/accounts.hbs b/ui/admin/app/templates/scopes/scope/users/user/accounts.hbs index 369e3c08b..ce1945162 100644 --- a/ui/admin/app/templates/scopes/scope/users/user/accounts.hbs +++ b/ui/admin/app/templates/scopes/scope/users/user/accounts.hbs @@ -34,7 +34,7 @@ - + {{t 'resources.user.actions.add-accounts'}} diff --git a/ui/admin/app/templates/scopes/scope/users/user/add-accounts.hbs b/ui/admin/app/templates/scopes/scope/users/user/add-accounts.hbs index 3ded8d49b..4f514a506 100644 --- a/ui/admin/app/templates/scopes/scope/users/user/add-accounts.hbs +++ b/ui/admin/app/templates/scopes/scope/users/user/add-accounts.hbs @@ -20,7 +20,7 @@ {{t 'resources.user.messages.no-accounts.description'}} - + {{t 'actions.back'}} diff --git a/ui/desktop/app/components/copyable/index.js b/ui/desktop/app/components/copyable/index.js index 6168b8c97..d94b083bc 100644 --- a/ui/desktop/app/components/copyable/index.js +++ b/ui/desktop/app/components/copyable/index.js @@ -13,8 +13,8 @@ export default class CopyableComponent extends Component { id = generateComponentID(); copyableButtonId = `copyable-button-${this.id}`; - actionIcon = 'flight-icons/clipboard-copy-16'; - successIcon = 'flight-icons/clipboard-checked-16'; + actionIcon = 'flight-icons/svg/clipboard-copy-16'; + successIcon = 'flight-icons/svg/clipboard-checked-16'; actionText = this.args.buttonText; successText = this.args.acknowledgeText; diff --git a/ui/desktop/app/components/hidden-secret/index.hbs b/ui/desktop/app/components/hidden-secret/index.hbs index a3181b9a6..67d6baae8 100644 --- a/ui/desktop/app/components/hidden-secret/index.hbs +++ b/ui/desktop/app/components/hidden-secret/index.hbs @@ -3,8 +3,8 @@ @style='ghost' @iconOnly={{if this.isHidden - 'flight-icons/eye-16' - 'flight-icons/eye-off-16' + 'flight-icons/svg/eye-16' + 'flight-icons/svg/eye-off-16' }} {{on 'click' this.toggleSecretVisibility}} > diff --git a/ui/desktop/app/templates/application.hbs b/ui/desktop/app/templates/application.hbs index 501eb1db1..1687c0e53 100644 --- a/ui/desktop/app/templates/application.hbs +++ b/ui/desktop/app/templates/application.hbs @@ -21,21 +21,21 @@ {{#if this.isFrameless}} @@ -110,7 +110,7 @@ diff --git a/ui/desktop/app/templates/scopes/scope/authenticate.hbs b/ui/desktop/app/templates/scopes/scope/authenticate.hbs index 2c48baf83..f97811eaf 100644 --- a/ui/desktop/app/templates/scopes/scope/authenticate.hbs +++ b/ui/desktop/app/templates/scopes/scope/authenticate.hbs @@ -11,7 +11,7 @@ @@ -67,7 +67,7 @@ diff --git a/ui/desktop/app/templates/scopes/scope/authenticate/index.hbs b/ui/desktop/app/templates/scopes/scope/authenticate/index.hbs index fa5633bb1..f59456fb3 100644 --- a/ui/desktop/app/templates/scopes/scope/authenticate/index.hbs +++ b/ui/desktop/app/templates/scopes/scope/authenticate/index.hbs @@ -2,7 +2,7 @@ diff --git a/ui/desktop/app/templates/scopes/scope/projects.hbs b/ui/desktop/app/templates/scopes/scope/projects.hbs index 7df14ea99..35ec73b13 100644 --- a/ui/desktop/app/templates/scopes/scope/projects.hbs +++ b/ui/desktop/app/templates/scopes/scope/projects.hbs @@ -2,12 +2,12 @@ - + {{t 'resources.target.title_plural'}} - + {{t 'resources.session.title_plural'}} diff --git a/ui/desktop/app/templates/scopes/scope/projects/sessions/index.hbs b/ui/desktop/app/templates/scopes/scope/projects/sessions/index.hbs index 6c1fb5636..49b3b5423 100644 --- a/ui/desktop/app/templates/scopes/scope/projects/sessions/index.hbs +++ b/ui/desktop/app/templates/scopes/scope/projects/sessions/index.hbs @@ -29,7 +29,7 @@ <:header> { // To show app icon in toolbar in linux, set browser window icon. // This is a limitation of electron build. if (isLinux()) - browserWindowOptions.icon = path.join(__dirname, '..', 'assets', 'app-icons', 'icon.png'); + browserWindowOptions.icon = path.join( + __dirname, + '..', + 'assets', + 'app-icons', + 'icon.png' + ); mainWindow = new BrowserWindow(browserWindowOptions); diff --git a/ui/desktop/tests/integration/components/card-test.js b/ui/desktop/tests/integration/components/card-test.js index 08dadd20c..fb73ab59b 100644 --- a/ui/desktop/tests/integration/components/card-test.js +++ b/ui/desktop/tests/integration/components/card-test.js @@ -30,7 +30,7 @@ module('Integration | Component | card', function (hooks) { await render(hbs` + @icon='flight-icons/svg/key-16'> <:header> <:body> <:footer>