search pills: Direct message group pill support.

This supports adding users to DM pills by simply typing
a user's name in the text input directly after a complete
dm pill. It only works for DM pills at the end of search
input.

Clicking the X button removes a user from its user pill
container, and if that user was the last user left in the
container, then the whole container is also removed.
This commit is contained in:
evykassirer
2024-04-10 21:15:50 -07:00
committed by Tim Abbott
parent 278edb1b3f
commit 11bb44c7cc
10 changed files with 348 additions and 164 deletions

View File

@@ -121,6 +121,7 @@ EXEMPT_FILES = make_set(
"web/src/inbox_util.ts",
"web/src/info_overlay.ts",
"web/src/information_density.ts",
"web/src/input_pill.ts",
"web/src/integration_url_modal.ts",
"web/src/invite.ts",
"web/src/invite_stream_picker_pill.ts",
@@ -199,6 +200,7 @@ EXEMPT_FILES = make_set(
"web/src/scroll_util.ts",
"web/src/search.ts",
"web/src/search_pill.ts",
"web/src/search_suggestion.ts",
"web/src/sent_messages.ts",
"web/src/sentry.ts",
"web/src/server_events.js",