From 1e9d6e1b1c645bd4f49792b2cb630e7bbabb2080 Mon Sep 17 00:00:00 2001 From: Thomas Date: Thu, 2 Apr 2026 15:24:35 -0400 Subject: [PATCH 1/4] add open in dashboard and reset engagement buttons --- packages/client/src/clients/guide/types.ts | 1 + .../components/Toolbar/V2/GuideRowDetails.tsx | 21 +++++++++++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/packages/client/src/clients/guide/types.ts b/packages/client/src/clients/guide/types.ts index d57ae5276..2b453971c 100644 --- a/packages/client/src/clients/guide/types.ts +++ b/packages/client/src/clients/guide/types.ts @@ -72,6 +72,7 @@ export interface GuideData { activation_url_rules: GuideActivationUrlRuleData[]; activation_url_patterns: GuideActivationUrlPatternData[]; bypass_global_group_limit: boolean; + dashboard_url: string; inserted_at: string; updated_at: string; } diff --git a/packages/react/src/modules/guide/components/Toolbar/V2/GuideRowDetails.tsx b/packages/react/src/modules/guide/components/Toolbar/V2/GuideRowDetails.tsx index d89c499db..9948784b4 100644 --- a/packages/react/src/modules/guide/components/Toolbar/V2/GuideRowDetails.tsx +++ b/packages/react/src/modules/guide/components/Toolbar/V2/GuideRowDetails.tsx @@ -1,3 +1,4 @@ +import { Button } from "@telegraph/button"; import { Box, Stack } from "@telegraph/layout"; import { Tooltip } from "@telegraph/tooltip"; import { Text } from "@telegraph/typography"; @@ -135,7 +136,7 @@ export const GuideRowDetails = ({ ); return ( - + - + + + + ); }; From fa54481ceddadeccaaaf3cbe5ecc34469dac41c5 Mon Sep 17 00:00:00 2001 From: Thomas Date: Thu, 2 Apr 2026 15:40:41 -0400 Subject: [PATCH 2/4] style updates --- .../components/Toolbar/V2/GuideRowDetails.tsx | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/packages/react/src/modules/guide/components/Toolbar/V2/GuideRowDetails.tsx b/packages/react/src/modules/guide/components/Toolbar/V2/GuideRowDetails.tsx index 9948784b4..2f7b569c7 100644 --- a/packages/react/src/modules/guide/components/Toolbar/V2/GuideRowDetails.tsx +++ b/packages/react/src/modules/guide/components/Toolbar/V2/GuideRowDetails.tsx @@ -31,7 +31,7 @@ const CardContainer = ({ bg="surface-1" border="px" borderColor="gray-4" - style={{ flex: 1 }} + style={{ flex: 1, alignSelf: "stretch" }} > {title} @@ -185,15 +185,12 @@ export const GuideRowDetails = ({ - - + + {dashboardUrl && ( + + )} );