PublicDashboards: Enable feature by default for GA and remove public preview text (#76484)

* public dashboard for GA

* files modified

* public preview removed
This commit is contained in:
Juan Cabanas 2023-10-13 11:32:49 -03:00 committed by GitHub
parent a42040a59a
commit 40b79de0cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 11 deletions

View File

@ -13,12 +13,6 @@ weight: 8
# Public dashboards
{{% admonition type="note" %}}
This feature is in [public preview](/docs/release-life-cycle/).
{{% /admonition %}}
> **Warning:** Making your dashboard public could result in a large number of queries to the data sources used by your dashboard.
> This can be mitigated by utilizing the enterprise [caching][] and/or rate limiting features.

View File

@ -22,6 +22,7 @@ Some features are enabled by default. You can disable these feature by setting t
| Feature toggle name | Description | Enabled by default |
| ------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ |
| `disableEnvelopeEncryption` | Disable envelope encryption (emergency only) | |
| `publicDashboards` | Enables public access to dashboards | Yes |
| `featureHighlights` | Highlight Grafana Enterprise features | |
| `dataConnectionsConsole` | Enables a new top-level page called Connections. This page is an experiment that provides a better experience when you install and configure data sources and other plugins. | Yes |
| `cloudWatchCrossAccountQuerying` | Enables cross-account querying in CloudWatch datasources | Yes |
@ -58,7 +59,6 @@ Some features are enabled by default. You can disable these feature by setting t
| -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `trimDefaults` | Use cue schema to remove values that will be applied automatically |
| `panelTitleSearch` | Search for dashboards using panel title |
| `publicDashboards` | Enables public access to dashboards |
| `migrationLocking` | Lock database during migrations |
| `correlations` | Correlations page |
| `newDBLibrary` | Use jmoiron/sqlx rather than xorm for a few backend services |

View File

@ -44,8 +44,9 @@ var (
{
Name: "publicDashboards",
Description: "Enables public access to dashboards",
Stage: FeatureStagePublicPreview,
Stage: FeatureStageGeneralAvailability,
Owner: grafanaSharingSquad,
Expression: "true", // enabled by default
},
{
Name: "publicDashboardsEmailSharing",

View File

@ -4,7 +4,7 @@ disableEnvelopeEncryption,GA,@grafana/grafana-as-code,false,false,false,false
live-service-web-worker,experimental,@grafana/grafana-app-platform-squad,false,false,false,true
queryOverLive,experimental,@grafana/grafana-app-platform-squad,false,false,false,true
panelTitleSearch,preview,@grafana/grafana-app-platform-squad,false,false,false,false
publicDashboards,preview,@grafana/sharing-squad,false,false,false,false
publicDashboards,GA,@grafana/sharing-squad,false,false,false,false
publicDashboardsEmailSharing,preview,@grafana/sharing-squad,false,true,false,false
lokiExperimentalStreaming,experimental,@grafana/observability-logs,false,false,false,false
featureHighlights,GA,@grafana/grafana-as-code,false,false,false,false

1 Name Stage Owner requiresDevMode RequiresLicense RequiresRestart FrontendOnly
4 live-service-web-worker experimental @grafana/grafana-app-platform-squad false false false true
5 queryOverLive experimental @grafana/grafana-app-platform-squad false false false true
6 panelTitleSearch preview @grafana/grafana-app-platform-squad false false false false
7 publicDashboards preview GA @grafana/sharing-squad false false false false
8 publicDashboardsEmailSharing preview @grafana/sharing-squad false true false false
9 lokiExperimentalStreaming experimental @grafana/observability-logs false false false false
10 featureHighlights GA @grafana/grafana-as-code false false false false

View File

@ -46,7 +46,7 @@ const CreatePublicDashboard = ({ isError }: { isError: boolean }) => {
return (
<div className={styles.container}>
<div>
<p className={styles.title}>Welcome to public dashboards public preview!</p>
<p className={styles.title}>Welcome to public dashboards!</p>
<p className={styles.description}>Currently, we dont support template variables or frontend data sources</p>
</div>

View File

@ -195,7 +195,7 @@ describe('SharePublic - New config setup', () => {
it('renders when public dashboards feature is enabled', async () => {
await renderSharePublicDashboard();
await screen.findByText('Welcome to public dashboards public preview!');
await screen.findByText('Welcome to public dashboards!');
expect(screen.getByText('Generate public URL')).toBeInTheDocument();
expect(screen.queryByTestId(selectors.WillBePublicCheckbox)).toBeInTheDocument();