15 references to GroupOverview
Aspire.Dashboard (3)
Model\DashboardViewPreferences.cs (3)
133
await localStorage.SetUnprotectedAsync(BrowserStorageKeys.
GroupOverview
, groupOverview.ToString()).ConfigureAwait(false);
186
var result = await localStorage.GetUnprotectedAsync<string>(BrowserStorageKeys.
GroupOverview
).ConfigureAwait(false);
191
await localStorage.SetUnprotectedAsync(BrowserStorageKeys.
GroupOverview
, nameof(GroupOverview.Summary)).ConfigureAwait(false);
Aspire.Dashboard.Components.Tests (10)
Dialogs\SettingsDialogTests.cs (2)
78
BrowserStorageKeys.
GroupOverview
=> (true, "Resources"),
103
Assert.Equal("Graph", stored[BrowserStorageKeys.
GroupOverview
]);
Layout\MainLayoutTests.cs (4)
170
case BrowserStorageKeys.
GroupOverview
:
226
case BrowserStorageKeys.
GroupOverview
:
267
case BrowserStorageKeys.
GroupOverview
:
313
if (key is BrowserStorageKeys.ResourceListDensity or BrowserStorageKeys.
GroupOverview
or BrowserStorageKeys.RecordingsStyle)
Model\DashboardViewPreferencesTests.cs (4)
24
OnGetUnprotectedAsync = key => key == BrowserStorageKeys.
GroupOverview
? (true, stored) : (false, null),
38
Assert.Equal([(BrowserStorageKeys.
GroupOverview
, (object?)"Summary")], writes);
93
OnGetUnprotectedAsync = key => key == BrowserStorageKeys.
GroupOverview
? (true, stored) : (false, null),
113
OnGetUnprotectedAsync = key => key == BrowserStorageKeys.
GroupOverview
? (true, "Graph") : (false, null),
Aspire.Dashboard.Playwright.Tests (2)
Integration\Playwright\OverviewLayoutTests.cs (2)
46
await page.EvaluateAsync("key => localStorage.setItem(key, JSON.stringify('Cards'))", BrowserStorageKeys.
GroupOverview
);
50
await page.WaitForFunctionAsync("key => JSON.parse(localStorage.getItem(key)) === 'Summary'", BrowserStorageKeys.
GroupOverview
);