Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
2.97k stars 2.48k forks source link

"Group/room name" field out of Settings and into Report #40858

Open dragnoir opened 1 week ago

dragnoir commented 1 week ago

Details

This PR move the Group Chat "Group/Room name" field out of Settings and into Report Details

Fixed Issues

$ https://github.com/Expensify/App/issues/40262 PROPOSAL: https://github.com/Expensify/App/issues/40262#issuecomment-2058957823

Tests

  1. Open a group report or a room
  2. click on the header to open the details page
  3. check if there's a new menu item for the Group/Room name

Offline tests

QA Steps

  1. Open a group report or a room
  2. click on the header to open the details page
  3. check if there's a new menu item for the Group/Room name

PR Author Checklist

Screenshots/Videos

Android: Native ![image](https://github.com/Expensify/App/assets/12425932/71072929-a973-46b9-8ef7-ac347e583291)
Android: mWeb Chrome ![image](https://github.com/Expensify/App/assets/12425932/51e20ad2-932f-4a98-a5b3-a1e24a842c27)
iOS: Native ![image](https://github.com/Expensify/App/assets/12425932/b5922d91-e821-4505-bc01-177b67694e7b)
iOS: mWeb Safari ![image](https://github.com/Expensify/App/assets/12425932/96e75d89-7653-424b-ad5b-0ad01c0b3700)
MacOS: Chrome / Safari ![image](https://github.com/Expensify/App/assets/12425932/a976e83b-f665-44f6-b86e-5b0a32266a5a)
MacOS: Desktop ![image](https://github.com/Expensify/App/assets/12425932/8a3236f9-6cc0-4202-b6c3-0b2f3f94a48f)
melvin-bot[bot] commented 1 week ago

@eVoloshchak Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

dragnoir commented 1 week ago

Some screenshots:

Groupe:

image

Room:

image

Admin room:

image

Deprecated group:

image

Long workspace name:

image

Long group name:

image

long room name:

image

dragnoir commented 1 week ago

Archived room:

image

dragnoir commented 1 week ago

@shawnborton you may want to review this!

shawnborton commented 6 days ago

For archived rooms, I think they should look identical to room names that can't be edited, like so: image

No need to create a separate design style for archived rooms in my opinion. cc @Expensify/design for vis.

Otherwise will spin up a test build now.

github-actions[bot] commented 6 days ago
:test_tube::test_tube: Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! :test_tube::test_tube: Android :robot: iOS :apple:
https://ad-hoc-expensify-cash.s3.amazonaws.com/android/40858/index.html https://ad-hoc-expensify-cash.s3.amazonaws.com/ios/40858/index.html
Android iOS
Desktop :computer: Web :spider_web:
https://ad-hoc-expensify-cash.s3.amazonaws.com/desktop/40858/NewExpensify.dmg https://40858.pr-testing.expensify.com
Desktop Web

:eyes: View the workflow run that generated this build :eyes:

dannymcclain commented 6 days ago

Test build is looking pretty good!

shawnborton commented 6 days ago

Testing now and reporting a few things:

For workspace chats, we should also update the way we display the name: CleanShot 2024-04-29 at 15 24 42@2x

From our mocks: CleanShot 2024-04-29 at 15 26 17@2x

Note that we want to update the workspace room avatar, but I think we can handle that in a different PR.

dragnoir commented 6 days ago

For archived rooms, I think they should look identical to room names that can't be edited

Archived rooms don't belong to Workspaces. Do I have just to remove the part where the workspace is? "In....."

shawnborton commented 6 days ago

Archived rooms are indeed on workspaces, for example: CleanShot 2024-04-29 at 15 43 04@2x

dragnoir commented 6 days ago

For workspace chats, we should also update the way we display the nam

for this, updates as we have on groups?

Workspace name: My WorkspaceName

shawnborton commented 6 days ago

So the thing with workspace rooms is that they have a different title depending if the Submitter or Admin is viewing them.

Submitter sees: CleanShot 2024-04-29 at 15 55 20@2x

Admin currently sees: CleanShot 2024-04-29 at 15 54 41@2x

So maybe something like this makes sense? CleanShot 2024-04-29 at 15 58 13@2x

Thoughts @Expensify/design?

dragnoir commented 6 days ago

I think the "Workspace" label will be double, top and bottom

image

shawnborton commented 6 days ago

Yeah, that's why I am suggesting we just reuse "Room name" - see my mock above

shawnborton commented 6 days ago

Also I don't think you can rename those, so there wouldn't be an arrow on the right.

dannymcclain commented 6 days ago

Looks good to me Shawn & I agree.

And here's a quick mock of an archived room for reference. Look right to you @shawnborton? CleanShot 2024-04-29 at 15 33 42@2x

shawnborton commented 6 days ago

Love it, that looks perfect to me.

dubielzyk-expensify commented 5 days ago

That looks great from my end as well

dragnoir commented 5 days ago

@shawnborton any idea how can I simulate the "Submitter View" for a workspace?

Create a workspace by another user then submit a report to it by my account?

shawnborton commented 5 days ago

Yup, create a workspace as an "Admin" and then invite an "Employee" to your workspace. Then from the employee's perspective, submit an expense to the workspace.

dragnoir commented 4 days ago

Admin View

image

Submitter View

image

shawnborton commented 4 days ago

I think that's looking good. cc @JmillsExpensify - just letting you know we're getting a head start on the room name styles here, though I know we might have more changes coming with your doc.

dragnoir commented 3 days ago

@shawnborton what about invoices? 🤔

image

@eVoloshchak pls if we can close this ASAP, daily updates and conflicts 😁

shawnborton commented 3 days ago

In that case, I think we can drop the "In Invoices" and just say "Invoices"

Also in talking with @JmillsExpensify, I think we want it to say "Name" instead of "Room name" for workspace chats and invoice chats.