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

Order preview draft #17

Merged
merged 3 commits into from
Mar 10, 2023
Merged

Order preview draft #17

merged 3 commits into from
Mar 10, 2023

Conversation

arkanoider
Copy link
Collaborator

Hi @grunch finally i found some time to move on.

Give a look at this draft idea or order preview, lot to do to have more clean code, but it's working.
You can create the order and check the preview, I have to test a lot of things, but the basics are workin.

I forced to wait connection to relays to avoid info messages before order, but surely a cleaner solution is possible.

Let me know!

Copy link
Member

@grunch grunch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good, can we allow to the user respond only with y or n ? and a default value, i.e.:

order preview

Check your order! Is it correct? [Y/n]

If the user hits enter the default value y will be assigned, other wise the user should enter y or n, it should work with case insensitive Y=y and N=n

Copy link
Member

@grunch grunch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@grunch grunch marked this pull request as ready for review March 10, 2023 16:22
@grunch grunch merged commit ef55a40 into MostroP2P:main Mar 10, 2023
@arkanoider arkanoider deleted the order_preview branch March 10, 2023 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants