Remove preview tag for hierarchical_partition_key (#1447)

* Remove preview tag for hierarchical_partition_key
This commit is contained in:
sunghyunkang1111 2023-05-18 14:28:53 -05:00 committed by GitHub
parent ba66aa939b
commit 9b214a3171
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -634,18 +634,18 @@ export class AddCollectionPanel extends React.Component<AddCollectionPanelProps,
{userContext.apiType === "SQL" && ( {userContext.apiType === "SQL" && (
<Stack className="panelGroupSpacing"> <Stack className="panelGroupSpacing">
<DefaultButton <DefaultButton
styles={{ root: { padding: 0, width: 250, height: 30 }, label: { fontSize: 12 } }} styles={{ root: { padding: 0, width: 200, height: 30 }, label: { fontSize: 12 } }}
hidden={this.state.useHashV1} hidden={this.state.useHashV1}
disabled={this.state.subPartitionKeys.length >= Constants.BackendDefaults.maxNumMultiHashPartition} disabled={this.state.subPartitionKeys.length >= Constants.BackendDefaults.maxNumMultiHashPartition}
onClick={() => this.setState({ subPartitionKeys: [...this.state.subPartitionKeys, ""] })} onClick={() => this.setState({ subPartitionKeys: [...this.state.subPartitionKeys, ""] })}
> >
Add hierarchical partition key (preview) Add hierarchical partition key
</DefaultButton> </DefaultButton>
{this.state.subPartitionKeys.length > 0 && ( {this.state.subPartitionKeys.length > 0 && (
<Text variant="small"> <Text variant="small">
<Icon iconName="InfoSolid" className="removeIcon" tabIndex={0} /> This feature allows you to <Icon iconName="InfoSolid" className="removeIcon" tabIndex={0} /> This feature allows you to
partition your data with up to three levels of keys for better data distribution. Requires preview partition your data with up to three levels of keys for better data distribution. Requires .NET
version of .NET V3 or Java V4 SDK.{" "} V3, Java V4 SDK, or preview JavaScript V3 SDK.{" "}
<Link href="https://aka.ms/cosmos-hierarchical-partitioning" target="_blank"> <Link href="https://aka.ms/cosmos-hierarchical-partitioning" target="_blank">
Learn more Learn more
</Link> </Link>

View File

@ -254,12 +254,12 @@ exports[`AddCollectionPanel should render Default properly 1`] = `
"root": Object { "root": Object {
"height": 30, "height": 30,
"padding": 0, "padding": 0,
"width": 250, "width": 200,
}, },
} }
} }
> >
Add hierarchical partition key (preview) Add hierarchical partition key
</CustomizedDefaultButton> </CustomizedDefaultButton>
</Stack> </Stack>
</Stack> </Stack>