Skip to content

Commit

Permalink
Add banner for precision oncology paper and fix typo (#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinlu3 authored Oct 18, 2023
1 parent 060d66b commit f399f33
Show file tree
Hide file tree
Showing 39 changed files with 31 additions and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshot-test/__baseline_snapshots__/Login Page-snap.png
25 changes: 25 additions & 0 deletions src/main/webapp/app/components/userMessager/UserMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,31 @@ if (
// ADD MESSAGE IN FOLLOWING FORMAT
// UNIQUE ID IS IMPORTANT B/C WE REMEMBER A MESSAGE HAS BEEN SHOWN
// BASED ON USERS LOCALSTORAGE
{
dateEnd: 100000000000000,
content: (
<div>
<span>Check out our latest publication in Cancer Discovery, </span>
<Linkout
link={
'https://aacrjournals.org/cancerdiscovery/article/doi/10.1158/2159-8290.CD-23-0467/729589/Quantifying-the-Expanding-Landscape-of-Clinical'
}
style={{ color: 'white', textDecoration: 'underline' }}
>
Quantifying the Expanding Landscape of Clinical Actionability for
Patients with Cancer
</Linkout>
<span>, and visit our new </span>
<Link
to={PAGE_ROUTE.PO_TX}
style={{ color: 'white', textDecoration: 'underline' }}
>
precision oncology therapies page!
</Link>
</div>
),
id: '2023-precision-oncology-therapies',
},
{
dateEnd: 1,
content: (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { DownloadButton } from 'app/components/downloadButton/DownloadButton';
import WithSeparator from 'react-with-separator';
import InfoIcon from 'app/shared/icons/InfoIcon';
import ShowHideText from 'app/shared/texts/ShowHideText';
import {Linkout} from "app/shared/links/Linkout";
import { Linkout } from 'app/shared/links/Linkout';

type PrecisionOncologyTherapy = {
year: string;
Expand Down Expand Up @@ -266,8 +266,11 @@ const PrecisionOncologyTherapiesPage: React.FunctionComponent<{}> = props => {
The following US Food and Drug Administration (FDA)-approved
therapies are considered precision oncology therapies by {ONCOKB_TM}{' '}
and are further classified as either first-in-class,
mechanistically-distinct, follow-on, or resistance based on <Linkout link='https://aacrjournals.org/cancerdiscovery/article/doi/10.1158/2159-8290.CD-23-0467/729589/Quantifying-the-Expanding-Landscape-of-Clinical'>Suehnholz et al., Cancer Discovery 2023</Linkout> (also refer to definitions (also refer to definitions
below).
mechanistically-distinct, follow-on, or resistance based on{' '}
<Linkout link="https://aacrjournals.org/cancerdiscovery/article/doi/10.1158/2159-8290.CD-23-0467/729589/Quantifying-the-Expanding-Landscape-of-Clinical">
Suehnholz et al., Cancer Discovery 2023
</Linkout>{' '}
(also refer to definitions below).
<ShowHideText
className={'my-2'}
show={showDefinition}
Expand Down

0 comments on commit f399f33

Please sign in to comment.