-
Notifications
You must be signed in to change notification settings - Fork 10
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
Instance action buttons #2508
Instance action buttons #2508
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
8fd33a8
to
ba200bd
Compare
ba200bd
to
0572568
Compare
Couple of things I noticed while trying it out. These weren't happening with the menu because typically the menu will be closed while the action is running unless you rush to open it back up. Tooltip is kinda weirdThe first thing I noticed was that the disabled cursor overlaps the tooltip in an annoying way. So I wonder if we should just forget the cursor thing. It wasn't noticeable in the menu because the tooltips appear to the left instead of underneath. Then I started changing the window size and noticed that the tooltip starts showing up on the left if the window gets wide enough. I don't know why that is yet but it's kind of silly. Maybe it should even be on top. Not sure. 2024-10-17-button-tooltip.mp4Lack of state change feedback near the buttons, plus tooltip is even weirder than I thoughtNow we click the button. Several weird things here.
2024-10-17-start-stop-states.mp4How it looks with spinners in the buttonsI can't say I like it. It's weird as hell. 2024-10-17-spinners-in-buttons.mp4 |
Happy to skip the cursor. It can be a little aggressive.
autoPlacement({
allowedPlacements: ['top', 'bottom'],
}); This might be better? Restricting its position to either top or bottom, not left or right.
I think this is a good idea. Having it start directly with the button feels like it's missing a little bit of necessary friction. The modal is also a place we can include information if we feel like we want to describe some stuff around utilization.
I don't actually mind that. Since we do have a little spinner on the instance status in the properties table directly. I dislike spinners in the buttons here because it ocludes the button text – also what happens if an instance gets stuck in starting or stopping. |
Actually |
Only running instances can be stopped sounds good to me. Agreed on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Beautiful.
oxidecomputer/console@f7d6daf...6eeab20 * [6eeab203](oxidecomputer/console@6eeab203) oxidecomputer/console#2525 * [bdc1c87c](oxidecomputer/console@bdc1c87c) oxidecomputer/console#2526 * [23824251](oxidecomputer/console@23824251) oxidecomputer/console#2508 * [78e7e26b](oxidecomputer/console@78e7e26b) oxidecomputer/console#2524 * [eb7f8567](oxidecomputer/console@eb7f8567) oxidecomputer/console#2504 * [df0dea4a](oxidecomputer/console@df0dea4a) oxidecomputer/console#2514 * [3474c6ce](oxidecomputer/console@3474c6ce) oxidecomputer/console#2522 * [af6a89e7](oxidecomputer/console@af6a89e7) oxidecomputer/console#2520 * [4e967560](oxidecomputer/console@4e967560) oxidecomputer/console#2512
oxidecomputer/console@f7d6daf...6eeab20 * [6eeab203](oxidecomputer/console@6eeab203) oxidecomputer/console#2525 * [bdc1c87c](oxidecomputer/console@bdc1c87c) oxidecomputer/console#2526 * [23824251](oxidecomputer/console@23824251) oxidecomputer/console#2508 * [78e7e26b](oxidecomputer/console@78e7e26b) oxidecomputer/console#2524 * [eb7f8567](oxidecomputer/console@eb7f8567) oxidecomputer/console#2504 * [df0dea4a](oxidecomputer/console@df0dea4a) oxidecomputer/console#2514 * [3474c6ce](oxidecomputer/console@3474c6ce) oxidecomputer/console#2522 * [af6a89e7](oxidecomputer/console@af6a89e7) oxidecomputer/console#2520 * [4e967560](oxidecomputer/console@4e967560) oxidecomputer/console#2512
Partially fixes #2419 (just the instance detail page)