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

Support back/next option on wizard flow #14

Open
0xmaayan opened this issue Dec 13, 2023 · 4 comments
Open

Support back/next option on wizard flow #14

0xmaayan opened this issue Dec 13, 2023 · 4 comments
Labels
good first issue Good for newcomers

Comments

@0xmaayan
Copy link
Collaborator

When starting the wizard and follow each step, there is no way to go back and/or forward to a step.

Add back/next option to previous/next step and respect any choice changes.

@0xmaayan 0xmaayan added the good first issue Good for newcomers label Dec 13, 2023
@SethY8s
Copy link
Contributor

SethY8s commented Dec 14, 2023

@0xmaayan I am not super familiar with these terminal prompts, but after looking at the project for a while, I am confident I could add a confirmation prompt at the end of the wizard, something like.

Project name: 'fakeName',
Choose how to start: 'Toollist Dapp',
Choose network: 'Devnet',
Choose your package manager: 'npm',

Do you wish to change anything? Yes | No. 

Then if they click yes, it would let them choose which item they want to change, and they could edit the results from there.

Is that ok if I add that? I'm not sure I have the time to figure out how to add a back/next option after each item.

@0xmaayan
Copy link
Collaborator Author

0xmaayan commented Dec 14, 2023

@SethY8s Yes I think is it a great addition! how would you let them change an option? would you redirect them back to the step they want to change?

Also, if we work on the final confirmation prompt, I think we should open a new issue for that and and leave that item as is.

@mdmudassir0143
Copy link

Or maybe we can give freedom to choose what step they want to modify -

Do you wish to change anything? (Yes | No): Yes
Which step would you like to modify? (Step 1, Step 2, Step 3, Step 4): Step 3
Please input a new network: 'Testnet'

@SethY8s
Copy link
Contributor

SethY8s commented Dec 14, 2023

@mdmudassir0143 Good idea I am working on adding that now. Also @0xmaayan I added a new issue for the confirmation prompt like you recommended. I will add exactly how I plan on laying it out there.

issue #15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants