Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[$250] Room - When you assign tasks for member outside private room, we should show a popup inviting them #39799

Open
1 of 6 tasks
izarutskaya opened this issue Apr 7, 2024 · 55 comments
Assignees
Labels
Help Wanted Apply this label when an issue is open to proposals by contributors Internal Requires API changes or must be handled by Expensify staff NewFeature Something to build that is a new item. Weekly KSv2

Comments

@izarutskaya
Copy link

izarutskaya commented Apr 7, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: v1.4.60-13
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers): nhut.nguyenminh.it+5000@gmail.com
/ nhut.nguyenminh.it+2@gmail.com
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team

Action Performed:

Pre-condition: A private room, two accounts ( 1 inside room and 1 outside room - we call A and B)

  1. Open the app
  2. On A Account, access to Private Room
  3. Assign a task for B
  4. On B, receive a task
  5. B tries to action with Task (mark complete ..)

Expected Result:

Same as a GROUP chat function.
When assigning tasks to outside members, a popup invites them to show up, and we can invite them to the room.
After B joined a Room, can see tasks or everything in the room
Before B joins a Room, B can't see a Room in the LHN component.

Actual Result:

Assign tasks for members outside the private room, not show a popup inviting them

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6438926_1712305689784!Screenshot_2024-04-05_at_15 11 21 Bug6438926_1712305689784!Screenshot_2024-04-05_at_15 11 33

View all open jobs on GitHub

Bug6438926_1712305689797.RScreen_Recording_2024-04-05_at_15.08.31.1.mp4
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~018bfc480615cf43ae
  • Upwork Job ID: 1777344480525914112
  • Last Price Increase: 2024-05-07
@izarutskaya izarutskaya added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Apr 7, 2024
Copy link

melvin-bot bot commented Apr 7, 2024

