From 9d2cb8ddf1e692062a03031e727b448932065972 Mon Sep 17 00:00:00 2001 From: Alexa Vargas <239999+axelavargas@users.noreply.github.com> Date: Thu, 31 Jul 2025 14:52:12 +0200 Subject: [PATCH] Query Library: Add `highlightQuery` to QueryLibraryContext (#108617) * add hightlightedQuery to QueryLibraryContext * revert go changes --- .../features/explore/QueryLibrary/QueryLibraryContext.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/public/app/features/explore/QueryLibrary/QueryLibraryContext.tsx b/public/app/features/explore/QueryLibrary/QueryLibraryContext.tsx index 9037182c156..eeb7c3d9b1d 100644 --- a/public/app/features/explore/QueryLibrary/QueryLibraryContext.tsx +++ b/public/app/features/explore/QueryLibrary/QueryLibraryContext.tsx @@ -24,7 +24,11 @@ export type QueryLibraryContextType = { openDrawer: ( datasourceFilters: string[], onSelectQuery: OnSelectQueryType, - options?: { isReplacingQuery?: boolean; context?: string } + options?: { + isReplacingQuery?: boolean; + context?: string; + highlightQuery?: string; + } ) => void; closeDrawer: () => void; isDrawerOpen: boolean;