Skip to content

Releases: aws/mynah-ui

v4.17.0

25 Oct 15:41
1bde683
Compare
Choose a tag to compare

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.

image
image

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

21 Oct 07:47
06807e0
Compare
Choose a tag to compare

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.
  • 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

16 Oct 07:52
Compare
Choose a tag to compare

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)
    image
  • Send button no longer shifts out of the window when horizontally filling the prompt input without spaces (now it wraps) (#123)
    image
  • Footer text now wraps instead of overflowing when it's too large for the chat window (#124)
    image

Updates

  • Added E2E screenshot testing with Playwright
  • Centered the text in the footer (#111)
    image
  • Character counter now only shows starting from a threshold (#122) (#121)
    image
  • Code blocks now wrap instead of scroll on screens narrower than 300px (#131)
    image
  • Added gradient border on prompt input focus (#133)
    image
  • Added icons to quick action command menu (#132)
    image
  • Added progress bars to prompt input (#125). Find the updated documentation for the data model here.
    image

Full Changelog: v4.15.11...v4.16.0

v4.15.11

18 Sep 12:32
429f79a
Compare
Choose a tag to compare

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

17 Sep 13:08
2da65a0
Compare
Choose a tag to compare

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

image

Tooltip remained on screen

image

PRs

  • Dogusata/fix content left shift when width set to 0 temporarily by @dogusata in #105

Full Changelog: v4.15.9...v4.15.10

v4.15.9

05 Sep 11:14
3777a39
Compare
Choose a tag to compare

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

image

After

Screenshot 2024-09-04 at 11 45 00

Full Changelog: v4.15.8...v4.15.9

v4.15.8

26 Aug 12:26
b621ed3
Compare
Choose a tag to compare

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

Before:
Screenshot 2024-08-21 at 18 12 28
After:
Screenshot 2024-08-21 at 18 12 44


PRs

Full Changelog: v4.15.7...v4.15.8

v4.15.7

22 Aug 13:21
58237de
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.15.6...v4.15.7

v4.15.6

09 Aug 12:20
Compare
Choose a tag to compare

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

image

/ Command selector

Screen.Recording.2024-08-06.at.2.05.27.PM.mov

@ Context selector

context-selection-conflict-fix.mov

v4.15.5

01 Aug 09:26
bf56e09
Compare
Choose a tag to compare

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:
    image
    But with v14.5.4 the new style was inadvertently introduced:
    image

This is considered a regression and is reverted back to the original style.

Full Changelog: v4.15.4...v4.15.5