-
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
[ALREADY PAID, WAIT FOR REGRESSION - 19th] [$250] BUG: checkbox is disabled on members page incorrectly #51677
Comments
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.What is the root cause of that problem?When we invite a new user, before the Add member API is complete, the new member section is disabled because it's the optimistic data and we don't want to open the member page in this case App/src/pages/workspace/WorkspaceMembersPage.tsx Lines 366 to 369 in 65fa00a
The checkbox is also disabled when the item is disabled.
What changes do you think we should make in order to solve the problem?In this case, I think we don't want to disable the checkbox in this case, we can add another field to the item like
Then we can add
What alternative solutions did you explore? (Optional)Or we can remove
|
@davidcardoza can you help to add a "Bug" label to this GH issue? It will add a BZ member to this issue. Thank you |
Can't reproduce this |
hey @davidcardoza can I get confirmation that before you invited [email protected] to your workspace, you haven't chatted/messaged him in Expensify? |
@nkdengineer I got "Hmm..it's not here" page with your suggestion when was editing the role. |
@hoangzinh Can you share the full video of this bug above. |
I was wrong, @nkdengineer. Your solution allows clicking on the checkbox but not the item row. That makes sense. It would fix the current behavior
|
No we never chatted in Expensify prior to the invite. |
Thanks for confirming @davidcardoza. @nkdengineer's proposal looks good to me Link to proposal #51677 (comment) 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @MarioExpensify, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Triggered auto assignment to @anmurali ( |
Hi @joekaufmanexpensify @anmurali shouldn't this have the bounty value in the issue title? Should we have this fixed before moving forward with the proposal validation? |
Job added to Upwork: https://www.upwork.com/jobs/~021853872777141999546 |
Current assignee @hoangzinh is eligible for the External assigner, not assigning anyone new. |
Done! |
Quick updates: waiting @nkdengineer address this bug #52173 (comment). Btw @MarioExpensify @jliexpensify can anyone add back "Weekly" label to this issue? the PR is in review so it should be "Weekly" |
I thought only Expensify employees could? We generally keep issues at |
@jliexpensify there is another scenario, when the PR is public and ready to review it will be applied |
Ah yes, good point! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.74-8 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-12-19. 🎊 For reference, here are some details about the assignees on this issue:
|
@hoangzinh @jliexpensify @hoangzinh The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
@kadiealexander the payment date for this falls for when I am OOO, but before I go, I'll prep the summary - can you pay it please? |
Payment Summary
New Upworks job - https://www.upwork.com/jobs/~021868493785995852561 |
@nkdengineer I invited you to the new job here: https://www.upwork.com/jobs/~021868493785995852561 The old one closed automatically. |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalPrecondition:
Test:
Do we agree 👍 or 👎 |
Requested payment in ND |
@jliexpensify Thx! I accepted the job. |
FUUUUUUUU I accidentally paid this job early cc @kadiealexander 😓 Fingers crossed there are no regressions. |
it won't @jliexpensify. Challengeaccepted |
Famous last words |
$250 approved for @hoangzinh |
Bug Description:
When inviting a user to a Collect workspace, I’m unable to edit their permissions to make them an admin. Specifically, I invited [email protected] to the workspace from [email protected]. Although Joe’s Expensify account is validated, his account remains grayed out in the permissions list, and the checkbox to make him an admin is not selectable. However, I am able to set him as an admin when using Classic.
Relevant Code:
The code in question WorkspaceMembersPage.tsx states that the checkbox should be disabled if:
Expected Behavior:
The invited user’s permissions should be editable to make them an admin, provided they are not currently an admin or the logged-in user.
Steps to Reproduce:
Issue Owner
Current Issue Owner: @Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @kadiealexanderThe text was updated successfully, but these errors were encountered: