-
Notifications
You must be signed in to change notification settings - Fork 536
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
Commands glow up #5516
Commands glow up #5516
Conversation
d648ce6
to
e6cb0f9
Compare
These changes look great! Suggestion: can we consider changing the tooltip text from just "stop" or "play" to "stop resource" and "play resource" just for some added clarity? |
The buttons here are examples. I'll keep this mind for when they're added in the future. |
we're elevating stop/start as the PRIMARY action here, hiding others behind a ... -- are these truly the primary actions we think folks want on a resource? Details has been my primary (viewing config values) with logs being second. Yes because the others aren't there yet, but feels like stop/start/restart aren't going to be primary actions. Reserve the default space for primary and/or have fallaway logic (show more and responsively hide based on priorirty) /cc @leslierichardson95 |
Personally I'd like to see Stop/Start and Details (aka info) be the primary actions, but given the new UX it seems we could easily fit all three in icon form (Stop/Start, Details, Logs). |
"View details" doesn't need to be primary. 8.2 introduces clicking the row to show/hide details. That was introduced in 8.2. The main reason that "View details" still exists is for accessibility. There may be UI space when viewing the resource page on a high-res display, but keep in mind that this column will be displayed in mobile view, and we don't want the Promoting and demoting buttons isn't difficult. I want to stick with the current setup, and we can change based on feedback. |
That's a good point. For now, it might make more sense to stay consistent with the ACA stop/start resource experience where those actions take less priority over logs / details and are part of the "...". [2 minutes later update]: I didn't see James make a response post before I could comment 😅. I think having the click row to view details is a nice addition and I also don't have an issue with sticking to the new change, but let's watch for feedback in case we encounter discoverability issues on the user's end. |
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.
Main question here is around the use of SVG in the protocol. See comments below. I'm facing the same issue in extensibility, for top-level navigation items provided by extensions.
Also, we now use the terms "command" and "actions" interchangeably. Can we consolidate? Command
is already used in the .proto
, so is hard to change (I think). I like "actions" for column header. Having two terms for the same thing is confusing though.
src/Aspire.Dashboard/Components/Controls/AspireMenuButton.razor.cs
Outdated
Show resolved
Hide resolved
src/Aspire.Dashboard/Components/Controls/ResourceActions.razor.cs
Outdated
Show resolved
Hide resolved
src/Aspire.Dashboard/Components/Controls/ResourceActions.razor.cs
Outdated
Show resolved
Hide resolved
I agree I don’t like usage of svg in the protocol. While more flexible it feels really bad coupling to the html that way. Can we do what we do for status icons or maybe a little more closed down and allowing names from an icon set |
I can make it a name from the FluentUI icons, but if someone wants a custom icon, e.g. an Azure product icon, then they're stuck. |
That’s ok for now |
It's too late to change the proto. But I don't think it will be confusing. Here is how I think of it:
IMO having a different name to disambiguate them is good even. |
All feedback applied. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Description
This PR:
Addresses #295
Demo:
Checklist
<remarks />
and<code />
elements on your triple slash comments?Microsoft Reviewers: Open in CodeFlow