Skip to content

[front] Edit multi-user chat name functionality minds#4845

Ben requested to merge feat/edit-chat-name-m4845 into master

Ticket(s) / Related Merge Requests

Summary of Changes

Edit chat name functionality for multi-user chats.

Testing Considerations

Note: we agreed NOT to do chagning of avatars yet.

  • Edit chat name options appears only when owner for multi-user chat rooms.
  • Edit chat name options do not appear for group chats.
  • Edit chat name options do not appear for one-on-one chats.
  • I can edit my chat name from the pencil icon on the chat topbar.
  • I can edit my chat name from the chat room details panel text button.
  • Chat rooms still work and can be swapped between.

Deployment Considerations

Ensure that you update MySQL

ALTER TABLE `minds_chat_rooms`
    ADD room_name varchar(128) 
    AFTER room_type;

Regression Scope

  • Chat rooms themselves have had a service level refactor, so should be tested thoroughly (loading, swapping rooms etc) .
  • Chat room names.

Platform Affected (web, mobile, etc)

Web.

Developer Testing Completed

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

Screenshots / Screen Recording

Edit chat name options appears only when owner for multi-user chat rooms.

image

image

image

image

Edit chat name options do not appear for group chats.

image

image

Edit chat name options do not appear for one-on-one chats.

image

image

I can edit my chat name

simplescreenrecorder-2024-05-15_17.17.54

simplescreenrecorder-2024-05-15_17.18.36

Chat rooms still work and can be swapped between.

simplescreenrecorder-2024-05-15_17.18.59

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