Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add confirmation buttons to commands #290

Closed
grunch opened this issue Jun 4, 2022 · 0 comments · Fixed by #291
Closed

Add confirmation buttons to commands #290

grunch opened this issue Jun 4, 2022 · 0 comments · Fixed by #291
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@grunch
Copy link
Member

grunch commented Jun 4, 2022

After user run /release, /fiatsent, /cancel, /dispute, the 🤖 should show to the user as many buttons as orders have the user.

After the user executes the command the 🤖 should send a message to the user:

Tap on the order you want to ${commandString}

Where commandString is a string with the same command that is being executed.

Additionally on /release the 🤖 should send message letting know to the user that after tap the button there is not turning back.

The buttons must be descriptive, e.g.:
for an order:

id: 629919664985c35896a579f6
amount: 100000
type: buy
fiatCode: EUR
fiatAmount: 50

The button label should be
629..9f6 - Buy - EUR 50

After the user tap on the button the 🤖 will do the same that does when run /command orderId.

/release will search for orders from the user with status ACTIVE, FIAT_SENT or DISPUTE.
/fiatsent will search for orders from the user with status ACTIVE.
/cancel will search for orders from the user with status ACTIVE, FIAT_SENT or DISPUTE.
/dispute will search for orders from the user with status ACTIVE or FIAT_SENT.

After user tap the button must be deleted.

@grunch grunch added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Jun 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant