Skip to content

Commit 312ffad

Browse files
authored
fix(amazonq): code blocks with typewriter text inside list items #5201
Problem - `<span class='typewriter-part>...</span>` shows up in contents within list items. - Chat card component reordering and update structure is broken sometimes depending on update type. Solution - Streaming content component wrapped out from the chat-item-card and builded as a separate component - Typewriter animation injection removed from the markdown parsing process - Typewriter animation injection added to node process state with a check if the node type is TEXT, then we're adding the animation wrapper. [MynahUI 4.13.0](https://github.com/aws/mynah-ui/releases/tag/v4.13.0)
1 parent d44331c commit 312ffad

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

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.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Bug Fix",
3+
"description": "Amazon Q Chat: Fixed broken code blocks with typewriter text in list items."
4+
}

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4098,7 +4098,7 @@
40984098
"@aws-sdk/property-provider": "3.46.0",
40994099
"@aws-sdk/smithy-client": "^3.46.0",
41004100
"@aws-sdk/util-arn-parser": "^3.46.0",
4101-
"@aws/mynah-ui": "^4.11.2",
4101+
"@aws/mynah-ui": "^4.13.0",
41024102
"@gerhobbelt/gitignore-parser": "^0.2.0-9",
41034103
"@iarna/toml": "^2.2.5",
41044104
"@smithy/middleware-retry": "^2.3.1",

0 commit comments

Comments
 (0)