-
Notifications
You must be signed in to change notification settings - Fork 467
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
Make all pages accessible to low vision on reflow #5200
Make all pages accessible to low vision on reflow #5200
Conversation
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
…ources # Conflicts: # src/Aspire.Dashboard/Components/Controls/Chart/PlotlyChart.razor # src/Aspire.Dashboard/Components/Controls/Chart/PlotlyChart.razor.cs # src/Aspire.Dashboard/Components/Pages/Metrics.razor.css
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.
LGTM though I am less familiar with the metrics and structured logs UI code to comment on that part.
Tomorrow I'll pull the branch down and run it through some testing locally.
…ources # Conflicts: # src/Aspire.Dashboard/Components/Controls/GridValue.razor
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Hey @adamint, I pulled this down and tried it out locally. It looks great! Captured a few things as I played with it. Not sure how many of these you feel are worth including here vs. filing as issues for future. Some of them should be simple changes I assume. I'm writing in the imperative for clarity and capturing all my ideas, even the pedantry. There are a few important ones though. Let me know your thoughts. (Update, already reported in #5197) The details view in the resource grid gets snapped into place, and doesn't revert when the viewport is widened again. The UI fundamentally changes. I can imagine this being surprising if you narrowed the window momentarily, such as when snapping to regions of the monitor, or when dragging to resize. (Update mostly moved to #5313) A few comments on this UI:
Something like: For:
Eg: (Same for filter UI under structured logs and metrics.) Open combo boxes in the filter UI blend into the background and lose definition. Is there a slight drop shadow we can put on these to create that separation? Or can we use a different background colour? (Update, this was fixed ✅) Why does just this control have an icon rather than text? Looks a bit out of place: (Update, this was fixed ✅) In the "Metrics" view, it shows "Select instrument.": However the filter UI uses the term "Metric": These concepts should be consistent for the user. (Update, this was fixed ✅) Also, the text "Select instrument" when none is selected should be a link that opens the filter view. It sounds like a call to action, so should be interactive. Clicking a metric/instrument for the first time doesn't work: Clicking a metric/instrument twice deselects it, which is surprising. These buttons should align before/after transition. Also ideally the black region would have the same height before/after to reduce flicker. (Update, moved to #5313) The settings flyout looks inconsistent with the filtering panes on very small screens:
|
src/Aspire.Dashboard/Components/ResourcesGridColumns/GridColumnManager.cs
Outdated
Show resolved
Hide resolved
src/Aspire.Dashboard/Components/ResourcesGridColumns/GridColumnManager.cs
Outdated
Show resolved
Hide resolved
src/Aspire.Dashboard/Components/ResourcesGridColumns/GridColumnManager.cs
Show resolved
Hide resolved
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.
Ran another round of manual testing and don't see any blocking issues. Good work here!
#5317 tracks creating issues from the discussion on this PR.
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
It is an existing issue. It was introduced when the full screen details view was added. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Seems like a legitimate build failure:
|
Fixes #3317
Fixes #3176
Fixes #3393
Does NOT address #3364 (which will be in a follow-up PR)
Based on the success criterion, we're allowed to present information without forcing horizontal scroll for users because an exception is provided for data tables, but
Resource view
In the resource view, we can hide all but resource type/name/status behind details
Structured logs
Same for structured logs, but this time resource/timestamp/message
Traces
Same for traces, but timestamp and resource name. For trace details, since users can click on the individual rows, we can hide the "View" button
Metrics
There isn't enough space to present both the metric select tree and main content together, so we can move the selector into filters
We are allowed to require horizontal scrolling for the filters table and chart, and it is unavoidable for these two elements.
Detail view
Because of a Safari bug, we make the copy button opacity 0 instead of collapsing it. We could limit this behavior to just Safari by parsing the user agent, but since this is a nonessential feature also available by double-clicking the cell, I removed the copy button on very low viewport widths to allow for more content to be displayed.
Microsoft Reviewers: Open in CodeFlow