Skip to content

Commit 5403bfe

Browse files
authored
Merge branch 'main' into lf-validationlab-widget
2 parents 1156b13 + 34fce8f commit 5403bfe

File tree

13 files changed

+503
-460
lines changed

13 files changed

+503
-460
lines changed

src/components/ChipList.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,9 @@ function ChipContainer({ item, children }) {
3636
/**
3737
* Display a (horizontal) list of "chips".
3838
* Each chip can show an optional tooltip.
39-
* @param items Array of strings or objects with format {label, tooltip, customClass}.
40-
* Use customClass to customize look'n'feel, e.g. background color.
39+
* @param items Array of Strings.
4140
* @param small Display each chip as size="small"
42-
*
41+
* Each item in the items array can also be an object, with format {label, tooltip, customClass}
4342
*/
4443
function ChipList({ items, small }) {
4544
const classes = useChipStyles();

src/constants.js

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import {
2-
faQuestionCircle,
2+
// faQuestionCircle,
3+
faBook,
34
faEnvelope,
45
} from '@fortawesome/free-solid-svg-icons';
56
import {
@@ -13,11 +14,11 @@ import config from './config';
1314

1415
export const externalLinks = {
1516
about: [
16-
{
17-
label: `Platform version ${process.env.REACT_APP_REVISION ?? 'dev'}`,
18-
url: `https://github.com/opentargets/platform-app/releases/tag/${process
19-
.env.REACT_APP_REVISION ?? 'v0.1.1'}`,
20-
},
17+
// {
18+
// label: `Platform version ${process.env.REACT_APP_REVISION ?? 'dev'}`,
19+
// url: `https://github.com/opentargets/platform-app/releases/tag/${process
20+
// .env.REACT_APP_REVISION ?? 'v0.1.1'}`,
21+
// },
2122
{
2223
label: 'Community forum',
2324
url: 'https://community.opentargets.org',
@@ -44,23 +45,31 @@ export const externalLinks = {
4445
{ label: 'Bristol Myers Squibb', url: 'https://www.bms.com' },
4546
{ label: 'EMBL-EBI', url: 'https://www.ebi.ac.uk' },
4647
{ label: 'GSK', url: 'https://www.gsk.com' },
48+
{ label: 'Pfizer', url: 'https://pfizer.com' },
4749
{ label: 'Sanofi', url: 'https://www.sanofi.com' },
4850
{ label: 'Wellcome Sanger Institute', url: 'https://www.sanger.ac.uk' },
4951
],
5052
help: [
5153
{
5254
label: 'Documentation',
53-
icon: faQuestionCircle,
55+
icon: faBook,
5456
url: 'https://platform-docs.opentargets.org',
5557
},
58+
{
59+
label: 'Community',
60+
icon: faDiscourse,
61+
url: 'https://community.opentargets.org',
62+
external: true,
63+
},
5664
{
5765
label: config.profile.helpdeskEmail,
5866
icon: faEnvelope,
59-
url: `mailto:${config.profile.helpdeskEmail}`,
67+
url: `mailto: ${config.profile.helpdeskEmail}`,
68+
external: true,
6069
},
6170
],
6271
social: [
63-
{ icon: faDiscourse, url: 'https://community.opentargets.org' },
72+
// { icon: faDiscourse, url: 'https://community.opentargets.org' },
6473
{ icon: faTwitterSquare, url: 'https://twitter.com/opentargets' },
6574
{ icon: faLinkedin, url: 'https://www.linkedin.com/company/open-targets' },
6675
{ icon: faYoutubeSquare, url: 'https://www.youtube.com/opentargets' },

src/pages/DownloadsPage/DownloadsWrapper.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ const DownloadsPage = lazy(() => import('./DownloadsPage.js'));
66

77
const DownloadsWrapper = ({ location }) => (
88
<BasePage
9-
title="Variant definitions"
10-
description="Variant definitions, including Sequence Ontology (SO) consequence terms, descriptions, and accession IDs"
9+
title="Data downloads | Open Targets Platform"
10+
description="Data downloads | Open Targets Platform"
1111
location={location}
1212
>
1313
<Suspense fallback={<LoadingBackdrop />}>

0 commit comments

Comments
 (0)