microsoft / DevHomeAzureExtension

Dev Home Azure Extension
MIT License
68 stars 15 forks source link

Adding adaptive card status when no user session exists; Message when no default user is logged in #162

Closed huzaifa-d closed 2 months ago

huzaifa-d commented 2 months ago

Summary of the pull request

  1. When applying a configuration through the setup flow on a Dev Box, the configuration can be pending if there is no active user session. This PR adds an adaptive card showing the status and asking the user to login before continuing. It is an adaptation of @sshilov7's PR that added cards to Dev Home for the Hyper-V extension. image

  2. Depending on the account state, the extension might not have been able to retrieve the default logged in user account. This causes Dev Boxes to be requested against an empty user account. This PR fixes the error message displayed for this condition to show the right text and remedy. image

Also fixes a couple of typos for https://github.com/microsoft/devhome/issues/2726

Validation steps performed

Manually ran the scenario to verify.

PR checklist