Coming from this Slack thread, let's add a confirmation step before initiating an off-cycle Expensify Card balance settlement in New Expensify.
Details
- Today, clicking "Settle Balance" immediately initiates settlement of the current balance, with no confirmation step. Users have accidentally clicked this (see examples here and here.)
- To prevent accidental settlements, let's add a confirmation modal when "Settle Balance" is clicked, before the action is initiated. See attached screenshot for an example of our existing center-state modal pattern.
- Modal copy:
- Title:
Settle balance?
- Body:
This will settle your current balance in the next business day. Once successful, the amount will be added back to your remaining limit.
- Confirm button:
Settle balance
- Cancel button:
Cancel
- Button color: recommend
danger (red) for the confirm button, consistent with how the codebase already treats other high-consequence/irreversible actions (freezing a card, revoking access, removing a member).
- This is scoped to New Expensify only; no changes needed in Expensify Classic.
Current settle balance button
Example of our confirmation modal pattern
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @mallenexpensify
Coming from this Slack thread, let's add a confirmation step before initiating an off-cycle Expensify Card balance settlement in New Expensify.
Details
Settle balance?This will settle your current balance in the next business day. Once successful, the amount will be added back to your remaining limit.Settle balanceCanceldanger(red) for the confirm button, consistent with how the codebase already treats other high-consequence/irreversible actions (freezing a card, revoking access, removing a member).Current settle balance button
Example of our confirmation modal pattern
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @mallenexpensify