From 5d0805dd48890b2a22148ab009d9bdfbf92416d1 Mon Sep 17 00:00:00 2001 From: mcbrewster <37322608+mcbrewster@users.noreply.github.com> Date: Mon, 5 Aug 2019 14:12:16 -0700 Subject: [PATCH] Web-Console: change go to sql button to more button (#8227) * change go to sql button * rename to See in SQL view * update snapshots --- .../datasource-view.spec.tsx.snap | 42 ++++++++++++-- .../views/datasource-view/datasource-view.tsx | 45 ++++++++++++--- .../__snapshots__/segments-view.spec.tsx.snap | 43 +++++++++++++-- .../src/views/segments-view/segments-view.tsx | 55 ++++++++++++++----- .../__snapshots__/servers-view.spec.tsx.snap | 42 ++++++++++++-- .../src/views/servers-view/servers-view.tsx | 44 ++++++++++++--- .../__snapshots__/tasks-view.spec.tsx.snap | 42 ++++++++++++-- .../src/views/task-view/tasks-view.tsx | 34 +++++++++--- 8 files changed, 286 insertions(+), 61 deletions(-) diff --git a/web-console/src/views/datasource-view/__snapshots__/datasource-view.spec.tsx.snap b/web-console/src/views/datasource-view/__snapshots__/datasource-view.spec.tsx.snap index 916251606c3..0e4bc806871 100755 --- a/web-console/src/views/datasource-view/__snapshots__/datasource-view.spec.tsx.snap +++ b/web-console/src/views/datasource-view/__snapshots__/datasource-view.spec.tsx.snap @@ -11,11 +11,43 @@ exports[`data source view matches snapshot 1`] = ` localStorageKey="datasources-refresh-rate" onRefresh={[Function]} /> - + + + + } + defaultIsOpen={false} + disabled={false} + fill={false} + hasBackdrop={false} + hoverCloseDelay={300} + hoverOpenDelay={150} + inheritDarkTheme={true} + interactionKind="click" + minimal={false} + modifiers={Object {}} + openOnTargetFocus={true} + position="bottom-left" + targetTagName="span" + transitionDuration={300} + usePortal={true} + wrapperTagName="span" + > + + + {!noSqlMode && ( + goToQuery(DatasourcesView.DATASOURCE_SQL)} + /> + )} + + ); + + return ( + <> + +