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

Backport #34666 #54612

Merged
merged 2 commits into from
Jan 13, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

.canvasAssetManager__emptyPanel {
max-width: 400px;
margin: 0 auto;
margin: $euiSizeXL auto 0;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ export const AssetModal: FunctionComponent<Props> = props => {
const percentageUsed = Math.round((assetsTotal / ASSET_MAX_SIZE) * 100);

const emptyAssets = (
<EuiPanel className="canvasAssetManager__emptyPanel">
<div className="canvasAssetManager__emptyPanel">
<EuiEmptyPrompt
iconType="importAction"
title={<h2>{strings.getEmptyAssetsDescription()}</h2>}
titleSize="xs"
/>
</EuiPanel>
</div>
);

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const WorkpadTemplates = compose(
// Clone workpad given an id
cloneWorkpad: props => workpad => {
workpad.id = getId('workpad');
workpad.name = `Untitled Workpad - ${workpad.name}`;
workpad.name = `My Canvas Workpad - ${workpad.name}`;
workpad.tags = undefined;
return workpadService
.create(workpad)
Expand Down
2 changes: 1 addition & 1 deletion x-pack/legacy/plugins/canvas/public/state/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const getDefaultPage = () => {
export const getDefaultWorkpad = () => {
const page = getDefaultPage();
return {
name: 'Untitled Workpad',
name: 'My Canvas Workpad',
id: getId('workpad'),
width: 1080,
height: 720,
Expand Down