Skip to content

Commit

Permalink
feat: Add link to CC App sharepoint site in the Help section (#812)
Browse files Browse the repository at this point in the history
Co-authored-by: Noggling <[email protected]>
  • Loading branch information
Noggling and Noggling authored Oct 4, 2024
1 parent 974860f commit 915edf2
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/pr-812-2107152275.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

---
"fusion-project-portal": patch
---
Add link to CC App sharepoint site in the Help section
2 changes: 1 addition & 1 deletion client/apps/portal-administration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"main": "src/index.ts",
"scripts": {
"build:apps": "fusion-framework-cli app build",
"dev": "fusion-framework-cli app dev",
"dev:apps": "fusion-framework-cli app dev",
"docker": "cd .. && sh docker-script.sh app-react",
"bundle": "fusion-framework-cli app pack"
},
Expand Down
13 changes: 12 additions & 1 deletion client/packages/components/src/components/help/Help.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ export const Help = ({ action, onClose, open }: PortalActionProps) => {
<Typography variant="h5"> Welcome to the Fusion Project Portal!</Typography>
<Style.Content>
<Typography>
The application is created to show a complete view of fusion applications customized for the chosen project.
The application is created to show a complete view of fusion applications customized for the
chosen project.
<br />
</Typography>
</Style.Content>
Expand Down Expand Up @@ -69,6 +70,16 @@ export const Help = ({ action, onClose, open }: PortalActionProps) => {
href="https://equinor.github.io/fusion-project-portal-internal/docs/documentation/CHANGELOG"
/>
</Style.Content>
<Divider />

<Typography variant="h5">Project Portal Help</Typography>
<Style.Content>
<ExternalLink
title="Fusion Project Portal User Guide"
text="Fusion Project Portal User Guide"
href="https://statoilsrm.sharepoint.com/sites/FusionProjectPortalUserGuide/SitePages/Home.aspx"
/>
</Style.Content>
</Style.Wrapper>
</SideSheet.Content>
</SideSheet>
Expand Down
9 changes: 8 additions & 1 deletion client/packages/components/src/components/help/HelpMenu.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Button, Icon, Menu } from '@equinor/eds-core-react';
import { file_description, help_outline, info_circle, launch, report_bug } from '@equinor/eds-icons';
import { file_description, help, help_outline, info_circle, launch, report_bug } from '@equinor/eds-icons';
import { useRef, useState } from 'react';
import styled from 'styled-components';

Expand Down Expand Up @@ -69,6 +69,13 @@ export const HelpMenu = ({ setActiveActionById }: { setActiveActionById: (id: st
User Documentation
</MenuItem>
<Menu.Section title="">
<MenuItem
iconData={help_outline}
title="Fusion Project Portal User Guide"
link="https://statoilsrm.sharepoint.com/sites/FusionProjectPortalUserGuide/SitePages/Home.aspx"
>
Project Portal User Guide
</MenuItem>
<MenuItem
iconData={help_outline}
title="Report an error to service@equinor"
Expand Down

0 comments on commit 915edf2

Please sign in to comment.