Skip to content

Commit 066fd1d

Browse files
authored
fix(amazonq): update text in profile selection page and dialog (#2011)
* add * retain id * sync
1 parent 8993cca commit 066fd1d

File tree

5 files changed

+12
-10
lines changed

5 files changed

+12
-10
lines changed

plugins/amazonq/mynah-ui/src/mynah-ui/ui/tabs/generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ What would you like to work on?`,
103103
}
104104
return {
105105
type: ChatItemType.ANSWER,
106-
body: `You are using the <b>${this.profileName}</b> profile for this chat`,
106+
body: `You are using the <b>${this.profileName}</b> profile for this chat period`,
107107
status: 'info',
108108
messageId: 'regionProfile',
109109
}

plugins/amazonq/mynah-ui/src/mynah-ui/ui/walkthrough/welcome.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const welcomeScreenTabData = (tabs: TabDataGenerator): MynahUITabStoreTab
1919
type: ChatItemType.ANSWER,
2020
icon: MynahIcons.INFO,
2121
messageId: 'profile-info',
22-
body: `You're using the <b>${tabs.profileName}</b> profile for this chat.`,
22+
body: `You're using the <b>${tabs.profileName}</b> profile for this chat period.`,
2323
}]
2424
: []),
2525
{

plugins/amazonq/shared/jetbrains-community/resources/software/aws/toolkits/resources/AmazonQBundle.properties

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ amazonq.title=Amazon Q
1212
amazonq.workspace.settings.open.prompt=Workspace index is now enabled. You can disable it from Amazon Q settings.
1313
action.q.profile.usage.text=You changed profile
1414
action.q.profile.usage=You're using the '<b>{0}</b>' profile for Amazon Q.
15-
action.q.switchProfiles.text=Switch Profiles
16-
action.q.switchProfiles.dialog.text=Change Amazon Q Profiles
15+
action.q.switchProfiles.text=Change profile
16+
action.q.switchProfiles.dialog.text=Amazon Q Developer Profile
1717
action.q.switchProfiles.dialog.account.label=Account: {0}
18-
action.q.switchProfiles.dialog.panel.description=You have multiple profiles assigned to this account. Please select one to continue.
19-
action.q.switchProfiles.dialog.panel.warning=<b>This will switch your entire workspace, and you will lose any in-progress chats.</b>
18+
action.q.switchProfiles.dialog.panel.text=Change your Q Developer profile
19+
action.q.switchProfiles.dialog.panel.description=Choose the profile that meets your current working needs.
20+
action.q.switchProfiles.dialog.panel.warning=<b>When you change profiles, you will no longer have access to your current customizations, chats, code reviews, or any other code or content being generated by Amazon Q.</b>
2021
general.ok=OK
2122
general.cancel=Cancel

plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/profile/QRegionProfileDialog.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ class QRegionProfileDialog(
2727

2828
private val panel: DialogPanel by lazy {
2929
panel {
30-
row { text(message("action.q.switchProfiles.dialog.panel.description")) }
30+
row { label(message("action.q.switchProfiles.dialog.panel.text")).bold() }
3131
.bottomGap(BottomGap.MEDIUM)
32+
row { text(message("action.q.switchProfiles.dialog.panel.description")) }
3233
row {
3334
icon(AllIcons.General.Warning)
3435
text(message("action.q.switchProfiles.dialog.panel.warning"))

plugins/core/webview/src/q-ui/components/profileSelection.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<div class="font-amazon">
66
<!-- Title & Subtitle -->
77
<div id="profile-page" class="profile-header">
8-
<h2 class="title bottom-small-gap">Select profile</h2>
8+
<h2 class="title bottom-small-gap">Choose a Q Developer profile</h2>
99
<p class="profile-subtitle">
10-
Profiles have different configs defined by your administrators.
11-
Select the profile that best meets your current working need and switch at any time.
10+
Your administrator has given you access to Q from multiple profiles.
11+
Choose the profile that meets your current working needs. You can change your profile at any time.
1212
</p>
1313
</div>
1414
<!-- Profile List -->

0 commit comments

Comments
 (0)