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
3.14k stars 2.64k forks source link

[HOLD for payment 2024-07-22] [$250] [HOLD for payment 2024-07-17] [HOLD for payment 2024-07-10] Workspace - Inconsistent delete modal display and brief error when deleting a user #44631

Closed lanitochka17 closed 1 week ago

lanitochka17 commented 3 weeks ago

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: 9.0.3-2 Reproducible in staging?: Y Reproducible in production?: N If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Email or phone of affected tester (no customers): shussain+chrome1@applausemail.com Issue reported by: Applause - Internal Team

issue found when executing PR https://github.com/Expensify/App/pull/44008

Action Performed:

Precondition: Create Control workspace in OldDot, make sure you can see it in NewDot In OldDot, make sure the Control workspace has "Advanced Approvals" set up (on the workspace settings -> Members tab) In OldDot, Add at least 2 other members (non-admin) In OldDot, Set up 1 of the members (Member A) as the submitsTo of the other member (Member B)

in NewDot

  1. Go to the control WS created above
  2. Open member page
  3. Select user A and click on remove
  4. Verify that the confirm modal appears with the warning prompt [Selected member] is an approver in this workspace. When you unshare this workspace with them, we'll replace them in the approval workflow with the workspace owner, [Workspace Owner].
  5. Open the member detail page of member A
  6. Click on Remove from workspace button
  7. Verify that the confirm modal appears with the same warning prompt in the step 4
  8. Click on remove
  9. Verify that the user is removed from the WS

Expected Result:

The delete modal should consistently display the same user identifier (either "Username" or "Email") on both the list member page and the detail page. No error should appear when deleting a user

Actual Result:

Inconsistent delete modal display and brief error when deleting a user

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/b91344c2-bed5-4d73-ac26-e22e15ffced8

https://github.com/Expensify/App/assets/78819774/343d77d6-12de-4eb8-a90a-5e6f1eb8314f

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @greg-schroeder
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01be201c5b6d5fc51e
  • Upwork Job ID: 1811099866306463912
  • Last Price Increase: 2024-07-10
melvin-bot[bot] commented 3 weeks ago

Triggered auto assignment to @yuwenmemon (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

github-actions[bot] commented 3 weeks ago

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.
Beamanator commented 2 weeks ago

Not a web-e blocker, looks like this is caused by https://github.com/Expensify/App/pull/44008

Beamanator commented 2 weeks ago

@nkdengineer it looks like your PR https://github.com/Expensify/App/pull/44008 isn't working perfectly in a few conditions, can you please take a look at this?

nkdengineer commented 2 weeks ago

It's fixed by @yuwenmemon

Beamanator commented 2 weeks ago

oh i should have looked at linked PRs 😅

melvin-bot[bot] commented 2 weeks ago

Reviewing label has been removed, please complete the "BugZero Checklist".

melvin-bot[bot] commented 2 weeks ago

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

If no regressions arise, payment will be issued on 2024-07-10. :confetti_ball:

ikevin127 commented 1 week ago

I'm the only one requiring payment here for C+ review of PR: https://github.com/Expensify/App/pull/44654#issuecomment-2197796335.

@yuwenmemon When you get a chance, mind adding the Bug label to this issue for payment ?

melvin-bot[bot] commented 1 week ago

Triggered auto assignment to @greg-schroeder (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

melvin-bot[bot] commented 1 week ago

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

If no regressions arise, payment will be issued on 2024-07-17. :confetti_ball:

melvin-bot[bot] commented 1 week ago

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

ikevin127 commented 1 week ago

@greg-schroeder Payment is due today (10th) as this was deployed to production manually in 9.0.3-7 (reference).

melvin-bot[bot] commented 1 week ago

Job added to Upwork: https://www.upwork.com/jobs/~01be201c5b6d5fc51e

melvin-bot[bot] commented 1 week ago

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

greg-schroeder commented 1 week ago

Sent you an offer @ikevin127

ikevin127 commented 1 week ago

@greg-schroeder Accepted, thank you!

greg-schroeder commented 1 week ago

Paid

melvin-bot[bot] commented 4 days ago

Reviewing label has been removed, please complete the "BugZero Checklist".

melvin-bot[bot] commented 4 days ago

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

If no regressions arise, payment will be issued on 2024-07-22. :confetti_ball:

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

melvin-bot[bot] commented 4 days ago

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