Triggered auto assignment to @twisterdotcom (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@twisterdotcom
Copy link
Contributor

Task bugs are MEDIUM or LOW at the moment. I do think this is a bug, because we should prompt you to invite, even if you agree not to. It's great you can assign tasks outside of private rooms and have somebody complete them back to the private room, but it would be confusing to an end user if they thought that made them a member, which I think is a logical jump.

39799.mp4

cc @quinthar.

@twisterdotcom twisterdotcom added the External Added to denote the issue can be worked on by a contributor label Apr 8, 2024
@melvin-bot melvin-bot bot changed the title Room - Assign tasks for member outside private room, not show a popup inviting them [$250] Room - Assign tasks for member outside private room, not show a popup inviting them Apr 8, 2024
Copy link

melvin-bot bot commented Apr 8, 2024

Job added to Upwork: https://www.upwork.com/jobs/~018bfc480615cf43ae

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 8, 2024
Copy link

melvin-bot bot commented Apr 8, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh (External)

@twisterdotcom twisterdotcom changed the title [$250] Room - Assign tasks for member outside private room, not show a popup inviting them [$250] Room - When you assign tasks for member outside private room, we should show a popup inviting them Apr 8, 2024
@twisterdotcom twisterdotcom added Weekly KSv2 and removed Daily KSv2 labels Apr 8, 2024
@VickyStash
Copy link
Contributor

Hi, I'm Viktoryia from Callstack - expert contributor group - and I would like to work on this issue.

@VickyStash
Copy link
Contributor

@izarutskaya In the expected result section you mentioned that we should act the same way as in the group chat. I've checked how the group chat works and it looks like it does all the same, I don't see an invitation popup. Could you please help me to figure out how the expected result should look?

@twisterdotcom
Copy link
Contributor

Like this:
image

@VickyStash
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

Assigning tasks to a user outside of the private room doesn't trigger a concierge whisper message with this user invitation.

What is the root cause of that problem?

The API doesn't return an ACTIONABLEMENTIONWHISPER report action for task assignees outside of the room, though it does it for usual mentions of members outside of the room.

What changes do you think we should make in order to solve the problem?

The API should return a report action where actionName is ACTIONABLEMENTIONWHISPER and inviteeAccountIDs has the id of the assignee in case the created task assignee isn't a member of the private room. The FE already supports this type of message, so it should be displayed as expected.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Apr 10, 2024
@twisterdotcom
Copy link
Contributor

@hoangzinh let me know how you feel about this proposal.

@twisterdotcom twisterdotcom added Weekly KSv2 and removed Daily KSv2 labels Apr 10, 2024
@hoangzinh
Copy link
Contributor

After B joined a Room, can see tasks or everything in the room
Before B joins a Room, B can't see a Room in the LHN component.

@VickyStash could you share how would you solve those requirements?

@VickyStash
Copy link
Contributor

@hoangzinh I'll try to provide more details here tomorrow, currently working on a higher priority ticket

Copy link

melvin-bot bot commented Apr 15, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@VickyStash
Copy link
Contributor

@hoangzinh I've made more investigations, and that's what I've found. Currently, if user A creates a private room and inside the room creates a task assigned to user B:

  1. The task is also sent to the DM between user A and user B. Is it expected to send a task from a private room to the DM as well?
  2. Since the task is sent to DM, it's also visible in LHN.
  3. User B doesn't have access to a private room and can't see it in the search/LHN options.

The solution depends on whether it's expected to send a task from a private room to the DM.
Here is a video:

TEST_WEB_DESKTOP1.mp4

@hoangzinh
Copy link
Contributor

The task is also sent to the DM between user A and user B. Is it expected to send a task from a private room to the DM as well?

I think it's expected if user B is in that private room.

@twisterdotcom
Copy link
Contributor

It's definitely expected that the task is sent to the DM - the system purposefully allows you to assign tasks to somebody who doesn't have the full context of the room; this is normal for people doing tasks part of a wider process.

We just want to always allow the assigner to invite them there and then because:

  1. It makes that step easy
  2. It prompts the assigner with the information that this user isn't aware of the full context, meaning they can choose to make them aware or not.

@VickyStash
Copy link
Contributor

@twisterdotcom Got it, thank you for confirming!
But should the assigned user be able to complete the task from DM, if the task was created in a private room and the user wasn't added as a member of this room?
Right now the app shows an error, but the task turns into a completed (though it takes some time for it to be updated):

TASK_TEST1.mp4

Is it expected? Or should we hide the task from DM/LHN if the assigned user wasn't added as a member? Or maybe the error shouldn't be shown?

@jasperhuangg
Copy link
Contributor

I can handle the back-end logic for this, probably some time this week.

@luacmartins
Copy link
Contributor

Thanks @jasperhuangg!

@melvin-bot melvin-bot bot added the Overdue label May 9, 2024
@jasperhuangg
Copy link
Contributor

Have a few local changes, caught up in some higher priority initiatives at the moment.

@melvin-bot melvin-bot bot removed the Overdue label May 9, 2024
@jasperhuangg jasperhuangg added Weekly KSv2 and removed Daily KSv2 labels May 10, 2024
@jasperhuangg
Copy link
Contributor

Demoting to Weekly, will bring it back to Daily once I can focus more on this.

@jasperhuangg jasperhuangg added Internal Requires API changes or must be handled by Expensify staff NewFeature Something to build that is a new item. and removed External Added to denote the issue can be worked on by a contributor Bug Something is broken. Auto assigns a BugZero manager. labels May 10, 2024
Copy link

melvin-bot bot commented May 10, 2024

Current assignee @hoangzinh is eligible for the Internal assigner, not assigning anyone new.

Copy link

melvin-bot bot commented May 10, 2024

Triggered auto assignment to @isabelastisser (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.

@melvin-bot melvin-bot bot added the Overdue label May 20, 2024
@isabelastisser
Copy link
Contributor

Not overdue. @jasperhuangg deprioritized it to weekly. We should have an update soon!

@melvin-bot melvin-bot bot removed the Overdue label May 20, 2024
@jasperhuangg
Copy link
Contributor

Just got back from OOO, prioritizing some #fast-apis work over this at the moment in lieu of the merge slush. Will have more updates soon.

@melvin-bot melvin-bot bot added the Overdue label May 31, 2024
@isabelastisser
Copy link
Contributor

not overdue.

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels May 31, 2024
@jasperhuangg
Copy link
Contributor

Still haven't gotten around to doing this yet, focusing on #fast-apis work.

@melvin-bot melvin-bot bot removed the Overdue label May 31, 2024
@melvin-bot melvin-bot bot added the Overdue label Jun 10, 2024
@jasperhuangg
Copy link
Contributor

Still haven't gotten around to doing this yet, focusing on #fast-apis work.

@melvin-bot melvin-bot bot removed the Overdue label Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help Wanted Apply this label when an issue is open to proposals by contributors Internal Requires API changes or must be handled by Expensify staff NewFeature Something to build that is a new item. Weekly KSv2
Projects
Status: No status
Development

No branches or pull requests

8 participants