Skip to content

[front] Create a group chat - engine#2725 engine#2726 engine#2727

Ben requested to merge feat/group-chat-2725 into master

Ticket(s) / Related Merge Requests

Summary of Changes

Group chat creation.

Testing Considerations

  • I can create a chat for a group that I am the owner of.
  • I cannot create a chat for a group that I am not the owner of, clicking the message button in the group shows me an appropriate toast message.
  • As a member of a group if a chat exists, clicking the message button in the group sends me to the chat room.
  • In a group chat I should see no option to remove or leave the chat
  • Group owners should be able to delete other users messages
  • Non-group owners should not be able to delete other users messages
  • Group and other room type avatars appears correctly in rooms list and in chat room topbar
  • Group name appears properly

Deployment Considerations

Nothing for the front-end - unsure if anything for the backend @markharding?

Regression Scope

Chat

Platform Affected (web, mobile, etc)

Web.

Developer Testing Completed

Manual, unit (phpspec), unit (karma/jasmine).

Screenshots / Screen Recording

I can create a chat for a group that I am the owner of.

simplescreenrecorder-2024-05-01_14.22.23

I cannot create a chat for a group that I am not the owner of, clicking the message button in the group shows me an appropriate toast message.

simplescreenrecorder-2024-05-01_14.26.25

As a member of a group if a chat exists, clicking the message button in the group sends me to the chat room.

simplescreenrecorder-2024-05-01_14.27.26

In a group chat I should see no option to remove or leave the chat

image

Group owners should be able to delete other users messages

simplescreenrecorder-2024-05-01_14.28.05

Non-group owners should not be able to delete other users messages

image

Group and other room type avatars appears correctly in rooms list and in chat room topbar / Group name appears properly

image

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode

Definition of Done Checklist

  • The Acceptance Criteria has been met
  • Code is tested: Testing includes unit/spec, E2E/automated and manual testing
  • Merge requests description has been filled out
Edited by Ben

Merge request reports