Skip to content

Improve cancellation message when order expires due to counterparty inactivity #532

@Catrya

Description

@Catrya

Currently, when a user takes an order and the counterparty does not respond, the order expires after 15 minutes. However, the message shown to the user says:
"You cancelled the order"

This is misleading because the user did not cancel the order. The order was automatically cancelled due to the counterparty not responding within the time limit. This can confuse users and make them think they performed an action they did not actually do. The message should clearly indicate that the order was cancelled because the counterparty did not respond.

Suggested message

Instead of:
You cancelled the order

Use something like:
The counterparty did not respond in time. The order has been cancelled.

Expected behavior
When an order expires due to inactivity from the counterparty, the message shown to the user should clearly reflect that the cancellation was caused by the timeout, not by the user.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions