File tree Expand file tree Collapse file tree 2 files changed +44
-1
lines changed
packages/core/src/login/webview/vue Expand file tree Collapse file tree 2 files changed +44
-1
lines changed Original file line number Diff line number Diff line change 151
151
</svg >
152
152
</button >
153
153
<div class =" auth-container-section" >
154
- <div class =" header bottomMargin" >Sign in with AWS IAM Identity Center:</div >
154
+ <div class =" header bottomMargin" >
155
+ Sign in with AWS IAM Identity Center:<br />
156
+ <a
157
+ class =" help-link"
158
+ href =" https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/q-in-IDE-setup.html#q-in-IDE-setup-pro-auth"
159
+ v-if =" app === 'AMAZONQ'"
160
+ @click =" handleHelpLinkClick"
161
+ >
162
+ <span class =" help-link__icon" >?</span
163
+ ><span class =" help-link__label" >Need help signing in?</span ></a
164
+ >
165
+ </div >
155
166
<div class =" code-catalyst-login" v-if =" app === 'TOOLKIT'" >
156
167
<div style =" margin-bottom : 4px " ></div >
157
168
<div class =" subHeader" >
@@ -504,6 +515,9 @@ export default defineComponent({
504
515
async getDefaultStartUrl() {
505
516
return await client .getDefaultStartUrl ()
506
517
},
518
+ handleHelpLinkClick() {
519
+ void client .emitUiClick (' auth_helpLink' )
520
+ },
507
521
},
508
522
})
509
523
</script >
@@ -677,4 +691,32 @@ body.vscode-light #logo-text {
677
691
.topMargin {
678
692
margin-top : 12px ;
679
693
}
694
+
695
+ .help-link ,
696
+ .help-link__icon {
697
+ align-items : center ;
698
+ display : flex ;
699
+ }
700
+
701
+ .help-link ,
702
+ .help-link__label {
703
+ font-size : 10px ;
704
+ font-weight : 400 ;
705
+ margin : 4px 0 0 ;
706
+ text-decoration : none ;
707
+ }
708
+
709
+ .help-link__icon {
710
+ border-radius : 50% ;
711
+ border : 1px solid var (--vscode-textLink-foreground );
712
+ font-size : 8px ;
713
+ height : 10px ;
714
+ justify-content : center ;
715
+ width : 10px ;
716
+ }
717
+
718
+ .help-link__label {
719
+ margin : 0 ;
720
+ padding : 0 0 0 2px ;
721
+ }
680
722
</style >
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ export type AuthUiClick =
59
59
| 'auth_toolkitCloseButton'
60
60
| 'auth_reauthenticate'
61
61
| 'auth_signout'
62
+ | 'auth_helpLink'
62
63
| 'amazonq_switchToQSignIn'
63
64
64
65
export const userCancelled = 'userCancelled'
You can’t perform that action at this time.
0 commit comments