-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #136 from KPMP/develop
Prep for release
- Loading branch information
Showing
12 changed files
with
1,692 additions
and
643 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ import WhatSeen from './WhatSeen'; | |
import CanIShare from './CanIShare'; | ||
import MakeRecommendation from './MakeRecommendation'; | ||
import PasswordIssues from './PasswordIssues'; | ||
import ReactGA from 'react-ga'; | ||
import { default as ReactGA4 } from 'react-ga4'; | ||
|
||
class Help extends Component { | ||
|
||
|
@@ -18,13 +18,14 @@ class Help extends Component { | |
|
||
componentDidMount() { | ||
document.body.classList.remove('slide-viewer-body'); | ||
let action = 'View Help'; | ||
let label = 'Help'; | ||
if (this.props.slides === undefined || this.props.slides.length === 0) { | ||
action = 'Sent to Help (no slides)' | ||
label = 'No Slides' | ||
} | ||
ReactGA.event({ | ||
ReactGA4.event({ | ||
category: 'Participant Portal', | ||
action: action, | ||
action:'Navigation', | ||
label: label | ||
}); | ||
} | ||
|
||
|
@@ -90,6 +91,11 @@ class Help extends Component { | |
<li><a href='mailto:[email protected]?subject=Question from Participant Portal'>Columbia University</a></li> | ||
<li><a href='mailto:[email protected]?subject=Question from Participant Portal'>Johns Hopkins University</a></li> | ||
<li><a href='mailto:[email protected]?subject=Question from Participant Portal'>Joslin/Beth Isreal Deaconess</a></li> | ||
<li><a href='mailto:[email protected]?subject=Question from Participant Portal'>Mount Sinai</a></li> | ||
<li><a href='mailto:[email protected]?subject=Question from Participant Portal'>University of Arizona</a></li> | ||
<li><a href='mailto:[email protected]?subject=Question from Participant Portal'>University of Illinois Chicago</a></li> | ||
<li><a href='mailto:[email protected]?subject=Question from Participant Portal'>University of Minnesota</a></li> | ||
<li><a href='mailto:[email protected]?subject=Question from Participant Portal'>University of North Carolina</a></li> | ||
<li><a href='mailto:[email protected]?subject=Question from Participant Portal'>University of Pittsburgh</a></li> | ||
<li><a href='mailto:[email protected]?subject=Question from Participant Portal'>UT Southwestern</a></li> | ||
<li><a href='mailto:[email protected]?subject=Question from Participant Portal'>Yale University</a></li> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters