Skip to content

Commit

Permalink
fix(Workspace): Fixes illustration and copy (opensearch-project#1916)
Browse files Browse the repository at this point in the history
Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>
  • Loading branch information
ashwin-pc committed Aug 4, 2022
1 parent 10c4934 commit e93e6a5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 14 deletions.
11 changes: 4 additions & 7 deletions src/plugins/wizard/public/application/components/workspace.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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%);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ export const Workspace: FC = ({ children }) => {
) : (
<EuiFlexItem className="wizWorkspace__empty">
<EuiEmptyPrompt
title={<h2>Drop some fields here to start</h2>}
title={<h2>Drop some fields to start</h2>}
body={
<>
<p>Drag a field directly to the canvas or axis to generate a visualization.</p>
<p>Drag a field to the configuration panel to generate a visualization.</p>
<span className="wizWorkspace__container">
<EuiIcon className="wizWorkspace__fieldSvg" type={fields_bg} size="original" />
<EuiIcon
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/wizard/public/assets/fields_bg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions src/plugins/wizard/public/assets/index_pattern.svg

This file was deleted.

0 comments on commit e93e6a5

Please sign in to comment.