From af8df0ed907dcd9ba10fc4d3e20c87d20731c1e6 Mon Sep 17 00:00:00 2001 From: nmarrs Date: Wed, 19 Nov 2025 21:02:42 -0800 Subject: [PATCH] fix: resolve linter errors in ShareLinkTab - Add noMargin prop to Field components to remove built-in margins - Replace deprecated gf-form with TextLink component from @grafana/ui --- eslint-suppressions.json | 5 ----- .../dashboard-scene/sharing/ShareLinkTab.tsx | 12 ++++++------ 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/eslint-suppressions.json b/eslint-suppressions.json index 84e5d786552..544fb4bd990 100644 --- a/eslint-suppressions.json +++ b/eslint-suppressions.json @@ -2141,11 +2141,6 @@ "count": 1 } }, - "public/app/features/dashboard-scene/sharing/ShareLinkTab.tsx": { - "no-restricted-syntax": { - "count": 4 - } - }, "public/app/features/dashboard-scene/sharing/ShareSnapshotTab.tsx": { "no-restricted-syntax": { "count": 3 diff --git a/public/app/features/dashboard-scene/sharing/ShareLinkTab.tsx b/public/app/features/dashboard-scene/sharing/ShareLinkTab.tsx index bde33b603d8..63592b700b5 100644 --- a/public/app/features/dashboard-scene/sharing/ShareLinkTab.tsx +++ b/public/app/features/dashboard-scene/sharing/ShareLinkTab.tsx @@ -184,15 +184,15 @@ function ShareLinkTabRenderer({ model }: SceneComponentProps) {

- + - + - + ) { {panel && config.rendererAvailable && ( <> {isDashboardSaved && ( -