microsoft-graph-toolkit icon indicating copy to clipboard operation
microsoft-graph-toolkit copied to clipboard

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

Open plasne opened this issue 3 months ago • 1 comments

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):

  • OS: macOS Monterey 12.7.3
  • Browser: Edge
  • Framework: React
  • Context: Web
  • Version: MGT v4
  • Provider: Msal2Provider

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

plasne avatar Mar 08 '24 17:03 plasne

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

gavinbarron avatar Mar 08 '24 19:03 gavinbarron