Fixes: Add confirmation message before starting cooperative cancellation#128
Conversation
WalkthroughThe trade detail screen was updated to ensure timestamps are handled in milliseconds and to improve the cancel action by adding a confirmation dialog with context-sensitive messaging. The send direct message action was repositioned among user-facing buttons, and the close button now navigates to the order book screen instead of simply popping the route. The order state model was extended to allow the Changes
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Catrya
left a comment
There was a problem hiding this comment.
Hi @chebizarro , it works fine when the user is going to initiate a cooperative cancellation, but when the counterparty receives the message that the other has initiated a cancellation, the cancel button does not appear (issue #126 ) so I can not test if tapping Cancel button in that case only sends Mostro the Cancel action to accept the cancellation, or if the client shows the message If you confirm, you will start a cooperative cancellation with your counterparty. That message should only be displayed when opening the cancellation, not when accepting it.
…l button UI (fixes Show Cancel and Dispute buttons when counterparty opens a cooperative cancellation #126)
Now shows a confirmation dialog before cancelling the order for Issue #72
Fix #72
Summary by CodeRabbit