Skip to content

Conversation

@charliepark
Copy link
Contributor

Currently, we have some copy on the Storage tab of the Instance page, where we tell the user that certain conditions have to be met (the instance has to be stopped) before the user can take specific actions (detaching the disk). There's some other copy that — while technically accurate (probably) — aren't things that the user really cares about in that moment.

image

This PR updates that view, so that the thing the user needs to know — you need to stop the instance in order to detach the disk, or add a new disk — is more clearly linked to the next step they need to take — stopping the instance.
Screenshot 2024-04-26 at 3 48 24 PM

I'm open to copy suggestions, as always, though I think what I have here is pretty clear.

@vercel
Copy link

vercel bot commented Apr 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
console ✅ Ready (Inspect) Visit Preview Apr 27, 2024 1:00am

Instance must be <span className="text-default">stopped</span> to create a
disk
</>
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could it be worth saying “create and attach” here? it’s the attach that’s the problem, right?

<>Instance must be in state {detachableStates} before disk can be detached</>
<>
Instance must be <span className="text-default">stopped</span> before disk can
be detached
Copy link
Collaborator

@david-crespo david-crespo Apr 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might as well do what the other ones do, fudge it grammatically to save a few words: “instance must be stopped to detach disks” or maybe even “instance must be stopped” by itself? the button is disabled and it says “detach”

Copy link
Collaborator

@david-crespo david-crespo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, not particularly attached to my comments!

@charliepark charliepark enabled auto-merge (squash) April 27, 2024 01:01
@charliepark charliepark merged commit e45f2d9 into main Apr 27, 2024
@charliepark charliepark deleted the copy-update-disk-states branch April 27, 2024 01:06
david-crespo added a commit to oxidecomputer/omicron that referenced this pull request Apr 30, 2024
david-crespo added a commit to oxidecomputer/omicron that referenced this pull request May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants