You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2023-09-06] [HOLD for payment 2023-09-04] [$1000] cursor should display as disabled on select all checkbox even if only non removable members are present #25859
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributor
cursor should be display as disabled because there the member is admin
Actual Result:
cursor does not display as disabled
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android / native
Android / Chrome
iOS / native
iOS / Safari
MacOS / Chrome / Safari
MacOS / Desktop
Version Number: 1.3.57-1 Reproducible in staging?: y Reproducible in production?: n If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): Logs:https://stackoverflow.com/c/expensify/questions/4856 Notes/Photos/Videos: Any additional supporting documentation
Please re-state the problem that we are trying to solve in this issue.
Checkbox does not show disabled cursor when there are no eligible members to be selected
What is the root cause of that problem?
PR #22622 moved the checkbox and select all into the SelectionList but the logic of disabling these was missed which was present in earlier page like this
What alternative solutions did you explore? (Optional)
We may use the old logic like this
We should pass a prop called disabled to the SelectionList and use it in the Pressable and Checkbox like this.
Add this in WorkspaceMembersPage simlar to the logic in the earlier page.
👋 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:
Identify the pull request that introduced this issue and revert it.
📣 @UsamaPLUTON! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:
Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>
[@c3024] Determine if we should create a regression test for this bug.
[@c3024] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
This fix is for showing the disabled cursor for the 'Select All' and 'Checkbox'. When there are no select-able options, clicking on the checkbox/'Select All' did not toggle the checkbox nor selected any of the following options even before this fix as well.
Since, this is about fixing only the appearance of disabled cursor on hovering the checkbox and 'Select All', I think this does not require a regression test.
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributor
Activity
c3024 commentedon Aug 24, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Checkbox does not show disabled cursor when there are no eligible members to be selected
What is the root cause of that problem?
PR #22622 moved the checkbox and select all into the
SelectionListbut the logic of disabling these was missed which was present in earlier page like thisApp/src/pages/workspace/WorkspaceMembersPage.js
Line 460 in b5e309c
What changes do you think we should make in order to solve the problem?
We pass
for this
Pressableand the followingCheckboxApp/src/components/SelectionList/BaseSelectionList.js
Line 336 in 329cac3
What alternative solutions did you explore? (Optional)
We may use the old logic like this
We should pass a prop called
disabledto theSelectionListand use it in thePressableandCheckboxlike this.Add this in
WorkspaceMembersPagesimlar to the logic in the earlier page.and pass
here
App/src/pages/workspace/WorkspaceMembersPage.js
Line 385 in 85032a8
and add default prop
here
App/src/components/SelectionList/BaseSelectionList.js
Line 31 in 85032a8
and add
here
App/src/components/SelectionList/BaseSelectionList.js
Line 336 in 85032a8
and here
App/src/components/SelectionList/BaseSelectionList.js
Line 343 in 85032a8
melvin-bot commentedon Aug 24, 2023
Triggered auto assignment to @joekaufmanexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Aug 24, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)OSBotify commentedon Aug 24, 2023
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
StagingDeployCashdeploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:melvin-bot commentedon Aug 24, 2023
Triggered auto assignment to @aldo-expensify (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.c3024 commentedon Aug 24, 2023
PR #22622 moved the checkbox and select all into the
SelectionListbut the logic of disabling these was missed.We need to add
to the
PressableandCheckBox.Detailed proposal here
melvin-bot commentedon Aug 24, 2023
📣 @UsamaPLUTON! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:
Format:
58 remaining items
joekaufmanexpensify commentedon Sep 4, 2023
@aldo-expensify / @c3024 mind completing the BZ checklist here so we can prep to issue payment?
c3024 commentedon Sep 4, 2023
This fix is for showing the disabled cursor for the 'Select All' and 'Checkbox'. When there are no select-able options, clicking on the checkbox/'Select All' did not toggle the checkbox nor selected any of the following options even before this fix as well.
Since, this is about fixing only the appearance of disabled cursor on hovering the checkbox and 'Select All', I think this does not require a regression test.
joekaufmanexpensify commentedon Sep 5, 2023
@c3024 thanks!
joekaufmanexpensify commentedon Sep 5, 2023
@aldo-expensify could you please complete your portion too when you have a sec?
joekaufmanexpensify commentedon Sep 5, 2023
Once the checklist is complete, we need to issue the following payments here:
joekaufmanexpensify commentedon Sep 5, 2023
@c3024 offer sent for $1,000! ($500 will be issued as bonus).
aldo-expensify commentedon Sep 5, 2023
Completed bugzero checklist
c3024 commentedon Sep 6, 2023
Thanks. Accepted the offer @joekaufmanexpensify
joekaufmanexpensify commentedon Sep 6, 2023
BZ checklist complete, all set to issue payment!
joekaufmanexpensify commentedon Sep 6, 2023
@c3024 $1,500 sent and contract ended!
joekaufmanexpensify commentedon Sep 6, 2023
@gadhiyamanan $250 sent and contract ended!
joekaufmanexpensify commentedon Sep 6, 2023
Upwork job closed.
joekaufmanexpensify commentedon Sep 6, 2023
Bug is fixed, BZ checklist complete, and all payment issued. Closing as this is all set. Thanks everyone!