Releases: aws/mynah-ui
v4.17.0
This release includes the addition of the information card to the chat item.
Added informationCard
option to ChatItem
, which can (for example) be used to show off particular features.
Usage
https://github.com/aws/mynah-ui/blob/main/docs/DATAMODEL.md#informationcard
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
v4.16.1
This version includes a fix for prompt input field autofocus.
Fixed
- Prompt input autofocus
- In VSCode, when user has the focus to the Q panel, we want to autofocus to the prompt input field after a streaming answer is ended if the
autoFocus
config is set to true. However, it should only do it when the current focus is inside the Q panel window. Otherwise, it will grab the focus from the editor to the Q panel which might cause an issue since user may write to their editor window or focus to another panel while waiting an answer. And while they are typing in their editor window sudden switch to the Q panel may cause the text written by the user went into the Q prompt field instead of their editor file.
- In VSCode, when user has the focus to the Q panel, we want to autofocus to the prompt input field after a streaming answer is ended if the
- Removed
eventId
check from tab switch. Now relying on consumer's use of care. - Fixed issue where unexpected anchor tags were being generated inside code blocks if there was a link inside the code block (Fixed by bumping the version of markedjs dependency)
Warning
Now you're able to use the selectTab
method without providing an eventId
. This will avoid checking real user intent inside the Q panel. It is now on consumer's responsibility to check the tab switch is user intended. You can now switch the tabs without asking an event inside the Q panel, however, still do this check outside the Q panel to avoid unexpected tab switches which may cause bad user experience.
v4.16.0
What's Changed
Big improvements on testing; end-to-end tests have been introduced and enforced on pre-push, build, and release. Several visibility bugs have been fixed, and visual improvements were made. Progress bars and command menu icons are introduced as new features.
Fixes
- Inline code elements now wrap onto new lines (#128) (#134)
- Send button no longer shifts out of the window when horizontally filling the prompt input without spaces (now it wraps) (#123)
- Footer text now wraps instead of overflowing when it's too large for the chat window (#124)
Updates
- Added E2E screenshot testing with Playwright
- Centered the text in the footer (#111)
- Character counter now only shows starting from a threshold (#122) (#121)
- Code blocks now wrap instead of scroll on screens narrower than 300px (#131)
- Added gradient border on prompt input focus (#133)
- Added icons to quick action command menu (#132)
- Added progress bars to prompt input (#125). Find the updated documentation for the data model here.
Full Changelog: v4.15.11...v4.16.0
v4.15.11
This version includes fix for footer content exceeds from the bottom if the content block has a scroll (footer text not visible)
What's Changed
Full Changelog: v4.15.10...v4.15.11
v4.15.10
This version includes a fix for shifted chat components and lingering tooltip on screen after closing then opening back chat panel.
Fixed
Shifted chat contents
Tooltip remained on screen
PRs
Full Changelog: v4.15.9...v4.15.10
v4.15.9
This version includes a fix for mis-aligned inline code blocks in VSCode and JetBrains IDEs.
Fixed
- Inline code blocks inside body contents are mis-aligned
Before
After
Full Changelog: v4.15.8...v4.15.9
v4.15.8
This version includes a fix for when copied content from a chat card contains code blocks, it causes new lines when pasted issue.
Fixed
- Inline code blocks are causing new lines when copy/pasted.
- Disabled quick action commands can be triggered when filtered.
Code blocks converted to inline elements
PRs
- fix: quick action handling edge case not filtering disabled command by @willyyhuang in #96
- Fix copy/paste for inline code by @volodkevych in #100
Full Changelog: v4.15.7...v4.15.8
v4.15.7
What's Changed
- Fix code indentation and nested formatting issue by @volodkevych in #99
Full Changelog: v4.15.6...v4.15.7
v4.15.6
This version includes several visual and functional bug fixes.
Fixed
- Tab selection scrollbar visibility which causes tabs half visible if there are several tabs open.
- Header items in card bodies don't wrap if they don't contain spaces.
- Related link previews sometimes remain on screen and block the whole Chat UI.
@
context selector conflicts with some use cases where the user wants use@
character for a word in the prompt itself./
command selector doesn't work if user pastes the command to prompt and submits
Header item wrapping
/
Command selector
Screen.Recording.2024-08-06.at.2.05.27.PM.mov
@
Context selector
context-selection-conflict-fix.mov
v4.15.5
What's Changed
- Fixed regression in the markdown table styles
Fixes
- Reverted table styles back
Before the latest v4.15.4 release, the markdown table's UI was:
But with v14.5.4 the new style was inadvertently introduced:
This is considered a regression and is reverted back to the original style.
Full Changelog: v4.15.4...v4.15.5