Skip to content
Snippets Groups Projects

[front] Add ability to disable / enable group chats engine#2728

Ticket(s) / Related Merge Requests

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.

image

As a group member, when chat is disabled, I see no chat room button at the top of the group.

image

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.

image

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.

image

As a group member, when chat is disabled, I see no chat room button at the top of the group.

image

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

Merge request reports

Checking pipeline status.

Deployed to review/feat/dis‎able-chat-e2728‎ May 9, 2024

Merged by Mark HardingMark Harding May 13, 2024 (May 13, 2024 7:35am UTC)

Loading

Pipeline #1288019021 failed

Pipeline failed for cba4bbc5 on master

Deployed to produ‎ction‎ May 16, 2024
Deployed to can‎ary‎ May 14, 2024
Deployed to sta‎ging‎ May 13, 2024

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Ben added 1 commit

    added 1 commit

    • 66ee7941 - Refactor to match new engine changes

    Compare with previous version

  • Ben added 2 commits

    added 2 commits

    Compare with previous version

  • Ben added 1 commit

    added 1 commit

    • e22124a1 - Refactor group chat button to use group chat room service create

    Compare with previous version

  • Ben added 1 commit

    added 1 commit

    Compare with previous version

  • Ben added 1 commit

    added 1 commit

    Compare with previous version

  • Ben marked this merge request as draft

    marked this merge request as draft

  • Ben changed title from Disable and enable group chats engine#2728 (closed) to Draft: [front] Add ability to disable / enable group chats engine#2728 (closed)

    changed title from Disable and enable group chats engine#2728 (closed) to Draft: [front] Add ability to disable / enable group chats engine#2728 (closed)

  • Ben changed the description

    changed the description

  • Ben mentioned in merge request engine!1666 (merged)

    mentioned in merge request engine!1666 (merged)

  • Ben changed the description

    changed the description

  • Ben changed the description

    changed the description

  • Ben marked the checklist item As a user I can still delete normal chat rooms as completed

    marked the checklist item As a user I can still delete normal chat rooms as completed

  • Ben marked the checklist item 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 completed

    marked the checklist item 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 completed

  • Ben marked the checklist item As a group member, when chat is disabled, I see no chat room button at the top of the group. as completed

    marked the checklist item As a group member, when chat is disabled, I see no chat room button at the top of the group. as completed

  • Ben marked the checklist item As a group member, I see no option to enable and disable in the dropdown menu. as completed

    marked the checklist item As a group member, I see no option to enable and disable in the dropdown menu. as completed

  • Ben marked the checklist item As a group owner, group chats can be enabled via chat room button at top of group and appear in chat rooms list. as completed

    marked the checklist item As a group owner, group chats can be enabled via chat room button at top of group and appear in chat rooms list. as completed

  • Ben marked the checklist item As a group owner, group chats can be enabled / disabled via dropdown and appear in chat rooms list when active. as completed

    marked the checklist item As a group owner, group chats can be enabled / disabled via dropdown and appear in chat rooms list when active. as completed

  • Ben changed the description

    changed the description

  • Ben marked the checklist item As a group owner, group chats can be enabled / disabled via dropdown and appear in chat rooms list when active. as completed

    marked the checklist item As a group owner, group chats can be enabled / disabled via dropdown and appear in chat rooms list when active. as completed

  • Ben marked the checklist item As a group owner, group chats can be enabled via chat room button at top of group and appear in chat rooms list. as completed

    marked the checklist item As a group owner, group chats can be enabled via chat room button at top of group and appear in chat rooms list. as completed

  • Ben marked the checklist item As a group member, I see no option to enable and disable in the dropdown menu. as completed

    marked the checklist item As a group member, I see no option to enable and disable in the dropdown menu. as completed

  • Ben marked the checklist item As a group member, when chat is disabled, I see no chat room button at the top of the group. as completed

    marked the checklist item As a group member, when chat is disabled, I see no chat room button at the top of the group. as completed

  • Ben marked the checklist item 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 completed

    marked the checklist item 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 completed

  • Ben marked the checklist item As a user I can still delete normal chat rooms as completed

    marked the checklist item As a user I can still delete normal chat rooms as completed

  • Ben marked this merge request as ready

    marked this merge request as ready

  • Ben changed the description

    changed the description

  • Ben added 5 commits

    added 5 commits

    • 946c0b7f...7835e977 - 4 commits from branch master
    • ea98fe5f - Merge branch 'master' of gitlab.com:minds/front into feat/disable-chat-e2728

    Compare with previous version

  • Mark Harding approved this merge request

    approved this merge request

  • merged

  • Mark Harding mentioned in commit cba4bbc5

    mentioned in commit cba4bbc5

Please register or sign in to reply
Loading