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
[Due for payment 2025-03-27] Add approvals switch is locked&disabled after reenabling Workflows when Smart limit is selected #57998
Version Number: 9.1.10-0 Reproducible in staging?: Yes Reproducible in production?: No If this was caught during regression testing, add the test name, ID and link from TestRail: Exp Email or phone of affected tester (no customers):applausetester+ps309@applause.expensifail.com Issue reported by: Applause Internal Team Device used: Mac 15.3 / Chrome App Component: Workspace Settings
Action Performed:
Precondition:
Workspace has Expensify Card feature.
User has assigned a virtual card to themselves (Limit type should not be Smart limit).
Add approvals feature is enabled.
Go to staging.new.expensify.com
Go to workspace settings > Expensify Card.
Click on any card.
Click Limit type.
Select Smart limit and save it.
Go to Workflows.
Note that Add approvals switch is enabled and locked.
Go to More features.
Disable and reenable Workflows.
Go to Workflows.
Expected Result:
Add approvals switch should not be locked.
Actual Result:
Add approvals switch is disabled and locked. User will have to change the Limit type in order to unlock the switch.
In this case, the message asks to change the limit type before "disabling" approvals, when it is already disabled and locked.
👋 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.
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
None UI bug
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
Activity
melvin-bot commentedon Mar 7, 2025
Triggered auto assignment to @MitchExpensify (
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 Mar 7, 2025
Triggered auto assignment to @cristipaval (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Mar 7, 2025
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Mar 7, 2025
👋 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:
IuliiaHerets commentedon Mar 7, 2025
Not repro on production
screen-20250307-111250.mp4
daledah commentedon Mar 7, 2025
🚨 Edited by proposal-police: This proposal was edited at 2025-03-07 10:16:52 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
Add approvals switch is disabled and locked. User will have to change the Limit type in order to unlock the switch.
What is the root cause of that problem?
We don't have any logic to disable workflow button here
App/src/pages/workspace/WorkspaceMoreFeaturesPage.tsx
Lines 175 to 187 in d414689
What changes do you think we should make in order to solve the problem?
isSmartLimitEnableddisabledActionto show warning modal like we did with others, the modal content will be confirmed later.App/src/pages/workspace/WorkspaceMoreFeaturesPage.tsx
Lines 98 to 103 in d414689
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
None UI bug
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
daledah commentedon Mar 7, 2025
@cristipaval I can quickly raise a PR if needed.
70 remaining items
daledah commentedon Apr 1, 2025
When I click the job link, it shows:

@MitchExpensify can you send an offer directly to me https://www.upwork.com/freelancers/~0138d999529f34d33f
Thanks
MitchExpensify commentedon Apr 6, 2025
New offer sent here @daledah https://www.upwork.com/nx/wm/offer/106810957
daledah commentedon Apr 7, 2025
@MitchExpensify Accepted thx!
MitchExpensify commentedon Apr 8, 2025
Paid, thank you!
nkdengineer commentedon Apr 24, 2025
@MitchExpensify i have not been paid in this issue as this comment. Could you please check again?
dominictb commentedon Apr 24, 2025
@MitchExpensify I also did not receive payment.
MitchExpensify commentedon May 5, 2025
Oh apologies, I must have got my wires crossed!
Offer sent @nkdengineer: https://www.upwork.com/nx/wm/offer/107183174
What is your Upwork profile @dominictb ?
nkdengineer commentedon May 5, 2025
@MitchExpensify Accepted the offer, thanks for your help!
dominictb commentedon May 5, 2025
@MitchExpensify It's https://www.upwork.com/freelancers/~01f70bed1934fd35d5
MitchExpensify commentedon May 11, 2025
Thanks, offer her @dominictb - https://www.upwork.com/nx/wm/offer/107263237
dominictb commentedon May 13, 2025
@MitchExpensify Accepted, thanks 🙏
MitchExpensify commentedon May 13, 2025
Paid, thanks!