-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[HOLD for payment 2021-12-15] “Cannot remove yourself from workspace” banner is shown over and over again while inviting a new member - Reported by: @aswin-s #6287
Comments
Triggered auto assignment to @sketchydroide ( |
For some reason, I am not able to reproduce this by following the given reproduction steps. I am unable to click the own admin checkbox itself. It shows the following tooltip. @isagoico Can you help with some clarity on the reproduction steps? |
My bad! I just updated the platforms affected. This is only reproducible in mobile. |
Thanks @isagoico. This definetly sounds like a bug, specialy for being platform specific. Also setting this as an external. |
Triggered auto assignment to @michaelhaxhiu ( |
Proposed Solution:Here is the Problem: It is calling componentDidUpdate() method when goes to background. App/src/components/CheckboxWithTooltip/CheckboxWithTooltipForMobileWebAndNative.js Lines 14 to 20 in 6701446
Solution: Put condition at line 19 i.e. If componentDidUpdate(prevProps) {
if (!this.props.toggleTooltip) {
return;
}
if (prevProps.toggleTooltip !== this.props.toggleTooltip) {
Growl.show(this.props.text, this.props.growlType, 3000);
}
} Here is screen record, it works as expected with this solution: iOSiOS.movAndroidAndroid.mp4Mobile WebMobileWeb.mov |
Proposal This bug is occurring because in App/src/pages/workspace/WorkspaceMembersPage.js Lines 154 to 156 in 6701446
The simpest way to fix it is to set
IMG_9639.MP4android.mp4Mobile.web.mov |
Upwork job post: https://www.upwork.com/jobs/~01a1b16b70fceaf5f1
We should have 2 hires for this job basically. |
Triggered auto assignment to @johnmlee101 ( |
@PrashantMangukiya I like your proposal! #6287 (comment) let's go with that. |
📣 @PrashantMangukiya You have been assigned to this job by @johnmlee101! |
Done ✅ - @PrashantMangukiya you are hired on Upwork. |
Thanks @michaelhaxhiu Preparing pr now and submit asap. |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.18-3 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 2021-12-15. 🎊 |
Both contributors are paid. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
Banner notifying the user that own account can't be removed from workspace should show only one.
Actual Result:
Banner keeps showing up after clicking on invite button.
Workaround:
Force closing and reopening the app fixes the issue.
Platform:
Where is this issue occurring?
Version Number: 1.1.14-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
RPReplay_Final1636709392.MP4
Upwork job post: https://www.upwork.com/jobs/~01a1b16b70fceaf5f1
Issue reported by: @aswin-s
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1636709473156600
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: