diff --git a/src/pages/index.tsx b/src/pages/index.tsx index edfdb471..783a105f 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -11,6 +11,7 @@ import TokenRefresh from '../people/utils/TokenRefresh'; import GenerateStoriesView from '../people/widgetViews/GenerateStoriesView'; import PhasePlannerView from '../people/widgetViews/PhasePlannerView'; import { HiveChatView } from '../people/hiveChat/index'; +import WorkSpacePlanner from '../people/WorkSpacePlanner/index'; import Body from './tribes/Body'; import Header from './tribes/Header'; import { MainLayout } from './MainLayout'; @@ -36,6 +37,9 @@ const modeDispatchPages: Record React.ReactElement> = { + + + diff --git a/src/pages/tickets/style.ts b/src/pages/tickets/style.ts index b332125c..0bb8f838 100644 --- a/src/pages/tickets/style.ts +++ b/src/pages/tickets/style.ts @@ -567,3 +567,9 @@ export const TicketHeaderInputWrap = styled.div` align-items: center; gap: 10px; `; + +export const WorkspaceFieldWrap = styled.div` + margin-bottom: 10px; + margin-top: 10px; + width: 98%; +`; diff --git a/src/people/WorkSpacePlanner/index.tsx b/src/people/WorkSpacePlanner/index.tsx new file mode 100644 index 00000000..d14a02c2 --- /dev/null +++ b/src/people/WorkSpacePlanner/index.tsx @@ -0,0 +1,9 @@ +import React from 'react'; + +const WorkspacePlanner = () => ( +
+

Welcome to the new Workspace Planner

+
+); + +export default WorkspacePlanner; diff --git a/src/people/widgetViews/WorkspaceMission.tsx b/src/people/widgetViews/WorkspaceMission.tsx index 77e09da2..82d2a3bc 100644 --- a/src/people/widgetViews/WorkspaceMission.tsx +++ b/src/people/widgetViews/WorkspaceMission.tsx @@ -30,7 +30,8 @@ import { EditPopoverTail, EditPopoverContent, EditPopoverText, - EditPopover + EditPopover, + WorkspaceFieldWrap } from 'pages/tickets/style'; import React, { useCallback, useEffect, useMemo, useState } from 'react'; @@ -440,6 +441,10 @@ const WorkspaceMission = () => { history.push(`/workspace/${uuid}/hivechat/${chatId}`); }; + const handleWorkspacePlanner = () => { + history.push(`/workspace/${uuid}/planner`); + }; + const handleUserRepoOptionClick = (repositoryId: number) => { setDisplayUserRepoOptions((prev: Record) => ({ ...prev, @@ -1083,6 +1088,29 @@ const WorkspaceMission = () => { + + + {uuid && ( + +