[front] Add ability to disable / enable group chats engine#2728
Ticket(s) / Related Merge Requests
- Issue card: engine#2728 (closed)
- Engine MR: engine!1666 (merged)
Summary of Changes
Add ability to disable and enable group chats.
Testing Considerations
Bound to https://ben2.oke.minds.io/
Tenant
-
As a group owner, group chats can be enabled / disabled via dropdown and appear in chat rooms list when active. -
As a group owner, group chats can be enabled via chat room button at top of group and appear in chat rooms list. -
As a group member, I see no option to enable and disable in the dropdown menu. -
As a group member, when chat is disabled, I see no chat room button at the top of the group. -
As a group member, when chat is enabled, I see the chat room button at the top of the group and it sends me to the group. -
As a user I can still delete normal chat rooms
Non-tenant
-
As a group owner, group chats can be enabled / disabled via dropdown and appear in chat rooms list when active. -
As a group owner, group chats can be enabled via chat room button at top of group and appear in chat rooms list. -
As a group member, I see no option to enable and disable in the dropdown menu. -
As a group member, when chat is disabled, I see no chat room button at the top of the group. -
As a group member, when chat is enabled, I see the chat room button at the top of the group and it sends me to the group. -
As a user I can still delete normal chat rooms
Deployment Considerations
Standard deployment.
Regression Scope
Chat room creation, both groups and non-groups.
Platform Affected (web, mobile, etc)
Web.
Developer Testing Completed
Manual, unit (jasmine/karma), unit (phpspec).
Screenshots / Screen Recording
Tenant
As a group owner, group chats can be enabled / disabled via dropdown and appear in chat rooms list when active.
simplescreenrecorder-2024-05-03_15.56.15
As a group owner, group chats can be enabled via chat room button at top of group and appear in chat rooms list.
simplescreenrecorder-2024-05-03_15.59.07
As a group member, I see no option to enable and disable in the dropdown menu.
As a group member, when chat is disabled, I see no chat room button at the top of the group.
As a group member, when chat is enabled, I see the chat room button at the top of the group and it sends me to the group.
As a user I can still delete normal chat rooms
simplescreenrecorder-2024-05-03_16.02.14
Non-tenant
As a group owner, group chats can be enabled / disabled via dropdown and appear in chat rooms list when active.
simplescreenrecorder-2024-05-03_16.09.40
As a group owner, group chats can be enabled via chat room button at top of group and appear in chat rooms list.
simplescreenrecorder-2024-05-03_16.10.37
As a group member, I see no option to enable and disable in the dropdown menu.
As a group member, when chat is disabled, I see no chat room button at the top of the group.
As a group member, when chat is enabled, I see the chat room button at the top of the group and it sends me to the group.
simplescreenrecorder-2024-05-03_17.05.48
As a user I can still delete normal chat rooms
simplescreenrecorder-2024-05-03_16.16.35
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