-
Notifications
You must be signed in to change notification settings - Fork 3k
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] Group - ‘Make member’ option is displayed when selecting a member #40422
Comments
Triggered auto assignment to @adelekennedy ( |
Triggered auto assignment to @rlinoz ( |
👋 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:
|
@adelekennedy I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors. |
We think this issue might be related to the #vip-vsb. |
ProposalPlease re-state the problem that we are trying to solve in this issue.‘Make member’ option is displayed in groups even when user is already a member, and vice-versa. What is the root cause of that problem?Make member option is added directly in options without any check. Admin option also doesn't have any check, so same issue will happen there as well ("Make admin" will show even though user is already an admin). App/src/pages/ReportParticipantsPage.tsx Lines 240 to 245 in 9b839f4
What changes do you think we should make in order to solve the problem?"Make member" option should only be shown when user is admin.
Also, add selectedMembers as a dependency in useMemo. And remove both of them from the existing place where they are added directly in Note: We need to discuss if we want to handle the case when both types are selected (atleast one admin and one member). As of now, both options would show in such a case. Full code
|
@marcaaron Can I fix this? I've posted a proposal above. |
@rlinoz is this actually a deploy blocker? Or should we deprioritize this to daily instead of hourly? |
Nothing weird happens if we click on make member, so I agree this is not a blocker, thanks @adelekennedy ! |
anotha one for you @rlinoz I think this can be worked on externally - do you need to investigate this first before I do that, or can I move forward with adding the |
Yep, we can make it external |
Job added to Upwork: https://www.upwork.com/jobs/~0136b9de7bfa3b057f |
📣 @shubham1206agra 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@ShridharGoel's proposal looks good. 🎀 👀 🎀 C+ reviewed Side Note - Use |
Current assignee @rlinoz is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @ShridharGoel 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Hey @ShridharGoel can you give us an ETA on the PR? |
Will try to open PR within 24 hours. |
PR is up #41319 |
Automation failed, this has been deployed to prod #41319 (comment) |
Payment due in 3 days |
@rlinoz @ShridharGoel @shubham1206agra @adelekennedy this issue is now 4 weeks old, please consider:
Thanks! |
@ShridharGoel and @shubham1206agra it looks like the offers in Upwork are still pending but I believe payment is due (the automation failed) will you accept and then I can pay you out? |
@adelekennedy Accepted |
Payouts due:
Upwork job is here. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: v1.4.63-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): [email protected]
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
There shouldn’t be ‘Make member’ option on the list
Actual Result:
There is ‘Make member’ option on the list
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6453298_1713425313263.Screen_Recording_2024-04-18_at_10.22.46_in_the_morning.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: