Skip to content

Commit cbcf45b

Browse files
fix(ui): keep Configure slow queries CTA clickable
Move HelpTooltip off the heading so it cannot cover the CTA, and add data-testid for the log-source button. Co-authored-by: Venkat SF <venkatesh.sakamuri@stayflexi.com>
1 parent 03b4a6c commit cbcf45b

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

src/components/sections/SlowQueriesSection.jsx

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,19 +61,22 @@ export default function SlowQueriesSection() {
6161
) : !hasLogSource ? (
6262
<div className={styles.setupCard}>
6363
<FileText size={32} className={styles.setupIcon} />
64-
<h2 className={styles.setupTitle}>
64+
<h2 className={styles.setupTitle}>Configure slow queries</h2>
65+
<p className={styles.setupCopy}>
6566
<HelpTooltip content={LOG_SOURCE_HELP}>
66-
<span>Configure slow queries</span>
67+
<span>
68+
Attach a slow-query log source to unlock query trends, per-customer
69+
breakdown, and workload analysis.
70+
</span>
6771
</HelpTooltip>
68-
</h2>
69-
<p className={styles.setupCopy}>
70-
Attach a slow-query log source to unlock query trends, per-customer
71-
breakdown, and workload analysis. DeepSQL pulls from CloudWatch, S3,
72-
Azure Blob, GCP, Datadog, Elasticsearch, or a file you upload.
72+
{' '}
73+
DeepSQL pulls from CloudWatch, S3, Azure Blob, GCP, Datadog,
74+
Elasticsearch, or a file you upload.
7375
</p>
7476
<button
7577
type="button"
7678
className={styles.setupCta}
79+
data-testid="configure-slow-queries"
7780
onClick={() => setLogSourceModalOpen(true)}
7881
>
7982
<FileText size={14} />

0 commit comments

Comments
 (0)