Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add link to CC App sharepoint site in the Help section #812

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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