From da2e0d99f64279b284c6d38beb5c53d2e4449c0c Mon Sep 17 00:00:00 2001 From: George Tsiolis Date: Tue, 20 Jul 2021 17:46:18 +0000 Subject: [PATCH] Improve workspaces empty state --- components/dashboard/src/images/workspaces-empty.svg | 1 + components/dashboard/src/workspaces/Workspaces.tsx | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 components/dashboard/src/images/workspaces-empty.svg diff --git a/components/dashboard/src/images/workspaces-empty.svg b/components/dashboard/src/images/workspaces-empty.svg new file mode 100644 index 00000000000000..e356ccb1152d9d --- /dev/null +++ b/components/dashboard/src/images/workspaces-empty.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/components/dashboard/src/workspaces/Workspaces.tsx b/components/dashboard/src/workspaces/Workspaces.tsx index be00dc139096cd..2b47a0423b7dc1 100644 --- a/components/dashboard/src/workspaces/Workspaces.tsx +++ b/components/dashboard/src/workspaces/Workspaces.tsx @@ -9,6 +9,7 @@ import { WhitelistedRepository, Workspace, WorkspaceInfo } from "@gitpod/gitpod- import Header from "../components/Header"; import DropDown from "../components/DropDown"; import exclamation from "../images/exclamation.svg"; +import workspacesEmpty from '../images/workspaces-empty.svg'; import { WorkspaceModel } from "./workspace-model"; import { WorkspaceEntry } from "./WorkspaceEntry"; import { getGitpodService, gitpodHostUrl } from "../service/service"; @@ -134,7 +135,8 @@ export default class Workspaces extends React.Component
-

No Active Workspaces

+ Workspaces (empty) +

No Active Workspaces

Prefix any git repository URL with gitpod.io/# or create a new workspace for a recently used project. Learn more