-
Notifications
You must be signed in to change notification settings - Fork 543
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make child resources visible by default, add expand/collapse all chil…
…dren toggle, move resources filters to menu (#7404) * Expand child resources by default, persist * Add resources page settings button * Edit collapse/expand all children text * Change hide/show to collapse/expand * Change hide/show to collapse/expand * Use collapsed resource hash set instead of dictionary * Add filter button back, hide settings button when there are no children * Changes and fixes * Fix build --------- Co-authored-by: Adam Ratzman <[email protected]> Co-authored-by: James Newton-King <[email protected]>
- Loading branch information
1 parent
2e3da91
commit d51f233
Showing
22 changed files
with
318 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,20 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
|
||
using System.Diagnostics.CodeAnalysis; | ||
|
||
namespace Aspire.Dashboard.Model.BrowserStorage; | ||
|
||
public readonly record struct StorageResult<TValue>(bool Success, TValue? Value); | ||
public readonly struct StorageResult<TValue> | ||
{ | ||
[MemberNotNullWhen(true, nameof(Value))] | ||
public bool Success { get; } | ||
|
||
public TValue? Value { get; } | ||
|
||
public StorageResult(bool success, TValue? value) | ||
{ | ||
Success = success; | ||
Value = value; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.