some wordsmithing

This commit is contained in:
Ashley Stanton-Nurse 2024-06-07 13:53:21 -07:00
parent 2bd913acbb
commit 48950613a7
No known key found for this signature in database
1 changed files with 4 additions and 3 deletions

View File

@ -19,7 +19,6 @@ export const OpenFullScreen: React.FunctionComponent = () => {
hasAccountContext = true; hasAccountContext = true;
} }
} else if (userContext.authType === AuthType.MasterKey || userContext.authType === AuthType.ResourceToken) { } else if (userContext.authType === AuthType.MasterKey || userContext.authType === AuthType.ResourceToken) {
searchParams.append("authType", "connectionstring")
requiresConnectionString = true; requiresConnectionString = true;
} }
@ -30,8 +29,10 @@ export const OpenFullScreen: React.FunctionComponent = () => {
<Text> <Text>
Open this database account in a new browser tab with Cosmos DB Explorer. Open this database account in a new browser tab with Cosmos DB Explorer.
{requiresConnectionString && " You'll need to provide a connection string."} {requiresConnectionString && " You'll need to provide a connection string."}
{hasAccountContext && " You may be prompted to sign in with Entra ID, and then you'll be redirected back to this account."} {hasAccountContext && " You may be prompted to sign in with Entra ID again."}
Open tabs and queries will not be carried over, but will remain in this tab. </Text>
<Text>
Open tabs and queries will not be carried over, but you can still access them in this tab.
</Text> </Text>
<Stack horizontal tokens={{ childrenGap: 10 }}> <Stack horizontal tokens={{ childrenGap: 10 }}>
<PrimaryButton <PrimaryButton