From aee55131e75683549ffc740e73b7312caca4895d Mon Sep 17 00:00:00 2001 From: David Hartunian Date: Fri, 3 Oct 2025 15:16:50 +0000 Subject: [PATCH] ui: update txn diagnostics history UI text and docs link Point users to new docs link and builtin. Epic: CRDB-53541 Resolves: CRDB-55077 Release note: None --- pkg/ui/workspaces/db-console/src/util/docs.ts | 2 ++ .../containers/transactionDiagnosticsHistory/index.tsx | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pkg/ui/workspaces/db-console/src/util/docs.ts b/pkg/ui/workspaces/db-console/src/util/docs.ts index 313b0eb6ea00..4dd186456845 100644 --- a/pkg/ui/workspaces/db-console/src/util/docs.ts +++ b/pkg/ui/workspaces/db-console/src/util/docs.ts @@ -41,6 +41,7 @@ export let jobsResume: string; export let jobsCancel: string; export let statementsTable: string; export let statementDiagnostics: string; +export let transactionDiagnostics: string; export let statementsSql: string; export let statementsRetries: string; export let transactionRetryErrorReference: string; @@ -102,6 +103,7 @@ export const recomputeDocsURLs = () => { jobsCancel = docsURL("cancel-job"); statementsTable = docsURL("ui-statements-page.html"); statementDiagnostics = docsURL("ui-statements-page.html#diagnostics"); + transactionDiagnostics = docsURL("transaction-diagnostics.html"); statementsSql = docsURL("ui-statements-page.html#sql-statement-fingerprints"); statementsRetries = docsURL("transactions.html#transaction-retries"); transactionRetryErrorReference = docsURL( diff --git a/pkg/ui/workspaces/db-console/src/views/reports/containers/transactionDiagnosticsHistory/index.tsx b/pkg/ui/workspaces/db-console/src/views/reports/containers/transactionDiagnosticsHistory/index.tsx index 6db79181094c..2754add69631 100644 --- a/pkg/ui/workspaces/db-console/src/views/reports/containers/transactionDiagnosticsHistory/index.tsx +++ b/pkg/ui/workspaces/db-console/src/views/reports/containers/transactionDiagnosticsHistory/index.tsx @@ -29,7 +29,7 @@ import { } from "src/redux/alerts"; import { trackCancelDiagnosticsBundleAction } from "src/redux/analyticsActions"; import { trackDownloadDiagnosticsBundle } from "src/util/analytics"; -import { statementDiagnostics } from "src/util/docs"; +import { transactionDiagnostics } from "src/util/docs"; import { trustIcon } from "src/util/trust"; import "./transactionDiagnosticsHistoryView.styl"; @@ -252,11 +252,11 @@ export const TransactionDiagnosticsHistoryView: React.FC< icon={EmptyTableIcon} message={ "Transaction diagnostics can help when troubleshooting issues with specific transactions. " + - "The diagnostic bundle can be activated from individual transaction pages and will include EXPLAIN" + + "The diagnostic bundle can be activated from a builtin function and will include EXPLAIN" + " plans, table statistics, and traces for all statements in the transaction." } footer={ - + Learn more about transaction diagnostics }