From 749e1e5c29e8d6eabd113dfc849f5e1e2a6ee13c Mon Sep 17 00:00:00 2001 From: Jan Keromnes Date: Wed, 6 Oct 2021 08:20:17 +0000 Subject: [PATCH 1/2] [projects] Add 'New Workspace' context menu option to all Team Projects cards --- .../dashboard/src/projects/Projects.tsx | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/components/dashboard/src/projects/Projects.tsx b/components/dashboard/src/projects/Projects.tsx index e68ef0f20f8a5e..51ba0215cd5d85 100644 --- a/components/dashboard/src/projects/Projects.tsx +++ b/components/dashboard/src/projects/Projects.tsx @@ -118,17 +118,24 @@ export default function () { {projects.filter(filter).sort(hasNewerPrebuild).map(p => (
-
+
- {p.name} + {p.name}
- onRemoveProject(p) - }]} /> + onRemoveProject(p) + }, + ]} />
From a8cac16c67f782a95aaade154cf62ff3d670eb08 Mon Sep 17 00:00:00 2001 From: Jan Keromnes Date: Wed, 13 Oct 2021 10:49:34 +0000 Subject: [PATCH 2/2] [dashboard] Add hover state to default 'more actions' button Co-authored-by: George Tsiolis --- components/dashboard/src/components/ContextMenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/dashboard/src/components/ContextMenu.tsx b/components/dashboard/src/components/ContextMenu.tsx index 034fc3573fbc89..bebfb04b248e78 100644 --- a/components/dashboard/src/components/ContextMenu.tsx +++ b/components/dashboard/src/components/ContextMenu.tsx @@ -69,7 +69,7 @@ function ContextMenu(props: ContextMenuProps) { const menuId = String(Math.random()); // Default 'children' is the three dots hamburger button. - const children = props.children || Actions; + const children = props.children || Actions; return (