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

As a user, I can easily see existing deployed endpoints and environments relevant to my application #1887

Closed
savannahostrowski opened this issue Apr 5, 2023 · 4 comments · Fixed by #2893

Comments

@savannahostrowski
Copy link

savannahostrowski commented Apr 5, 2023

I'm thinking that'd be nice to be able to run something like a human-readable azd show and see something similar to what we see in the VS Code application tree view (app name, env, services + endpoints).

In VS Code:
image

Something like this but maybe a table, if it makes sense:

Application name (e.g. name in azure.yaml: todo-python-mongo-aca)
	Services
		Service 1 - <clickable endpoint, if applicable>
		Service 2 - <clickable endpoint, if applicable>
		...
	Environment
		[Default] Env 1
		Env 2

It'd also be cool to be able to see this on a subscription level (e.g. if you passed in a --subscription, flag), you could see a table of all the running apps/endpoints.

@savannahostrowski
Copy link
Author

@savannahostrowski to spec

@savannahostrowski
Copy link
Author

Factor #1165 into the design

@Austinauth
Copy link

Design Update

After a round of sketching and feedback we have agreed on the following design for azd show.

image

Design notes

  • We understand the long hyperlinks are not super visually appealing, but they are more accessible than using custom hyperlink text. This also better accommodates users who rely on copy/paste to visit URLs.
  • Future: We should investigate a general tag or flag for accessibility so that we might utilize custom URLs or other patterns that can be an accessibility issue (truncation). This is something we should have a strategy for across all commands before implementing.
  • The team collectively decided to refrain from implementing an azd show -subscription until we have a better understanding of how it will work.

Questions

cc: @gkulin @savannahostrowski

  • Is there any additional helper text we want to add at the end of this command's output?
  • What are the edge cases I still need to provide designs for?
    • No app in current directory?
    • App detected but not deployed?

@Austinauth
Copy link

Latest (Final) designs posted to the PR: #2893

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

Successfully merging a pull request may close this issue.

5 participants