Error prevention
Confirmation Buttons
Put the safe option first and lower the weight of the commitment: a pattern for confirmations that can’t be undone.

Screenshot of the Farabixo application commitment page, the bottom sheet of the agreement is opened.
Summary: In the flow where you need to get confirmation from the user, according to the line of sight, first show the cancel button to the user and then the call to action button. At the same time, lowering the emphasis of the call-to-action button, prevent user mistakes. This makes it possible to record the action with the lowest error rate in flows where the user does not have the Undo feature.
Introduction
The story goes back to the unwanted deletion of data. In fact, users sometimes deleted something unintentionally and this process had no point of return.
story
Some time had passed since the initial release of the product, and with the investigation, we had done, we realized that sometimes users are encouraged to delete an order in the confirmation bottom sheet, and sometimes this may not be done with certainty and the user needs to undo hit But the problem became more important because we could not create the undo feature in that time frame.
User research
Discover the problem
We started with the recorded videos that we had from users. First, We were trying to understand the behavior of users and their encounters with negative bottom sheets, such as deleting an order, with the available videos. We should have discovered all the things that existed in this part so that we could look at the problem more closely. After a general review, We realized that not only in the bottom sheets with the concept of deletion, but also in the bottom sheet for confirmation of exit from the user account or even those that required an electronic signature, there is a possibility of mistakes, and we need to get confirmation from the user with more confidence, because the same As We said earlier, there was no possibility of undoing for the user.

Farabixo mobile application profile page. The first step (left screenshot): the user clicks on the button to log out of the user account. The second step (right screenshot): the bottom sheet user will see the confirmation that the exit button is highly emphasized and as the first button available.
Define the problem
Preventing user error in executing flows that have a difficult return path.
For example: after deleting the purchase order, the user cannot return the order and must create a new order as before.Flows that need to be corrected
According to the definition of the problem that we have done, there should be cases that are likely to undergo changes and corrections. For example, the flow of electronic signatures of pledges was part of this list that should be modified.
Design
Problem
Sometimes users have a hard time compensating for some functions in the application, such as deleting an order, and it is also not possible to add Undo in this period of time.Goal
Users can confirm this by interrupting the most important actions. Also, according to the cancel button, it was possible to avoid errors in solving this problem in one of the special ways.Measurement criteria
Reducing the rate of the number of users who, after deleting something, create it again.

Discover the ideal response
1. The operation can be canceled as the first option in the line of sight:
Find the eyeliner based on the application language. For instance, the user prefers to begin reading from the left side when reading English, which is written from left to right. In this instance, we treat the first choice on the left as a cancelation and the second choice as the requested action.
2. Weight loss course of action:
This will help the user avoid errors by preventing the user’s eyes from accidentally being drawn to the action option.
Example
This can be used for either negative or irreversible positive operations that are difficult to adjust. For instance, the act of signing a digital contract might be beneficial for your product, yet the cancellation of a purchase might be bad.
Digital signature

The picture relates to the user’s journey through the digital contract signing process. The bottom sheet for signing the contract comes on the page when the user clicks “signing the contract” in the first stage.
The primary green button is used for registration because, as you can see in the image above, agreeing to the terms of the product is a positive activity. However, in accordance with the eyeliner guidelines, this button is regarded as the second choice with less attention to preventing errors.
Delete an order

On this page, see the deletion confirmation button on the left side of the previous design and on the right side of the new design.
Previous design:
In the order deletion confirmation sheet, users used to see the first option with a red completely confirmed button. Due to excessive weight and occasional eye contact errors, this led to the user selecting the delete button, which made the process of fixing it and re-registering the order time-consuming.
Current layout:
The cancel option is the first one available from the left when the user clicks the delete button to confirm the deletion and help prevent errors. Additionally, the delete button’s weight has been reduced, but it still has a red action because, for the product in issue, deleting an order is not a neutral function.