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

View File

@@ -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 />}

View File

@@ -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();