App icon indicating copy to clipboard operation
App copied to clipboard

[HOLD for payment 2021-12-06] [HOLD for payment 2021-11-25] Update "Be the first person to comment!" screen when you start a new DM

Open mallenexpensify opened this issue 5 years ago • 118 comments

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Action Performed:

Sent DM message to someone I hadn't messaged before

Expected Result:

The blank screen should have avatars, a message for "This is the beginning of your chat history with XXXX (pronouns), as well as showing the timezone above the message input when messaging someone 1:1.

Actual Result:

Only see "Be the first person to comment!"

Solution

Let's update this state/area to include the users icon, name, preferred pronouns and the time in their time zone (only if 1:1 DM).
image

Design files are here in Figma

Platform:

Where is this issue occurring?

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Expensify/Expensify Issue URL: link

View all open jobs on Upwork

Upwork job: https://www.upwork.com/jobs/~0159561fdd76ccd036

mallenexpensify avatar Aug 16 '21 18:08 mallenexpensify

Triggered auto assignment to @michaelhaxhiu (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

MelvinBot avatar Aug 16 '21 18:08 MelvinBot

@mallenexpensify

What's it gonna be for the new group chat?

Screenshot 2021-08-17 at 12 37 42 AM

Santhosh-Sellavel avatar Aug 16 '21 19:08 Santhosh-Sellavel

Great point @Santhosh-Sellavel ! I addressed your question in an old internal issue we had been working on, I instructed folks to post comments/feedback to this issue. We have two choices

  1. Address group chats in this GH and figure out what we want before posting the job.
  2. Only focus on the single DM usecase for now and address groups later.

mallenexpensify avatar Aug 16 '21 20:08 mallenexpensify

Is this going to be external? @mallenexpensify If it's I'm interest then.

An overview of implementation details,

  • Will create a new component to show the required details.
  • Will use component instead of current textview, which shows 'be first to comment' in ReportActionsView.js
  • And add relevant styles or reuse available styles.
  • Also change placeholder text in chat input.

Santhosh-Sellavel avatar Aug 16 '21 20:08 Santhosh-Sellavel

It will very likely be external @Santhosh-Sellavel , @michaelhaxhiu needs to triage the issue first, part of that is figuring out what we want to do about group messages. My hunch is it's best to fix this issue specifically for the 1:1 DM usecase now then create a new issue in the future to address both group messages and possibly rooms.

@michaelhaxhiu, this shouldn't require a designer, an engineer should be able to take care of everything

mallenexpensify avatar Aug 16 '21 20:08 mallenexpensify

Great question about the group. I want to say lets work on how the 1:1 looks like and then probably handle the group in a new GH to keep things neat and tidy. I'd love to say whatever we use for 1:1 will work for the group but ard to say that as of now :)

rosegrech avatar Aug 16 '21 22:08 rosegrech

@megankelso @michelle-thompson I vaguely recall that we explored what this screen would look like for various use cases... actually I think it was @michelle-thompson that did it for Concierge Travel.

So basically we could do something like this? image

And maybe before we have those features ready to go, we could just use a generic message for the group situation like so: image

And then in terms of scalability, looks like Michelle had mocked up something like this for when a group has lots of participants: image

shawnborton avatar Aug 17 '21 07:08 shawnborton

Cool, happy to move forward with the generic messaging you've mocked up above!

michelle-thompson avatar Aug 17 '21 17:08 michelle-thompson

Sweet, so I think maybe we want to make the avatars in my mockup a bit smaller like your original mocks (the one at the bottom) for scalability purposes. Otherwise, then I think we just need to decide if we're going to add Group chats to the exported Upwork issue?

shawnborton avatar Aug 17 '21 17:08 shawnborton

Ahh, you mean so the size of the avatar never has to change? And I figure might as well add group chats to this issue.

michelle-thompson avatar Aug 17 '21 17:08 michelle-thompson

Yeah, I think I like the size you had here: image

...better than the larger size I used. So that gives us something like this: image

shawnborton avatar Aug 17 '21 17:08 shawnborton

Agreed, I think that looks good too

michelle-thompson avatar Aug 17 '21 17:08 michelle-thompson

I agree, this looks good! I do wonder if we should make this a bit more consistent. What comes to mind for me is using the existing UI pattern to show local time (above the chat input) and including the same "this is the beginning for your chat" message, but perhaps adding the pronouns. Curious for thoughts?

Screen Shot 2021-08-17 at 11 19 20 AM

megankelso avatar Aug 17 '21 18:08 megankelso

I'm into it! Though curious what this would look like if you were to DM someone in the same time zone?

michelle-thompson avatar Aug 17 '21 18:08 michelle-thompson

I'm suggesting it still show the time for the first chat, regardless of what time zone. Curious if you had something else in mind?

megankelso avatar Aug 17 '21 18:08 megankelso

Ahhh, I see. I think that would be fine too, I'm keen with either direction!

michelle-thompson avatar Aug 17 '21 22:08 michelle-thompson

Oh, I really like that idea about the timezone. Actually taking this a step further, perhaps the name above the message for the 1:1 case is redundant as well? So that leaves us with this:

image

shawnborton avatar Aug 18 '21 08:08 shawnborton

yes, agreed! we can drop the name. I like the addition of pronouns to the group but I'm not sure how scaleable it is for larger group chats. For example, if we added them to the next screen:

Screen Shot 2021-08-18 at 11 48 15 AM

Curious for thoughts. would it be weird to make a rule that pronouns are included only for group chats of 3 people and under or so?

megankelso avatar Aug 18 '21 18:08 megankelso

I think you can have up to eight people in DMs, so it's possible to include pronouns for everyone! It looks a little busy, but I don't particularly mind that since this screen is temporary.

image

michelle-thompson avatar Aug 18 '21 21:08 michelle-thompson

I agree, I think it will be okay. It's probably not very likely that all 8 members of the group will have their pronouns set anyways.

shawnborton avatar Aug 19 '21 07:08 shawnborton