Open
Description
Description
In order to provide merchants the ability to update/delete orders quickly, we will allow them to enter the screen on Selection Mode, let them select multiple orders from the order list screen, and perform one of these two actions:
- Update the selected order's status.
- Delete the selected orders
1. Start the Selection Mode
To start selecting orders, the screen must enter in Selection Mode.
The order list screen will enter in selection mode when:
- The merchant marks one of the list headers (all orders within this list header group will be marked as selected)
- The merchant long press one of the orders (this order will be marked as selected)
2. Exit the Selection Mode
The screen will exit the Selection Mode when :
- The merchant presses the cancel (cross icon) button in the Toolbar.
- The merchant selects the action to perform with the orders selected ( update status/delete ).
- The merchant unselects all orders.
3. List header selection
- If the merchant marks one of the list headers, the order list screen will enter in Selection Mode, and all the orders within that group will be marked as selected.
- If the screen is already on Selection Mode, some orders are selected within one list header group, and the merchant marks that list header group as selected, the rest of the orders within that list header will be marked as selected.
- If the merchant marks all orders within a list header group, the list header group will be marked as selected
- If a list header group is selected and the merchant unselects that header group, all orders inside that group will also be unselected.
4. Order selection
- If a merchant taps on an unselected order in Selection Mode, the order will be selected
- If a merchant taps on a selected order in Selection Mode, the order will be unselected
5. Selection count
- When the screen is on Selection Mode, the Toolbar title will show the number of orders selected.
Images
Please note that the image below is meant for a detail reference and not as a final design
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment