From c0afa74876044d36c01fa82e061ff93111d3eec7 Mon Sep 17 00:00:00 2001 From: Ashley Harrison Date: Mon, 6 Nov 2023 13:52:50 +0000 Subject: [PATCH] QueryRows: Fix being able to reorder rows with keyboard (#77355) * Revert "Explore: A tooltip for reorder icon in query operation (#75978)" This reverts commit 76e102d1a3df1b4fce52f9d0e34c2d27e0d9ac0e. * update type * CI driven development --- .../QueryOperationRowHeader.tsx | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/public/app/core/components/QueryOperationRow/QueryOperationRowHeader.tsx b/public/app/core/components/QueryOperationRow/QueryOperationRowHeader.tsx index bcdfb7cf42b..83431260f3a 100644 --- a/public/app/core/components/QueryOperationRow/QueryOperationRowHeader.tsx +++ b/public/app/core/components/QueryOperationRow/QueryOperationRowHeader.tsx @@ -4,7 +4,7 @@ import { DraggableProvided } from 'react-beautiful-dnd'; import { GrafanaTheme2 } from '@grafana/data'; import { Stack } from '@grafana/experimental'; -import { IconButton, useStyles2 } from '@grafana/ui'; +import { Icon, IconButton, useStyles2 } from '@grafana/ui'; export interface QueryOperationRowHeaderProps { actionsElement?: React.ReactNode; @@ -15,7 +15,7 @@ export interface QueryOperationRowHeaderProps { headerElement?: React.ReactNode; isContentVisible: boolean; onRowToggle: () => void; - reportDragMousePosition: MouseEventHandler; + reportDragMousePosition: MouseEventHandler; title?: string; id: string; expanderMessages?: ExpanderMessages; @@ -76,16 +76,9 @@ export const QueryOperationRowHeader = ({ {actionsElement} {draggable && ( - +
+ +
)}