microsoftgraph / microsoft-graph-toolkit

Authentication Providers and UI components for Microsoft Graph 🦒
https://docs.microsoft.com/graph/toolkit/overview
Other
924 stars 288 forks source link

[BUG] [MGT-CHAT] Chat component does not show the list of members consistent with Teams #3138

Open plasne opened 4 months ago

plasne commented 4 months ago

Describe the bug The Chat component does not show the list of members consistent with Teams (or ChatList since that displays the same way Teams does).

Notice from the screenshot that the component doesn't use + and doesn't put the members in order. Also be aware that the behavior changes for 1, 2, 3+ people - there is code in ChatList that could help.

To Reproduce Steps to reproduce the behavior:

  1. Create a group with more than 3 people.
  2. Observe the difference in behavior.

Expected behavior The membership experience should be consistent at least across ChatList and Chat. For instance, clicking on a chat in ChatList with 20 members is hard to reconcile with Chat which might have completely different members shown in a different order.

Screenshots Here is a membership list in Teams...

image

Here is that same list in ChatList...

image

Here it is in Chat...

image

Environment (please complete the following information):

Additional context I am a MSFT FTE and can be reached in Teams at pelasne.

gavinbarron commented 4 months ago

The two components should use the same logic for render the chat title.