PublicDashboards: change wording and FF to public preview state (#68262)

This commit is contained in:
Ezequiel Victorero
2023-05-11 15:31:19 -03:00
committed by GitHub
parent b7c50b3be2
commit 11c388a10f
5 changed files with 8 additions and 8 deletions
@@ -45,6 +45,8 @@ Some stable features are enabled by default. You can disable a stable feature by
| `trimDefaults` | Use cue schema to remove values that will be applied automatically |
| `panelTitleSearch` | Search for dashboards using panel title |
| `prometheusAzureOverrideAudience` | Experimental. Allow override default AAD audience for Azure Prometheus endpoint |
| `publicDashboards` | Enables public access to dashboards |
| `publicDashboardsEmailSharing` | Enables public dashboard sharing to be restricted to only allowed emails |
| `migrationLocking` | Lock database during migrations |
| `exploreMixedDatasource` | Enable mixed datasource in Explore |
| `correlations` | Correlations page |
@@ -70,8 +72,6 @@ Alpha features might be changed or removed without prior notice.
| ---------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| `live-service-web-worker` | This will use a webworker thread to processes events rather than the main thread |
| `queryOverLive` | Use Grafana Live WebSocket to execute backend queries |
| `publicDashboards` | Enables public access to dashboards |
| `publicDashboardsEmailSharing` | Enables public dashboard sharing to be restricted to only allowed emails |
| `lokiLive` | Support WebSocket streaming for loki (early prototype) |
| `storage` | Configurable storage for dashboards, datasources, and resources |
| `newTraceViewHeader` | Shows the new trace view header |
+2 -2
View File
@@ -50,13 +50,13 @@ var (
{
Name: "publicDashboards",
Description: "Enables public access to dashboards",
State: FeatureStateAlpha,
State: FeatureStateBeta,
Owner: grafanaDashboardsSquad,
},
{
Name: "publicDashboardsEmailSharing",
Description: "Enables public dashboard sharing to be restricted to only allowed emails",
State: FeatureStateAlpha,
State: FeatureStateBeta,
RequiresLicense: true,
Owner: grafanaDashboardsSquad,
},
+2 -2
View File
@@ -5,8 +5,8 @@ live-service-web-worker,alpha,@grafana/grafana-app-platform-squad,false,false,fa
queryOverLive,alpha,@grafana/grafana-app-platform-squad,false,false,false,true
panelTitleSearch,beta,@grafana/grafana-app-platform-squad,false,false,false,false
prometheusAzureOverrideAudience,beta,@grafana/observability-metrics,false,false,false,false
publicDashboards,alpha,@grafana/dashboards-squad,false,false,false,false
publicDashboardsEmailSharing,alpha,@grafana/dashboards-squad,false,true,false,false
publicDashboards,beta,@grafana/dashboards-squad,false,false,false,false
publicDashboardsEmailSharing,beta,@grafana/dashboards-squad,false,true,false,false
lokiLive,alpha,@grafana/observability-logs,false,false,false,false
featureHighlights,stable,@grafana/grafana-as-code,false,false,false,false
migrationLocking,beta,@grafana/backend-platform,false,false,false,false
1 Name State Owner requiresDevMode RequiresLicense RequiresRestart FrontendOnly
5 queryOverLive alpha @grafana/grafana-app-platform-squad false false false true
6 panelTitleSearch beta @grafana/grafana-app-platform-squad false false false false
7 prometheusAzureOverrideAudience beta @grafana/observability-metrics false false false false
8 publicDashboards alpha beta @grafana/dashboards-squad false false false false
9 publicDashboardsEmailSharing alpha beta @grafana/dashboards-squad false true false false
10 lokiLive alpha @grafana/observability-logs false false false false
11 featureHighlights stable @grafana/grafana-as-code false false false false
12 migrationLocking beta @grafana/backend-platform false false false false
@@ -45,7 +45,7 @@ const CreatePublicDashboard = ({ isError }: { isError: boolean }) => {
return (
<div>
<p className={styles.title}>Welcome to public dashboards alpha!</p>
<p className={styles.title}>Welcome to public dashboards public preview!</p>
<Description />
{!hasWritePermissions && <NoUpsertPermissionsAlert mode="create" />}
{dashboardHasTemplateVariables(dashboard.getVariables()) && <UnsupportedTemplateVariablesAlert />}
@@ -175,7 +175,7 @@ describe('SharePublic - New config setup', () => {
it('renders when public dashboards feature is enabled', async () => {
await renderSharePublicDashboard();
await screen.findByText('Welcome to public dashboards alpha!');
await screen.findByText('Welcome to public dashboards public preview!');
expect(screen.getByText('Generate public URL')).toBeInTheDocument();
expect(screen.queryByTestId(selectors.WillBePublicCheckbox)).toBeInTheDocument();