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 2024-08-13] [$250] iOS - Workspace - Dropdown button is not disabled when no selection is made #46619
Issue found when validating #45732 Version Number: 9.0.15-4 Reproducible in staging?: y Reproducible in production?: no new feature 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 Expensify/Expensify Issue URL: Issue reported by: applause internal team Slack conversation:
Action Performed:
Launch New Expensify app.
Go to workspace settings > Members.
Invite a few members if there is no members.
Long press on any member.
Tap Select.
Unselect the member.
Tap on the dropdown button.
Expected Result:
Dropdown button should be disabled when no selection is made (same behavior on Search).
Actual Result:
Dropdown button is not disabled when no selection is made. Remove members option is present when no member is selected.
This issue happens for other pages like Categories, Taxes, Tags etc
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
👋 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.
We will do the same for WorkspaceTagsPage, WorkspaceCategoriesPage, PolicyDistanceRatesPage, WorkspaceReportFieldsPage, WorkspaceTaxesPage which use the same pattern of selection and have the issue present.
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.16-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
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:
[@jayeshmangwani] The PR that introduced the bug has been identified. Link to the PR:
[@jayeshmangwani] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@jayeshmangwani] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@jayeshmangwani] Determine if we should create a regression test for this bug.
[@jayeshmangwani] 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.
[@lschurr] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
changed the title [-][HOLD for payment 2024-08-13] [HOLD for payment 2024-08-09] [$250] iOS - Workspace - Dropdown button is not disabled when no selection is made[/-][+][HOLD for payment 2024-08-13] [$250] iOS - Workspace - Dropdown button is not disabled when no selection is made[/+]on Aug 7, 2024
[@jayeshmangwani] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/A
[@jayeshmangwani] Determine if we should create a regression test for this bug. NO, IMO, there's no need to create a test for this since we missed including it as part of the new feature.
[@jayeshmangwani] 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.
Activity
melvin-bot commentedon Jul 31, 2024
Triggered auto assignment to @lschurr (
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 commentedon Jul 31, 2024
Triggered auto assignment to @roryabraham (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.github-actions commentedon Jul 31, 2024
👋 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:
neonbhai commentedon Jul 31, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Dropdown button is not disabled when no selection is made
What is the root cause of that problem?
We don't disable the button when no members are selected:
What changes do you think we should make in order to solve the problem?
We will add a isDisabled prop checking
selectedEmployees.lengthhere:App/src/pages/workspace/WorkspaceMembersPage.tsx
Lines 510 to 515 in 00a45ac
Additionally:
We will also not add the Remove Members option here if
selectedEmployees.lengthis zeroApp/src/pages/workspace/WorkspaceMembersPage.tsx
Lines 467 to 472 in 00a45ac
We will do the same for WorkspaceTagsPage, WorkspaceCategoriesPage, PolicyDistanceRatesPage, WorkspaceReportFieldsPage, WorkspaceTaxesPage which use the same pattern of selection and have the issue present.
25 remaining items
melvin-bot commentedon Aug 6, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.16-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-08-13. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Aug 6, 2024
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:
[-][HOLD for payment 2024-08-13] [HOLD for payment 2024-08-09] [$250] iOS - Workspace - Dropdown button is not disabled when no selection is made[/-][+][HOLD for payment 2024-08-13] [$250] iOS - Workspace - Dropdown button is not disabled when no selection is made[/+]melvin-bot commentedon Aug 13, 2024
Payment Summary
Upwork Job
BugZero Checklist (@lschurr)
lschurr commentedon Aug 13, 2024
@neonbhai - Offer sent in Upwork :)
neonbhai commentedon Aug 13, 2024
@lschurr Thank you, accepted!
lschurr commentedon Aug 13, 2024
All set. Payment summary is correct.
jayeshmangwani commentedon Aug 13, 2024
jayeshmangwani commentedon Aug 15, 2024
Requested on ND as per #46619 (comment)
JmillsExpensify commentedon Aug 21, 2024
$250 approved for @jayeshmangwani