diff --git a/pkg/ui/workspaces/cluster-ui/src/databaseDetailsPage/databaseDetailsPage.tsx b/pkg/ui/workspaces/cluster-ui/src/databaseDetailsPage/databaseDetailsPage.tsx index 3bfb47f8ed7b..1fe7f5aafb27 100644 --- a/pkg/ui/workspaces/cluster-ui/src/databaseDetailsPage/databaseDetailsPage.tsx +++ b/pkg/ui/workspaces/cluster-ui/src/databaseDetailsPage/databaseDetailsPage.tsx @@ -23,10 +23,11 @@ import { Pagination, ResultsPerPageLabel } from "src/pagination"; import { ColumnDescriptor, ISortedTablePagination, - SortSetting, SortedTable, + SortSetting, } from "src/sortedtable"; import * as format from "src/util/format"; +import { DATE_FORMAT } from "src/util/format"; import { mvccGarbage, syncHistory } from "../util"; import styles from "./databaseDetailsPage.module.scss"; @@ -37,7 +38,6 @@ import { } from "src/transactionsPage/transactionsPageClasses"; import { Moment } from "moment"; import { Caution } from "@cockroachlabs/icons"; -import { DATE_FORMAT } from "src/util/format"; import { Anchor } from "../anchor"; const cx = classNames.bind(styles); @@ -378,7 +378,7 @@ export class DatabaseDetailsPage extends React.Component< title: ( Regions diff --git a/pkg/ui/workspaces/cluster-ui/src/databaseTablePage/databaseTablePage.tsx b/pkg/ui/workspaces/cluster-ui/src/databaseTablePage/databaseTablePage.tsx index 537080a10f9d..6d70c529b05f 100644 --- a/pkg/ui/workspaces/cluster-ui/src/databaseTablePage/databaseTablePage.tsx +++ b/pkg/ui/workspaces/cluster-ui/src/databaseTablePage/databaseTablePage.tsx @@ -9,13 +9,13 @@ // licenses/APL.txt. import React from "react"; -import { Col, Row, Tabs } from "antd"; +import { Col, Row, Tabs, Tooltip } from "antd"; import "antd/lib/col/style"; import "antd/lib/row/style"; import "antd/lib/tabs/style"; -import { RouteComponentProps } from "react-router-dom"; +import { Link, RouteComponentProps } from "react-router-dom"; import classNames from "classnames/bind"; -import { Tooltip } from "antd"; +import classnames from "classnames/bind"; import "antd/lib/tooltip/style"; import { Heading } from "@cockroachlabs/ui-components"; @@ -24,13 +24,14 @@ import { Breadcrumbs } from "src/breadcrumbs"; import { CaretRight } from "src/icon/caretRight"; import { StackIcon } from "src/icon/stackIcon"; import { SqlBox } from "src/sql"; -import { ColumnDescriptor, SortSetting, SortedTable } from "src/sortedtable"; +import { ColumnDescriptor, SortedTable, SortSetting } from "src/sortedtable"; import { SummaryCard, SummaryCardItem, SummaryCardItemBoolSetting, } from "src/summaryCard"; import * as format from "src/util/format"; +import { DATE_FORMAT, DATE_FORMAT_24_UTC } from "src/util/format"; import { syncHistory, tableStatsClusterSetting } from "src/util"; import styles from "./databaseTablePage.module.scss"; @@ -38,12 +39,10 @@ import { commonStyles } from "src/common"; import { baseHeadingClasses } from "src/transactionsPage/transactionsPageClasses"; import moment, { Moment } from "moment"; import { Search as IndexIcon } from "@cockroachlabs/icons"; -import { Link } from "react-router-dom"; -import classnames from "classnames/bind"; import booleanSettingStyles from "../settings/booleanSetting.module.scss"; import { CircleFilled } from "../icon"; import { performanceTuningRecipes } from "src/util/docs"; -import { DATE_FORMAT_24_UTC, DATE_FORMAT } from "src/util/format"; + const cx = classNames.bind(styles); const booleanSettingCx = classnames.bind(booleanSettingStyles); @@ -346,7 +345,7 @@ export class DatabaseTablePage extends React.Component< placement="bottom" title="Index recommendations will appear if the system detects improper index usage, such as the occurrence of unused indexes. Following index recommendations may help improve query performance." > - Index recommendations + Index Recommendations ), cell: this.renderIndexRecommendations, @@ -492,7 +491,7 @@ export class DatabaseTablePage extends React.Component< {this.props.showNodeRegionsSection && ( )} diff --git a/pkg/ui/workspaces/cluster-ui/src/databasesPage/databasesPage.tsx b/pkg/ui/workspaces/cluster-ui/src/databasesPage/databasesPage.tsx index 2126a5c325ba..61bf70f4f9f0 100644 --- a/pkg/ui/workspaces/cluster-ui/src/databasesPage/databasesPage.tsx +++ b/pkg/ui/workspaces/cluster-ui/src/databasesPage/databasesPage.tsx @@ -13,6 +13,7 @@ import { Link, RouteComponentProps } from "react-router-dom"; import { Tooltip } from "antd"; import "antd/lib/tooltip/style"; import classNames from "classnames/bind"; +import classnames from "classnames/bind"; import { Anchor } from "src/anchor"; import { StackIcon } from "src/icon/stackIcon"; @@ -21,8 +22,8 @@ import { BooleanSetting } from "src/settings/booleanSetting"; import { ColumnDescriptor, ISortedTablePagination, - SortSetting, SortedTable, + SortSetting, } from "src/sortedtable"; import * as format from "src/util/format"; @@ -33,7 +34,6 @@ import { statisticsClasses, } from "src/transactionsPage/transactionsPageClasses"; import { syncHistory, tableStatsClusterSetting } from "src/util"; -import classnames from "classnames/bind"; import booleanSettingStyles from "../settings/booleanSetting.module.scss"; import { CircleFilled } from "../icon"; @@ -284,7 +284,7 @@ export class DatabasesPage extends React.Component< placement="bottom" title="The total number of ranges across all tables in the database." > - Range count + Range Count ), cell: database => database.rangeCount, @@ -296,9 +296,9 @@ export class DatabasesPage extends React.Component< title: ( - Regions/nodes + Regions/Nodes ), cell: database => database.nodesByRegionString || "None", @@ -313,7 +313,7 @@ export class DatabasesPage extends React.Component< placement="bottom" title="Index recommendations will appear if the system detects improper index usage, such as the occurrence of unused indexes. Following index recommendations may help improve query performance." > - Index recommendations + Index Recommendations ), cell: this.renderIndexRecommendations, diff --git a/pkg/ui/workspaces/cluster-ui/src/pageConfig/pageConfig.tsx b/pkg/ui/workspaces/cluster-ui/src/pageConfig/pageConfig.tsx index a9a601fe75ed..086913ccb553 100644 --- a/pkg/ui/workspaces/cluster-ui/src/pageConfig/pageConfig.tsx +++ b/pkg/ui/workspaces/cluster-ui/src/pageConfig/pageConfig.tsx @@ -30,7 +30,9 @@ export function PageConfig(props: PageConfigProps): React.ReactElement { return (
    {props.children}