From dca051e1126e3394c3db155b4bb094951f2d7902 Mon Sep 17 00:00:00 2001 From: Ashwin P Chandran Date: Wed, 20 Jul 2022 13:22:40 -0700 Subject: [PATCH] fix(Workspace): Fixes illustration and copy (#1916) Signed-off-by: Ashwin Pc --- .../public/application/components/workspace.scss | 11 ++++------- .../public/application/components/workspace.tsx | 4 ++-- src/plugins/wizard/public/assets/fields_bg.svg | 2 +- src/plugins/wizard/public/assets/index_pattern.svg | 4 ---- 4 files changed, 7 insertions(+), 14 deletions(-) delete mode 100644 src/plugins/wizard/public/assets/index_pattern.svg diff --git a/src/plugins/wizard/public/application/components/workspace.scss b/src/plugins/wizard/public/application/components/workspace.scss index 0a4465c0e692..f83a148ec44d 100644 --- a/src/plugins/wizard/public/application/components/workspace.scss +++ b/src/plugins/wizard/public/application/components/workspace.scss @@ -16,21 +16,18 @@ } &__handFieldSvg { - animation-name: dragAndDropAnimation; - animation-direction: alternate-reverse; - animation-duration: 1.5s; - animation-iteration-count: infinite; + animation: wizDragAnimation 2s ease-in-out infinite alternate; position: absolute; top: 43%; } } -@keyframes dragAndDropAnimation { +@keyframes wizDragAnimation { 0% { - transform: translate(65%, 0); + transform: none; } 100% { - transform: none; + transform: translate(65%, -30%); } } diff --git a/src/plugins/wizard/public/application/components/workspace.tsx b/src/plugins/wizard/public/application/components/workspace.tsx index 17565a1d0003..9a910b51c320 100644 --- a/src/plugins/wizard/public/application/components/workspace.tsx +++ b/src/plugins/wizard/public/application/components/workspace.tsx @@ -91,10 +91,10 @@ export const Workspace: FC = ({ children }) => { ) : ( Drop some fields here to start} + title={

Drop some fields to start

} body={ <> -

Drag a field directly to the canvas or axis to generate a visualization.

+

Drag a field to the configuration panel to generate a visualization.

- + diff --git a/src/plugins/wizard/public/assets/index_pattern.svg b/src/plugins/wizard/public/assets/index_pattern.svg deleted file mode 100644 index b1f140a38632..000000000000 --- a/src/plugins/wizard/public/assets/index_pattern.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - -