Skip to content

Improve cant-do messages to show specific reasons #269

@Catrya

Description

@Catrya

Currently, the app displays generic cant-do messages, so the user doesn’t know why the action failed.
We should use the reason field from the cant-do payload to show a clearer message in the Snackbar.
Examples of reasons:
out-of-range-sats-amount
not-allowed-by-status

Use the suggestions from the protocol documentation:
https://mostro.network/protocol/message_suggestions_for_actions.html

This will help users better understand why an action cannot be performed.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions