microsoft / devhome

The new Dev Home experience for Windows!
https://aka.ms/devhomedocs
MIT License
3.64k stars 323 forks source link

Suggest adding a "Hibernate" button to the Dev Home Environments page for the dev box that supports hibernation #3936

Open Dorisls opened 1 month ago

Dorisls commented 1 month ago

Dev Home version

0.1801.640.0

Windows build number

10.0.22631.0

Other software

No response

Steps to reproduce the bug

  1. Create a dev box definition and enable "Hibernation" for it.
  2. Create a dev box pool using the dev box definition.
  3. Create a dev box using this pool in Dev portal (not Dev Home). So, it is a hibernated supported dev box.
  4. After creating the dev box successfully, click the "More option" button in Dev portal. You can see the "Hibernate" button and "Shut down" button. Image
  5. Go to Dev Home - "Environments" page, click "Sync" button. Then you can see the newly created hibernated supported dev box. Click "More options" button of the dev box, but you can only see the "Shut down" button. Image
  6. After the dev box is in the "Hibernated" state, click the "More options" button again in Dev Home. You can still see the "Shut down" button. Image Image

Expected result

  1. Suggest adding a "Hibernate" button for the hibernated supported dev boxes in Dev Home Environments page.

Actual result

The meaning of "shut down" in these two scenarios is different:

  1. Click "More options" button of the dev box in Dev Home and you can only see the "Shut down" button. It refers to "Hibernate. Image
  2. After the dev box is in the "Hibernated" state, click the "More options" button again in Dev Home. You can still see the "Shut down" button. It refers to "Shut down". Image

Included System Information

No response

Included Extensions Information

No response

similar-issues-ai[bot] commented 1 month ago

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.