aws / mynah-ui

https://aws.github.io/mynah-ui/
Apache License 2.0
13 stars 11 forks source link

Command selection fails when switching focus or copy pasting a prompt #87

Closed willyyhuang closed 1 month ago

willyyhuang commented 1 month ago

Problem

Steps to reproduce the issue

  1. Go to the mynah UI demo page: https://aws.github.io/mynah-ui/
  2. type /card-with-a-form without pressing enter
  3. Click on anywhere other than input box to lose focus
  4. Click the send button
  5. Copy /card-with-a-form
  6. Paste /card-with-a-form at the input box and press enter
  7. Observe that "Amazon Q is generating..." is present

Expected behavior

Should execute quick action when these 2 use cases are encountered

System details