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

[UX improvement] confirmation vs error #4836

Open
kristenwomack opened this issue Feb 21, 2025 · 2 comments
Open

[UX improvement] confirmation vs error #4836

kristenwomack opened this issue Feb 21, 2025 · 2 comments
Assignees

Comments

@kristenwomack
Copy link
Collaborator

kristenwomack commented Feb 21, 2025

The UX here is a confusing. It gives an error message, but the action indicated was successful.

Scenario:

  • azd init -t <template-name>
  • notification that you're not in an empty directory and asks "continue initializing app here?"
  • when selecting no the response is ERROR: confirmation declined which feels indicated that the action I took (answering no) just failed when in fact the intention succeeded

Image

Potential solution:
Provide a positive confirmation that the action of selecting no was successful and you can cd to your intended directory or mkdir for the new app you're initializing.

Brainstorm of potential messages with @SophCarp:

  • SUCCESS: confirmation declined; app was not initialized
  • SUCCESS: current directory is not initialized
  • SUCCESS: confirmation declined
  • SUCCESS: app was not initialized

cc: @rajeshkamal5050

@weikanglim
Copy link
Contributor

weikanglim commented Feb 26, 2025

I think another idea is to remove the error message. This may be slightly more consistent with other tooling.

Or we can have a cancellation indicator if that makes sense

@kristenwomack
Copy link
Collaborator Author

I like both of those suggestions @weikanglim. cc: @SophCarp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants