Skip to content

Add confirmation step before releasing an order #719

Description

@Matobi98

Problem

When a user has two or more active trades at the same time, it is very easy to accidentally release the wrong order.

Currently, running /release shows a list of active orders and tapping one releases it immediately, with no confirmation step.
In stressful situations or when using a mobile device, a simple misclick can result in releasing an unpaid order.

Since releasing an order sends the sats irreversibly, this mistake cannot be undone and may cause permanent loss of funds.


Proposed Solution

Add a mandatory confirmation step before executing the release.

After the user selects an order to release, the bot should show a confirmation screen with full details:
You are about to release the following order:

Order ID: <order_id>
Counterparty: @
Amount: <amount_in_sats> sats
Fiat equivalent: <amount_in_fiat>

Do you want to confirm this operation?

With two buttons:

  • ✅ Confirm
  • ❌ Cancel

Only after pressing Confirm should the bot proceed with the release.


Benefits

  • Prevents accidental releases in multi-trade scenarios
  • Reduces risk when using touch devices
  • Protects users from irreversible mistakes
  • Improves overall UX and trust in the system

Use Case

  1. User has multiple active trades
  2. Runs /release
  3. Selects an order
  4. Bot shows confirmation screen
  5. User confirms → order is released
  6. User cancels → nothing happens

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions