From 2e519e7532ec7e1ddfef43ceaed7090ae2bc3ff4 Mon Sep 17 00:00:00 2001 From: Siddhant Khare Date: Fri, 3 Mar 2023 10:51:00 +0530 Subject: [PATCH] New Settings option & `New Workspace ...` fix (#16596) --- components/dashboard/src/projects/Project.tsx | 2 +- components/dashboard/src/projects/ProjectListItem.tsx | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/components/dashboard/src/projects/Project.tsx b/components/dashboard/src/projects/Project.tsx index 37b4c53a35405e..36d7ff60b6e41c 100644 --- a/components/dashboard/src/projects/Project.tsx +++ b/components/dashboard/src/projects/Project.tsx @@ -382,7 +382,7 @@ export default function ProjectsPage() { ? [] : [ { - title: "New Workspace ...", + title: "New Workspace with ...", onClick: () => setStartWorkspaceModalProps({ contextUrl: branch.url, diff --git a/components/dashboard/src/projects/ProjectListItem.tsx b/components/dashboard/src/projects/ProjectListItem.tsx index 4fe49c55d00f7e..a9b9c683920b99 100644 --- a/components/dashboard/src/projects/ProjectListItem.tsx +++ b/components/dashboard/src/projects/ProjectListItem.tsx @@ -47,7 +47,7 @@ export const ProjectListItem: FunctionComponent = ({ proje ? [] : [ { - title: "New Workspace ...", + title: "New Workspace with ...", onClick: () => setStartWorkspaceModalProps({ contextUrl: project.cloneUrl, @@ -56,6 +56,11 @@ export const ProjectListItem: FunctionComponent = ({ proje separator: true, }, ]), + { + title: "Settings", + link: `/projects/${Project.slug(project)}/settings`, + separator: true, + }, { title: "Remove Project", customFontStyle: