"Mentions:" Textarea With Inline Taglist #1557
MichaelSchmidle
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hopefully, I haven't missed such an existing implementation. So, I propose:
Imagine a new Pro input type that combines textarea and taglist components. It would essentially be how @-mentions work:
@
, an autocomplete taglist shows that filters by whatever input followed by that special string (i.e., a user name).Such an input type should be able to include an arbitrary amount of taglists. Each taglist is configured by the triggering special string and properties known from the taglist component. It should also allow to limit the amount of tags that can be added using each special character.
Overall, this would allow to collapse several taglists plus a textarea into a single textarea. For example, when sending messages:
@
could trigger a recipient taglist (to
, unlimited tags)from:
could trigger a sending account taglist (from
, single tag)This would be extremely useful for chat interfaces to direct messages to different assistants, reference files in the context, etc. In essence, one could converge multiple taglists and a textarea into a single form element.
What's your take on this?
Beta Was this translation helpful? Give feedback.
All reactions