Skip to content

[$250] MEDIUM: Allow arbitrary users to be added/removed to/from workspace chat via @mention or members list #35391

Description

@waterim

Problem:

Right now there are no possibilities to add anyone to the automatically created workspace chats, but it should be possible to add by "mention"; it's similarly not possible to remove someone who has been thus added.

Solution:

As discussed here, we would like to add this possibility to:

  1. Allow anyone to be added to the workspace chat via @mention
  2. Allow anyone to be added to the workspace chat via the Invite button of the members page
  3. Allow anybody who wasn't auto-added (ie, admins or the employee) to be removed via the members page

IMPORTANT details for workspace chats:

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~013623b6c6ce0881ae
  • Upwork Job ID: 1753488042510364672
  • Last Price Increase: 2024-06-28
  • Automatic offers:
    • brunovjk | Contributor | 0
Issue OwnerCurrent Issue Owner: @johncschuster

Activity

  1. changed the title [-]Add users to workspace chat by mentioning them.[/-] [+]Allow arbitrary users to be added/removed to/from workspace chat via @mention or members list[/+] on Feb 1, 2024
  2. quinthar commented on Feb 1, 2024

    @quinthar
    Contributor

    optimistically assigning to @waterim

  3. waterim commented on Feb 2, 2024

    @waterim
    ContributorAuthor

    @quinthar Yes, I can take this one
    Im still OOO(sick leave) today and can work in this one from Monday.

  4. jasperhuangg commented on Feb 2, 2024

    @jasperhuangg
    Contributor

    This has to be fixed internally, I can take this

  5. self-assigned this
    on Feb 2, 2024
  6. added
    InternalRequires API changes or must be handled by Expensify staff
    on Feb 2, 2024
  7. melvin-bot commented on Feb 2, 2024

    @melvin-bot
  8. melvin-bot commented on Feb 2, 2024

    @melvin-bot

    Triggered auto assignment to Contributor Plus for review of internal employee PR - @thesahindia (Internal)

  9. jasperhuangg commented on Feb 2, 2024

    @jasperhuangg
    Contributor

    Won't need C+ reviews for these PRs, at least for now

  10. 112 remaining items

  11. changed the title [-][HOLD for payment 2024-06-24] [HOLD for payment 2024-06-06] [$500] MEDIUM: Allow arbitrary users to be added/removed to/from workspace chat via @mention or members list[/-] [+][HOLD for payment 2024-06-28] [HOLD for payment 2024-06-24] [HOLD for payment 2024-06-06] [$500] MEDIUM: Allow arbitrary users to be added/removed to/from workspace chat via @mention or members list[/+] on Jun 21, 2024
  12. melvin-bot commented on Jun 21, 2024

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.85-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2024-06-28. 🎊

    For reference, here are some details about the assignees on this issue:

  13. melvin-bot commented on Jun 21, 2024

    @melvin-bot

    BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

    • [@mananjadhav] Please propose regression test steps to ensure the new feature will work correctly on production in further releases.
    • [@johncschuster] Link the GH issue for creating/updating the regression test once above steps have been agreed upon.
  14. brunovjk commented on Jun 24, 2024

    @brunovjk
    Contributor

    Acknowledged! I'll issue payment on the 24th!

    @johncschuster Could we get an increase in the bounty here? Mainly to cover regression. Extensive testing and adjustments were necessary during and after the PR was merged. Thank you 🙏

    cc: @jasperhuangg

  15. johncschuster commented on Jun 24, 2024

    @johncschuster
    Contributor

    @brunovjk Let me check in with the team about your request. I'll follow up in a bit!

  16. brunovjk commented on Jun 24, 2024

    @brunovjk
    Contributor

    Thank you :D

  17. johncschuster commented on Jun 25, 2024

    @johncschuster
    Contributor

    @brunovjk, I chatted with the team, and it seems like a regression was introduced here, which would result in a payment reduction, not an increase. Can you tell me a bit more about why you feel there should be an increase?

  18. brunovjk commented on Jun 26, 2024

    @brunovjk
    Contributor

    Thank you @johncschuster. Here's an explanation:

    The initial task here was Allow arbitrary users to be added/removed to/from workspace chat via @mention or members list PR, then we had to update "who can" select/add/remove and which users can be selected/removed on workspace chats PR. That's why I asked for an increase in the reward, since this second PR involved a lot of testing and two regressions, #43828 and #42928 .
    My idea was for the bounty to be $1000, minus the two regressions totalizing $250. But, I am in favor of any of your decisions.

    @jasperhuangg do we need to wait for #42928 to proceed with payment here?

  19. johncschuster commented on Jun 28, 2024

    @johncschuster
    Contributor

    Payment Summary:

    Contributor: @brunovjk - $1000 $250 (reduced for 2x regressions) - paid via Upwork - PAID
    Contributor+: @mananjadhav - $1000 $250 (reduced for 2x regressions) - requires payment through NewDot Manual Requests

  20. changed the title [-][HOLD for payment 2024-06-28] [HOLD for payment 2024-06-24] [HOLD for payment 2024-06-06] [$500] MEDIUM: Allow arbitrary users to be added/removed to/from workspace chat via @mention or members list[/-] [+][$250] MEDIUM: Allow arbitrary users to be added/removed to/from workspace chat via @mention or members list[/+] on Jun 28, 2024
  21. melvin-bot commented on Jun 28, 2024

    @melvin-bot

    Upwork job price has been updated to $250

  22. johncschuster commented on Jun 28, 2024

    @johncschuster
    Contributor

    @mananjadhav, can you propose a regression test checklist?

  23. mananjadhav commented on Jun 28, 2024

    @mananjadhav
    Collaborator

    @johncschuster I think the test steps from the PR here. I are good for the checklist. Can we please use that?

    Pre-condition:

    1. We need 4 accounts for this test:

    • Workspace Creator
    • Workspace Admin
    • Workspace Member
    • No-workspace member (invited)

    2. Login in the app as "Workspace Creator"
    3. Create a workspace
    4. Go to the automatically created "Workspace Chat"
    5. Go to the "Report Details"
    6. Go to "Members" page Click "Invite"
    7. Invite all the other 3 accounts (admin, member, and invited) to the "Workspace Chat"
    8. Still on the "Members" page, change the admin role to Administrator 8. Click on the "Global Fab" "Start Chat" Select "#Room" tab
    9. Create a "workspace-room"
    10. Invite all the other 3 accounts (admin, member, and invited) to the "workspace-room"

    Tests:

    1. Logged as the "Workspace Creator":

    i. Go to the "Workspace Chat" Report Details page
    ii. Verify that the "Leave" button doesn't show, as you are a "workspace admin".
    iii. Go to "Members" page
    iv. Verify that you cannot select/remove admin and default added members
    v. Verify that you can "Invite" and "Remove" (admin cannot be removed) members
    vi. Go to the "workspace-room" Report Details page
    vii. Go to "Members" page
    viii. Verify that you can "Invite" and "Remove" (you cannot remove yourself here) members

    2. Logged as the "Workspace Admin":

    i. Go to the "Workspace Chat" Report Details page
    ii. Verify that the "Leave" button doesn't show, as you are a "workspace admin".
    iii. Go to "Members" page
    iv. Verify that you cannot select/remove admin and default added members
    v. Verify that you can "Invite" and "Remove" (admin cannot be removed) members
    vi. Go to the "workspace-room" Report Details page
    vii. Go to "Members" page
    viii. Verify that you can "Invite" and "Remove" (you cannot remove yourself here) members

    3. Logged as the "Workspace Member":

    i. Go to the "Workspace Chat" Report Details page
    ii. Verify that the "Invite" button does not show.
    iii. Go to "Members" page
    iv. Verify that you cannot "Invite" and "Remove" members.
    v. Logged as the "Workspace Member" Go to the "workspace-room" Report Details page
    vi. Verify that the "Invite" button does not show.
    vii. Go to "Members" page
    viii. Verify that you can "Invite" and "Remove" (you cannot remove yourself here) members.

    4. Logged as the "Workspace Chat Invited":

    i. Go to the "Workspace Chat" Report Details page
    ii. Verify that the "Invite" button does not show.
    iii. Go to "Members" page
    iv. Verify that you cannot "Invite" and "Remove" members.
    v. Logged as the "Workspace Room Invited" Go to the "workspace-room" Report Details page
    vi. Verify that the "Invite" button does show and you can invite members to the chat.

  24. JmillsExpensify commented on Jun 28, 2024

    @JmillsExpensify
    Contributor

    $250 approved for @mananjadhav

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionExternalAdded to denote the issue can be worked on by a contributorNewFeatureSomething to build that is a new item.WeeklyKSv2

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions