Skip to content

Commit 839a335

Browse files
authored
Clean up Q explore UX (#5153)
1 parent c5d3316 commit 839a335

File tree

6 files changed

+30
-11
lines changed

6 files changed

+30
-11
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "bugfix",
3+
"description" : "Amazon Q: Fix chat syntax highlighting when using several different themes"
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "feature",
3+
"description" : "Amazon Q: UI improvements to chat: New splash loader animation, initial streaming card animation, improved button colours"
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "feature",
3+
"description" : "Amazon Q: Navigate through prompt history by using the up/down arrows"
4+
}

plugins/amazonq/mynah-ui/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/amazonq/mynah-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"lintfix": "eslint -c .eslintrc.js --fix --ext .ts ."
1313
},
1414
"dependencies": {
15-
"@aws/mynah-ui-chat": "npm:@aws/mynah-ui@4.18.1",
15+
"@aws/mynah-ui-chat": "npm:@aws/mynah-ui@4.21.0",
1616
"@types/node": "^14.18.5",
1717
"fs-extra": "^10.0.1",
1818
"sanitize-html": "^2.12.1",

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

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ function createdTabbedData(examples: string[], agent: string): ChatItemContent['
1111
{
1212
label: 'Examples',
1313
value: 'examples',
14-
icon: MynahIcons.PLAY,
1514
content: {
1615
body: `**Example use cases:**\n${exampleText}\n\nEnter ${agent} in Q Chat to get started`,
1716
},
@@ -59,6 +58,7 @@ Implement features or make changes across your workspace, all from a single prom
5958
status: 'main',
6059
disabled: false,
6160
flash: 'once',
61+
fillState: 'hover',
6262
icon: MynahIcons.RIGHT_OPEN,
6363
id: 'quick-start-featuredev',
6464
text: `Quick start with **/dev**`,
@@ -86,10 +86,11 @@ Automatically generate unit tests for your active file.
8686
text: 'Read user guide',
8787
},
8888
{
89-
status: 'primary',
89+
status: 'main',
9090
disabled: false,
91-
icon: MynahIcons.RIGHT_OPEN,
9291
flash: 'once',
92+
fillState: 'hover',
93+
icon: MynahIcons.RIGHT_OPEN,
9394
id: 'quick-start-codetest',
9495
text: `Quick start with **/test**`,
9596
},
@@ -120,9 +121,11 @@ Create and update READMEs for better documented code.
120121
text: 'Read user guide',
121122
},
122123
{
124+
status: 'main',
123125
disabled: false,
126+
flash: 'once',
127+
fillState: 'hover',
124128
icon: MynahIcons.RIGHT_OPEN,
125-
flash: 'infinite',
126129
id: 'quick-start-doc',
127130
text: `Quick start with **/doc**`,
128131
},
@@ -153,9 +156,11 @@ Review code for issues, then get suggestions to fix your code instantaneously.
153156
text: 'Read user guide',
154157
},
155158
{
159+
status: 'main',
156160
disabled: false,
161+
flash: 'once',
162+
fillState: 'hover',
157163
icon: MynahIcons.RIGHT_OPEN,
158-
flash: 'infinite',
159164
id: 'quick-start-codescan',
160165
text: `Quick start with **/review**`,
161166
},
@@ -182,9 +187,11 @@ Upgrade library and language versions in your codebase.
182187
text: 'Read user guide',
183188
},
184189
{
190+
status: 'main',
185191
disabled: false,
192+
flash: 'once',
193+
fillState: 'hover',
186194
icon: MynahIcons.RIGHT_OPEN,
187-
flash: 'infinite',
188195
id: 'quick-start-codetransform',
189196
text: `Quick start with **/transform**`,
190197
},

0 commit comments

Comments
 (0)