21 references to Comfortable
Aspire.Dashboard (3)
Components\Dialogs\SettingsDialog.razor.cs (1)
91new(ResourceListDensity.Comfortable, new Icons.Regular.Size20.AppsListDetail(), Loc[nameof(Dashboard.Resources.Dialogs.SettingsDialogResourceListDensityComfortable)]),
Model\DashboardViewPreferences.cs (2)
177await localStorage.SetUnprotectedAsync(BrowserStorageKeys.ResourceListDensity, nameof(ResourceListDensity.Comfortable)).ConfigureAwait(false); 178return ResourceListDensity.Comfortable;
Aspire.Dashboard.Components.Tests (17)
Dialogs\SettingsDialogTests.cs (1)
99Assert.Equal(ResourceListDensity.Comfortable, preferences.Density);
Layout\ResourceRowAvailabilityTests.cs (1)
441cut.InvokeAsync(() => Services.GetRequiredService<DashboardViewPreferences>().SetDensityAsync(ResourceListDensity.Comfortable));
Layout\ResourcesLayoutTests.cs (13)
413await cut.InvokeAsync(() => Services.GetRequiredService<DashboardViewPreferences>().SetDensityAsync(ResourceListDensity.Comfortable)); 455await cut.InvokeAsync(() => Services.GetRequiredService<DashboardViewPreferences>().SetDensityAsync(ResourceListDensity.Comfortable)); 462[InlineData(ResourceListDensity.Comfortable)] 1161await cut.InvokeAsync(() => Services.GetRequiredService<DashboardViewPreferences>().SetDensityAsync(ResourceListDensity.Comfortable)); 1255await 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)
67Assert.Equal(ResourceListDensity.Comfortable, preferences.Density); 74Assert.Equal(ResourceListDensity.Comfortable, reopenedPreferences.Density);
Aspire.Dashboard.Playwright.Tests (1)
Integration\Playwright\Infrastructure\PlaywrightTestsBase.cs (1)
50localStorage.setItem('{{BrowserStorageKeys.ResourceListDensity}}', '"{{nameof(ResourceListDensity.Comfortable)}}"');