-
Notifications
You must be signed in to change notification settings - Fork 543
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 child resources visible by default, add expand/collapse all children toggle, move resources filters to menu #7404
Make child resources visible by default, add expand/collapse all children toggle, move resources filters to menu #7404
Conversation
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
failing tests |
Test failures are unrelated to the changes |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
UI feedback: I think these should be two seperate buttons: the existing filter button is unchanged, and add a seperate cog button to its right for expand/collapse. This keeps the resources page consistent with the other pages that show a grid of data (structured logs, traces) and have a filter button. Even though there will just be one option in the cog menu, continue to have expand/collapse there for consistency with console logs page. The UI on these pages is going to keep evolving as we add new features - so things will keep moving around - but I think this is the right approach for now. Is hide/show the right terminology here? It's more expand/collapse. For example, Windows explorer talks about expanding folders. Instead of the eye icons, try out |
I'll pull the branch and try this out tomorrow. |
I made some changes:
Please test and double check I haven't broken anything. |
10cf15a
to
0c0fa99
Compare
…default # Conflicts: # src/Aspire.Dashboard/Utils/BrowserStorageKeys.cs
Description
We agreed to make child resources visible by default (ie, catalogdb)

Along with making this change, the toggle state for each child resource is persisted after navigating away from the page. It's separate from other page state, so does not appear in the page URL. See the video for an example of this.
I also moved the filter button to a "settings" menu very similar to the one we have in console logs

and added a collapse/expand all children button

Moving the "add filter" button into a menu does add an extra click compared to before (see a screenshot of the before UI below), but this UI is actually aligned with the rest of the dashboard pages, which only display combo boxes in the toolbar and put everything else in a menu or dialog.
Fixes #7258
Checklist
<remarks />
and<code />
elements on your triple slash comments?breaking-change
template):doc-idea
template):