From 18f68a2703e90ab6a07726543b515116c55355aa Mon Sep 17 00:00:00 2001 From: Matthew Todd Date: Thu, 16 Dec 2021 10:53:22 -0500 Subject: [PATCH] ui: say "reset" SQL stats instead of "clear" Fixes #73444 Release note (ui change): The "clear SQL stats" links on the statement and transaction pages were relabeled "reset SQL stats," for consistency with the language in the SQL shell. --- pkg/ui/workspaces/cluster-ui/src/sqlActivity/clearStats.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/ui/workspaces/cluster-ui/src/sqlActivity/clearStats.tsx b/pkg/ui/workspaces/cluster-ui/src/sqlActivity/clearStats.tsx index 42891c3c3fdc..ff7a23d969b7 100644 --- a/pkg/ui/workspaces/cluster-ui/src/sqlActivity/clearStats.tsx +++ b/pkg/ui/workspaces/cluster-ui/src/sqlActivity/clearStats.tsx @@ -42,7 +42,7 @@ const ClearStats = (props: clearStatsProps): React.ReactElement => { const toolTipText = `${statsType} statistics are aggregated once an hour by default and organized by the start time. Statistics between two hourly intervals belong to the nearest hour rounded down. For example, a ${statsType} execution ending at 1:50 would have its statistics aggregated in the 1:00 interval - start time. Clicking ‘clear SQL stats’ will reset SQL stats on the Statements and Transactions pages and + start time. Clicking ‘reset SQL stats’ will reset SQL stats on the Statements and Transactions pages and crdb_internal tables.`; return ( @@ -50,7 +50,7 @@ const ClearStats = (props: clearStatsProps): React.ReactElement => { className={cx("action", "tooltip-info", "separator")} onClick={props.resetSQLStats} > - clear SQL stats + reset SQL stats );