prompt-injection icon indicating copy to clipboard operation
prompt-injection copied to clipboard

Add user feedback when they have reached character limit on text inputs

Open pmarsh-scottlogic opened this issue 2 years ago • 1 comments

Since PR #503 we have a maximum number of characters allowed in our defence config text inputs. We will soon be limiting the chatbox input as well (#507). When the user hits that character limit, we simply stop them from being able to add more text. There is no indication why they can't add more characters, or that it's intentional. Maybe they'll think that their keyboard is faulty!

Image


For this ticket we want to let the user know that they have hit the character limit. We will want some UX input on this, for there are several options including:

  • Some sort of error popup/tooltip
  • Error text that sits below the input box, similar to the success text. example below Image

pmarsh-scottlogic avatar Nov 03 '23 14:11 pmarsh-scottlogic

Recommend doing #93 before this issue.

chriswilty avatar Apr 15 '24 10:04 chriswilty