Skip to content

Commit 36ed55c

Browse files
leigaolhayemaxi
andauthored
fix(toolkit): Improve text description in login page (#4481)
* update auth login text * add change log * css adjust * css adjustments * text change * text adjustments * update text * trigger ci * Update .changes/next-release/Feature-e6bbf14f-90d8-4b30-8e63-7ff522fd855a.json Co-authored-by: Maxim Hayes <[email protected]> --------- Co-authored-by: Maxim Hayes <[email protected]>
1 parent 51190aa commit 36ed55c

File tree

7 files changed

+25
-6
lines changed

7 files changed

+25
-6
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Feature",
3+
"description": "UI: Improve text description in login page"
4+
}

packages/toolkit/src/auth/ui/vue/authForms/manageBuilderId.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,9 @@ abstract class BaseBuilderIdState implements AuthForm {
170170
*/
171171
async getSubmitButtonText(): Promise<string> {
172172
if (!(await this.anyBuilderIdConnected())) {
173-
return 'Use for free with AWS Builder ID'
173+
return this.name === 'CodeWhisperer'
174+
? 'Use for free, no AWS Account required'
175+
: 'Use for free with AWS Builder ID'
174176
} else {
175177
return `Connect AWS Builder ID with ${this.name}`
176178
}

packages/toolkit/src/auth/ui/vue/authForms/manageIdentityCenter.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ export default defineComponent({
150150
if (this.isConnected && !this.checkIfConnected) {
151151
this.buttonText = 'Add an IAM Identity Center profile'
152152
} else {
153-
this.buttonText = 'Sign in with IAM Identity Center (SSO)'
153+
this.buttonText =
154+
this.authName === 'CodeWhisperer' ? 'Use Professional License' : 'Use Single Sign-on (SSO)'
154155
}
155156
},
156157
async emitUpdate(cause?: ConnectionUpdateCause) {

packages/toolkit/src/auth/ui/vue/authForms/sharedAuthForms.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@
1919
flex-direction: column;
2020
}
2121

22+
.auth-container-section button {
23+
font-size: 1.3rem;
24+
}
25+
26+
.auth-container > div > button {
27+
font-size: 1.3rem;
28+
}
29+
2230
.auth-form-container {
2331
display: flex;
2432
flex-direction: column;

packages/toolkit/src/auth/ui/vue/featurePanel/awsExplorerContent.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div :id="panelId" class="feature-panel-container border-common" :class="isActive ? 'feature-panel-selected' : ''">
33
<div class="feature-panel-container-upper">
4-
<div class="feature-panel-container-title">AWS Explorer</div>
4+
<div class="feature-panel-container-title">Resource Explorer</div>
55

66
<img
77
class="feature-panel-image"

packages/toolkit/src/auth/ui/vue/featurePanel/codeCatalystContent.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
></IdentityCenterForm>
3636

3737
<button v-if="connectedAuth" v-on:click="showCodeCatalystNode()">Open CodeCatalyst in Toolkit</button>
38+
<div v-if="!connectedAuth">
39+
Don't have a CodeCatalyst account?
40+
<a href="https://codecatalyst.aws/onboarding/view">Get started with creating a Space.</a>
41+
</div>
3842
</div>
3943
</template>
4044
</div>

packages/toolkit/src/auth/ui/vue/root.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
</svg>
4747
</div>
4848
<div>
49-
<div style="font-size: 1.8rem; font-weight: bold">AWS Toolkit for VS Code</div>
50-
<div style="font-size: 1rem; font-weight: bold">
49+
<div style="font-size: 1.4rem">AWS Toolkit for VS Code</div>
50+
<div style="font-size: 1rem">
5151
<a href="https://docs.aws.amazon.com/toolkit-for-vscode/latest/userguide/welcome.html"
5252
>Documentation</a
5353
>
@@ -75,7 +75,7 @@
7575
</div>
7676
</div>
7777
<div>
78-
<div style="font-size: 1.6rem; font-weight: bold">Sign in to Get Started</div>
78+
<div style="font-size: 2.1rem; font-weight: bold">Select a sign-in option to continue:</div>
7979
<hr style="margin: 1em 0 1em 0; border-color: var(--vscode-textBlockQuote-border)" />
8080
<div style="display: flex; flex-direction: row; justify-content: space-between; gap: 1em">
8181
<CodeWhispererContent

0 commit comments

Comments
 (0)