From 8ce2af23b909481568a189eeed1fd841290f71ce Mon Sep 17 00:00:00 2001 From: Susmitha Girumala Date: Wed, 7 Oct 2020 12:11:13 -0400 Subject: [PATCH 1/4] style: Reduce doc help icon size in page header --- ui/core/app/styles/app.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ui/core/app/styles/app.scss b/ui/core/app/styles/app.scss index ba376f696..9f7bcea07 100644 --- a/ui/core/app/styles/app.scss +++ b/ui/core/app/styles/app.scss @@ -114,3 +114,11 @@ } } } + +.rose-layout-page-header { + .doc-link { + svg { + transform: scale(0.8); + } + } +} From 220c8d56835cde061482174ce75d27cbaa8d8075 Mon Sep 17 00:00:00 2001 From: Randall Morey Date: Wed, 7 Oct 2020 12:36:13 -0400 Subject: [PATCH 2/4] =?UTF-8?q?chore:=20=F0=9F=A4=96=20accounts=20identifi?= =?UTF-8?q?cation=20column=20name=20should=20reflct=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scope/auth-methods/auth-method/accounts/index.hbs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/core/app/templates/scopes/scope/auth-methods/auth-method/accounts/index.hbs b/ui/core/app/templates/scopes/scope/auth-methods/auth-method/accounts/index.hbs index 864a55b8b..ef401b53d 100644 --- a/ui/core/app/templates/scopes/scope/auth-methods/auth-method/accounts/index.hbs +++ b/ui/core/app/templates/scopes/scope/auth-methods/auth-method/accounts/index.hbs @@ -4,7 +4,11 @@ {{t 'form.name.label'}} - {{t 'form.username.label'}} + + {{#if @model.firstObject.isPassword}} + {{t 'form.login_name.label'}} + {{/if}} + {{t 'form.id.label'}} From 65a8a0bdc685c2c9f274e280a29bc110ef78f0e8 Mon Sep 17 00:00:00 2001 From: Randall Morey Date: Wed, 7 Oct 2020 12:37:41 -0400 Subject: [PATCH 3/4] chore: add account isPassword field --- addons/api/addon/models/account.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/addons/api/addon/models/account.js b/addons/api/addon/models/account.js index 012436ad2..a4e1359f3 100644 --- a/addons/api/addon/models/account.js +++ b/addons/api/addon/models/account.js @@ -1,6 +1,7 @@ import GeneratedAccountModel from '../generated/models/account'; import { fragment } from 'ember-data-model-fragments/attributes'; import { computed } from '@ember/object'; +import { equal } from '@ember/object/computed'; export default class AccountModel extends GeneratedAccountModel { @@ -12,6 +13,11 @@ export default class AccountModel extends GeneratedAccountModel { */ @fragment('fragment-account-attributes', { defaultValue: {} }) attributes; + /** + * @type {boolean} + */ + @equal('type', 'password') isPassword; + /** * Convenience for getting username in account. * @type {string} From bc189d6361a07e89a884d5d266cd8d5da5dfc309 Mon Sep 17 00:00:00 2001 From: Randall Morey Date: Wed, 7 Oct 2020 12:38:45 -0400 Subject: [PATCH 4/4] style: doclink icon size transform applies to all large doclinks --- ui/core/app/styles/app.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/core/app/styles/app.scss b/ui/core/app/styles/app.scss index 9f7bcea07..57a650e42 100644 --- a/ui/core/app/styles/app.scss +++ b/ui/core/app/styles/app.scss @@ -115,8 +115,8 @@ } } -.rose-layout-page-header { - .doc-link { +.doc-link { + .large { svg { transform: scale(0.8); }