21 references to Comfortable
Aspire.Dashboard (3)
Components\Dialogs\SettingsDialog.razor.cs (1)
91
new(ResourceListDensity.
Comfortable
, new Icons.Regular.Size20.AppsListDetail(), Loc[nameof(Dashboard.Resources.Dialogs.SettingsDialogResourceListDensityComfortable)]),
Model\DashboardViewPreferences.cs (2)
177
await localStorage.SetUnprotectedAsync(BrowserStorageKeys.ResourceListDensity, nameof(ResourceListDensity.
Comfortable
)).ConfigureAwait(false);
178
return ResourceListDensity.
Comfortable
;
Aspire.Dashboard.Components.Tests (17)
Dialogs\SettingsDialogTests.cs (1)
99
Assert.Equal(ResourceListDensity.
Comfortable
, preferences.Density);
Layout\ResourceRowAvailabilityTests.cs (1)
441
cut.InvokeAsync(() => Services.GetRequiredService<DashboardViewPreferences>().SetDensityAsync(ResourceListDensity.
Comfortable
));
Layout\ResourcesLayoutTests.cs (13)
413
await cut.InvokeAsync(() => Services.GetRequiredService<DashboardViewPreferences>().SetDensityAsync(ResourceListDensity.
Comfortable
));
455
await cut.InvokeAsync(() => Services.GetRequiredService<DashboardViewPreferences>().SetDensityAsync(ResourceListDensity.
Comfortable
));
462
[InlineData(ResourceListDensity.
Comfortable
)]
1161
await cut.InvokeAsync(() => Services.GetRequiredService<DashboardViewPreferences>().SetDensityAsync(ResourceListDensity.
Comfortable
));
1255
await cut.InvokeAsync(() => preferences.SetDensityAsync(ResourceListDensity.
Comfortable
));
1644
[InlineData(CommandViewModelState.Enabled, false, false, ResourceListDensity.
Comfortable
)]
1646
[InlineData(CommandViewModelState.Disabled, true, false, ResourceListDensity.
Comfortable
)]
1648
[InlineData(CommandViewModelState.Hidden, true, false, ResourceListDensity.
Comfortable
)]
1815
[InlineData(true, ResourceListDensity.
Comfortable
)]
1817
[InlineData(false, ResourceListDensity.
Comfortable
)]
2510
[InlineData("Persistent", ResourceListDensity.
Comfortable
, "Container (persistent)")]
2512
[InlineData("Session", ResourceListDensity.
Comfortable
, "Container")]
2514
[InlineData(null, ResourceListDensity.
Comfortable
, "Container")]
Model\DashboardViewPreferencesTests.cs (2)
67
Assert.Equal(ResourceListDensity.
Comfortable
, preferences.Density);
74
Assert.Equal(ResourceListDensity.
Comfortable
, reopenedPreferences.Density);
Aspire.Dashboard.Playwright.Tests (1)
Integration\Playwright\Infrastructure\PlaywrightTestsBase.cs (1)
50
localStorage.setItem('{{BrowserStorageKeys.ResourceListDensity}}', '"{{nameof(ResourceListDensity.
Comfortable
)}}"');