Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Workspace): Fixes illustration and copy #1916

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.