-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 2024-12-03] [Search v1.2] - Approve button is not disabled in Search when "Prevent self-approvals" is enabled #52404
Comments
Triggered auto assignment to @srikarparsi ( |
Triggered auto assignment to @stephanieelliott ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 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:
|
Edited by proposal-police: This proposal was edited at 2024-11-12 15:35:29 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Approve button is not disabled in Search when "Prevent self-approvals" is enabled What is the root cause of that problem?We don't disable the button here according to App/src/components/SelectionList/Search/ActionCell.tsx Lines 92 to 101 in 5e52372
What changes do you think we should make in order to solve the problem?We will add a check for Lines 7986 to 7990 in 8a1052a
We can either pass a prop with the value here, here, and here or perform the check in |
@srikarparsi are you able to look into this? |
Sorry, I didn't see this earlier, looking into it now. |
Looks like this PR which adds the action buttons @luacmartins, probably an edge case that we just need to account for, looking into it |
Asked a question here about expected behavior |
Carlos is taking over :) |
@stephanieelliott we fixed the issue via a revert. I'll unassign you but keep the issue open to make sure I address it in the v2 of my PR |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.61-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 2024-11-21. 🎊 |
@luacmartins @luacmartins 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] |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.66-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-03. 🎊 |
@luacmartins @luacmartins 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] |
Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO. |
This is done |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.60-0
Reproducible in staging?: Y
Reproducible in production?: N/A - new feature, doesn't exist in prod
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y
Email or phone of affected tester (no customers): applausetester+0080989@applause.expensifail.com
Issue reported by: Applause Internal Team
Action Performed:
Precondition:
Expected Result:
Approve button for the expense should be disabled when "Prevent self-approvals" in Rules enabled.
Actual Result:
Approve button for the expense is not disabled when "Prevent self-approvals" in Rules enabled.
User can click Approve button repeatedly.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6662595_1731422643260.20241112_223941.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @stephanieelliottThe text was updated successfully, but these errors were encountered: