forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
132269: cluster-ui: add auto stats collection setting value to db page r=xinhaoz a=xinhaoz This commit adds the Auto stats collction label to the new db page. The value is in the top right corner of the page. Epic: CRDB-37558 Release note (ui change): The value of the auto stats collection enabled cluster setting is now in the top right corner of the db overview page. Co-authored-by: Xin Hao Zhang <[email protected]>
- Loading branch information
Showing
4 changed files
with
135 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
pkg/ui/workspaces/cluster-ui/src/constants/tooltipMessages.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Copyright 2024 The Cockroach Authors. | ||
// | ||
// Use of this software is governed by the CockroachDB Software License | ||
// included in the /LICENSE file. | ||
import Link from "antd/es/typography/Link"; | ||
import React from "react"; | ||
|
||
import { tableStatsClusterSetting } from "src/util"; | ||
|
||
export const AUTO_STATS_COLLECTION_HELP = ( | ||
<span> | ||
Automatic statistics can help improve query performance. Learn how to{" "} | ||
<Link underline href={tableStatsClusterSetting} target="_blank"> | ||
<span>manage statistics collection</span> | ||
</Link>{" "} | ||
. | ||
</span> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters