Draft: feat: message chunking draft 1

Notes

  1. A single chat can be one of the three types: Global, Group and Private.
  2. Chat can be enabled or disabled by one of the moderators, and this change is communicated with the user.
  3. We keep track of unread messages and inform user usually with the small badge that there are messages seeking attention in each of the chats.
  4. Currently only messages appearing in the global chat are announced by the screen reader.
  5. Chat can be cleaned completely by any of the moderators.
  6. On mobile, burger menu button shows indicator for unread messages.
  7. Beside chat messages, chat also shows events that occurred.

Goal

Since each chat type can have its own dedicated nextIndex, I aim to create a clear separation to fetch the next chunks for group chats or individual chats on demand. To achieve this, I need distinct buckets, eliminating the need to combine messages into one array and then determine their appropriate category.

OT_Chat

Closes #137

Edited by Stefan Latsarevich

Merge request reports

Loading
Loading