From 3e088f6f7f02a4b01688e9f29cdfd7d36092518c Mon Sep 17 00:00:00 2001 From: himaniraghav3 Date: Wed, 30 Apr 2025 14:04:38 +0530 Subject: [PATCH] PM-876 Add a requests button on opportunity feed --- .../src/pages/copilot-opportunity-list/index.tsx | 6 ++++++ .../content-layout/ContentLayout.module.scss | 1 + .../lib/components/content-layout/ContentLayout.tsx | 11 +++++++++++ 3 files changed, 18 insertions(+) diff --git a/src/apps/copilots/src/pages/copilot-opportunity-list/index.tsx b/src/apps/copilots/src/pages/copilot-opportunity-list/index.tsx index 212bce585..21f703b84 100644 --- a/src/apps/copilots/src/pages/copilot-opportunity-list/index.tsx +++ b/src/apps/copilots/src/pages/copilot-opportunity-list/index.tsx @@ -134,10 +134,16 @@ const CopilotOpportunityList: FC<{}> = () => { onClick: () => navigate(copilotRoutesMap.CopilotRequestForm), } + const addCopilotRequestsButton: ButtonProps = { + label: 'Copilot Requests', + onClick: () => navigate(copilotRoutesMap.CopilotRequests), + } + return ( Copilot Opportunities = (props: ContentLayoutProps) => ( {props.title} + {!!props.secondaryButtonConfig && ( +
+
+ )} + {!!props.buttonConfig && (