BrowseDashboards: Enable new browse dashboards UI by default (#75822)

* BrowseDashboards: Enable new browse dashboards UI by default

* update docs

* enable new e2e tests
This commit is contained in:
Josh Hunt 2023-10-05 10:14:10 +00:00 committed by GitHub
parent bd2191c158
commit 3e2ca29c8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 19 deletions

View File

@ -49,6 +49,7 @@ Some features are enabled by default. You can disable these feature by setting t
| `toggleLabelsInLogsUI` | Enable toggleable filters in log details view | Yes |
| `azureMonitorDataplane` | Adds dataplane compliant frame metadata in the Azure Monitor datasource | Yes |
| `prometheusConfigOverhaulAuth` | Update the Prometheus configuration page with the new auth component | Yes |
| `newBrowseDashboards` | New browse/manage dashboards UI | Yes |
| `cloudWatchWildCardDimensionValues` | Fetches dimension values from CloudWatch to correctly label wildcard dimensions | Yes |
## Preview feature toggles
@ -78,7 +79,6 @@ Some features are enabled by default. You can disable these feature by setting t
| `awsAsyncQueryCaching` | Enable caching for async queries for Redshift and Athena. Requires that the `useCachingService` feature toggle is enabled and the datasource has caching and async query support enabled |
| `splitScopes` | Support faster dashboard and folder search by splitting permission scopes into parts |
| `reportingRetries` | Enables rendering retries for the reporting feature |
| `newBrowseDashboards` | New browse/manage dashboards UI |
## Experimental feature toggles

View File

@ -6,22 +6,7 @@ describe('Dashboard browse', () => {
e2e.flows.login(Cypress.env('USERNAME'), Cypress.env('PASSWORD'));
});
it('Basic folder view test', () => {
e2e.flows.importDashboard(testDashboard, 1000, true);
e2e.pages.Dashboards.visit();
// folder view is collapsed - verify its content does not exist
e2e.components.Search.folderContent('General').should('not.exist');
e2e.components.Search.dashboardItem('E2E Test - Dashboard Search').should('not.exist');
e2e.components.Search.folderHeader('General').click({ force: true });
e2e.components.Search.folderContent('General').should('be.visible');
e2e.components.Search.dashboardItem('E2E Test - Import Dashboard').should('be.visible');
});
it.skip('Manage Dashboards tests', () => {
it('Manage Dashboards tests', () => {
e2e.flows.importDashboard(testDashboard, 1000, true);
e2e.pages.Dashboards.visit();

View File

@ -729,9 +729,10 @@ var (
{
Name: "newBrowseDashboards",
Description: "New browse/manage dashboards UI",
Stage: FeatureStagePublicPreview,
Stage: FeatureStageGeneralAvailability,
Owner: grafanaFrontendPlatformSquad,
FrontendOnly: true,
Expression: "true", // on by default
},
{
Name: "sseGroupByDatasource",

View File

@ -103,7 +103,7 @@ alertingNoDataErrorExecution,privatePreview,@grafana/alerting-squad,false,false,
angularDeprecationUI,experimental,@grafana/plugins-platform-backend,false,false,false,true
dashgpt,experimental,@grafana/dashboards-squad,false,false,false,true
reportingRetries,preview,@grafana/sharing-squad,false,false,true,false
newBrowseDashboards,preview,@grafana/grafana-frontend-platform,false,false,false,true
newBrowseDashboards,GA,@grafana/grafana-frontend-platform,false,false,false,true
sseGroupByDatasource,experimental,@grafana/observability-metrics,false,false,false,false
requestInstrumentationStatusSource,experimental,@grafana/plugins-platform-backend,false,false,false,false
lokiRunQueriesInParallel,privatePreview,@grafana/observability-logs,false,false,false,false

1 Name Stage Owner requiresDevMode RequiresLicense RequiresRestart FrontendOnly
103 angularDeprecationUI experimental @grafana/plugins-platform-backend false false false true
104 dashgpt experimental @grafana/dashboards-squad false false false true
105 reportingRetries preview @grafana/sharing-squad false false true false
106 newBrowseDashboards preview GA @grafana/grafana-frontend-platform false false false true
107 sseGroupByDatasource experimental @grafana/observability-metrics false false false false
108 requestInstrumentationStatusSource experimental @grafana/plugins-platform-backend false false false false
109 lokiRunQueriesInParallel privatePreview @grafana/observability-logs false false false false