Skip to content

Minor changes for simplified init experience for 9/6 #2671

@savannahostrowski

Description

@savannahostrowski

Updated by Austin A on 08/31/2023

azd init changes

1. "Select a template" misinterpreted

Owner: @gkulin to review prompt and suggest alternative language to help clarify.
Status: In review (issue comment below)

Problem

"Select a template" misinterpreted by multiple customers as choosing a template that will then be applied to your current app, and refactor your code to fit that template.

image

Solution

TBD


2. Missing "no code detected" error message

Owner: @Austinauth
Status: ✅ Design complete / 🚨 Ready for Dev

Problem

When a user scans the code in their current directory but no code exists we show them an empty detection summary.

image

Solution

image

Add the following error message when a user opts to Use code in current directory but no code is found:

Error: No files or services detected in the current directory.

Ensure you’re in the directory where your app code is located and try again. If you do not have code and would like to start with an app template run 'azd init' in an empty directory and select the option to Use a template.

For more information, refer to the documentation or run 'azd help'.


3. The word "services" in "add or remove services" is unclear

Owner: @weikanglim
Status: ✅ Dev complete

Problem

The word "services" in "add or remove a service" is unclear, causing some customers to believe it is talking about modifying Azure services, rather than confirming that the detection worked accurately.

image

Solution

Add the word "detected" to action to draw an even stronger connection to the detection summary.

Add or remove a detected service


4. "Database name" misinterpreted as being any name

Owner: @gkulin
Status: In review (issue comment below)

Problem

'database name' misinterpreted as being any name, rather than the database name that the application expects. Multiple customers believed that they can provide any name to the database. Although we have help text, and see the help text pattern working well for environment name, for the database name no customer has used the help pattern for some reason (maybe they have a stronger conviction that they know what 'database name' is?).

image

Solution

TBD


5. [Bug] Help text disappears

Owner: @Austinauth
Status: ✅ Design complete / 🚨 Ready for Dev

Problem

Help text disappears for many users once they've moved on to the next prompt.
image

Solution

Help text should stay visible once the user has moved to the next prompt.

image


6. [Bug] Loading animation breaks at times due to hooks

Owner: N/A
Status: 🚨 Awaiting dev

Problem

Loading animation breaks due to the hooks.
image


7. Escape sequence needed during troubleshooting steps

Owner: @Austinauth
Status: ✅ Design complete / 🚨 Ready for Dev

Problem

User is locked into troubleshooting path.
image

Solution

Provide option for the user to "cancel" or "go back" if they decide not to continue troubleshooting.

Cancel from service add

image

image

image

Cancel from path input

image

image


next-steps.md changes

8. Make relationship between ‘azd up,’ ‘azd provision,’ and ‘azd deploy’ more clear.

Owner: @gkulin
Status: ✅ Dev complete

Problem

The line which talks about the relationship between ‘azd up’ and ‘azd provision’ and ‘azd deploy’ – multiple customers questioned whether ‘up’ included ‘provision’ and ‘deploy’ commands, or if they needed to be run in succession.

image

9. Re-work heading levels to follow a logical "Chapter in a book" model.

Owner: @gkulin
Status: ✅ Dev complete

Problem

Per Florian's feedback, Headings should act as chapters in a book where H1 is the title, H2s are chapters (e.g. 1, 2), and H3s are sub-chapters within those (e.g. 1.2, 1.3). Suggestions include:
Make Troubleshooting, Billing, What was Added their own chapters so they are more easily discoverable, not hidden under details.
Make Next Steps a high level chapter with "define environment variables" and "Provision infrastructure and deploy application code" sub-chapters of that.
Fix Troubleshooting list items - currently all 1s.

image

10. Explain that buildpacks are being used if you don't have a dockerfile

Owner: @gkulin
Status: ✅ Dev complete

Problem

One customer who understood that her app was being containerized looked for a dockerfile added to her app, but did not find one. Neither the CLI output nor next-steps clearly mentions the use of buildpacks. In the real world, this customer would have no way to understand that we are using buildpacks.

Additionally, in package step, have a message like "no dockerfile found, using buildpacks..." Either explain in line or link out to docs.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions