mattermost/mattermost

RN: Improve Join Leave messages to only combine adjacent events of the same type and respect the order of events

Open

#23,196 opened on 2023年4月27日

GitHub で見る
 (4 comments) (0 reactions) (1 assignee)TypeScript (32,880 stars) (7,823 forks)batch import
Difficulty/2:MediumHelp WantedTech/React Native

説明

As in https://mattermost.atlassian.net/browse/MM-28338, we want join/leave messages on mobile to be grouped together as they are now, but we want to keep them in chronological order instead of grouping all join messages followed by all leave messages and so on.

Expected Behaviour:

  • System message should combine users with join, left, added, removed events on separate lines, in the order the events occur. We should keep the styling and copy of the messages as is, just change how they are ordered and grouped to respect the chronological order of events. For example:
3 joined
2 were removed
2 joined and left
3 joined
5 joined and left
4 were added by 
1 left

If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.

New contributors please see our Developer's Guide.

JIRA: https://mattermost.atlassian.net/browse/MM-52545

コントリビューターガイド