Skip to content

[CRITICAL] [Groups] Frontend (Part 2): Update the Group Chat creation flow UI and Details page #34927

Description

@marcaaron

Doc Section: https://docs.google.com/document/d/1NcklRh6NogUWhKL0J5udTE8bok3_9ZoZ57JTllP-QJg/edit#bookmark=id.pa6oyw3cxv7q

Holding on:

Group Chats Design Doc

High level section with mockups: https://docs.google.com/document/d/1NcklRh6NogUWhKL0J5udTE8bok3_9ZoZ57JTllP-QJg/edit#bookmark=id.9fdzsieljz63

At this point, the latest app version has already migrated off of Group DMs and is creating Group Chats under the hood. We now need to add the ability to:

We will also allow people to do these things + invite members via the "Details" page when tapping on a Group chat.

By the end of this ticket we should be able to:

Creation

  • Give a custom group name

    • Tapping/clicking the group name on the confirmation will push to a new page where editing is possible. The group name is pre-selected to optimize for adding a custom, unique name instead of the default
      2024-01-17_11-29-07
  • Upload a custom avatar

    • This should work similar to how uploading an avatar works for workspaces (example)
      2024-01-17_11-36-50

Both of these will need to be staged/stored locally so that they can be passed to the API when we tap "Start group"

Details view (accessible from tapping on the Avatar in the header of the chat)

2024-01-17_11-35-05

  • Avatar can be updated from here (by anyone)
  • The "Leave" button will allow a user to leave the Group (HOLD on API changes)
  • The "Pin" button will be the same action as right-click to pin
  • "Call" will generate a Google Meet link
  • Share page - works the same as existing chats
  • Private notes - same as existing chats
  • Settings - same as existing chats however we can also change the Name of the report here (anyone)

2024-01-17_11-41-20

Members page

2024-01-17_11-42-33

The design for this closely follows the design for the Simplified Collect design doc so should be held on those changes and/or worked on in parallel and we will have a shared component for both flows.

  • We can see who is an admin and not in the Members page (pill tag)
  • For admins, we can select multiple or all members (for bulk actions)

2024-01-17_12-02-30

  • Selecting members will replace the "Invite members" button with the n selected button with dropdown (shown above)
  • Note: The highlighting styles when members are selected.
  • Tapping the "3 selected" opens the popover menu with these options:
    • Remove members
    • Make admin (when at least one member is selected)
    • Make member (when at least one admin is selected)
  • Confirmation modal will be shown for "Remove members"

2024-01-17_12-06-16

  • For members (non-admins), we will see this:

2024-01-17_11-54-15

Tapping a row (not the checkbox) will bring them to these screens respectively:

Admins

2024-01-17_11-58-05

  • "Remove from group" option will launch a confirm modal
  • Role selector will launch a new screen like this:
    2024-01-17_12-01-06
  • Profile - takes you to the profile

Members

Just go direct to the profile screen for the user

2024-01-17_12-00-19

Invite member button

Opens to a new screen:

2024-01-17_11-49-54

  • Multiple members can be invited
  • "Invite" button shows when at least one member is staged
  • Redirect back to the "Members" page on success with new members visible.

2024-01-17_11-52-31

Testing membership changes

When a member is added/removed or their admin status changes we will display the following "system messages" and must confirm these messages are present and showing up correctly prior to launching these features.

2024-01-17_12-08-19

  • a system message will clarify when someone is invited, e.g. “invited %displayName%”, visible to all participants
  • Removing a member from a Group chat triggers a system message for all Group chat participants, e.g. “removed %displayName%”
  • When someone is made an admin, or demoted back to a member, we’ll use a “whisper” style message so that person knows that their role changed, e.g. “made %displayName% a member” or “made %displayName% an admin”

Metadata

Metadata

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions