Files
65a3bfafda MM-62990 Properly group suggestions in SuggestionList (and various other autocompletes) (#33457) (#33692)
* Ensure all Suggestion rendering code always uses an array of components

* Ensure all Suggestion rendering code always uses a single matchedPretext

* Pass SuggestionResults around through suggestion components instead of raw arrays

* Have new search component use SuggestionListStatus

* Have new search and ForwardPostModal use SuggestionResults helpers

* Migrate SuggestionList and AtMentionProvider to support suggestion groups

* Migrate SearchSuggestionList and SearchChannelProvider to support suggestion groups

* Migrate NewSearch to support suggestion groups

* Make ExtensionSuggestionsProvider group results

* Make ChannelMentionProvider group results

* Make AppProvider and CommandProvider group results

* Make EmoticonProvider group results

* Don't migrate SuggestionDate to support suggestion groups

* Make SearchUserProvider group results

* Make SwitchChannelProvider group results

* Remove lingering parts of old implementations of dividers between suggestions

* Remove unused prop on SuggestionList

* Update E2E tests and stop using data-testid for SuggestionList

* Uncomment accidentally commented out lines

* Fix quick switch modal being ordered incorrectly and unskip test

* Remove leftover TODOs

* Remove unused component

* Fix comment

* Rename suggestion_list_structure.tsx to suggestion_list_contents.tsx

* Pull out isItemLoaded helper

* Add a bunch of tests

* Add more comments to suggestion_results.ts

* Make SuggestionResults type parameter default to unknown

(cherry picked from commit 2fd2452028)

Co-authored-by: Harrison Healey <[email protected]>
2025-08-14 09:55:36 +03:00
..