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

PORTALS-3032 #876

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
60 changes: 26 additions & 34 deletions apps/portals/src/configurations/elportal/routesConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
projectCardConfiguration,
projectsDetailsPageConfiguration,
} from './synapseConfigs/projects'
import { peopleSql, projectsSql } from './resources'
import { peopleSql, projectsSql, upsetPlotSql } from './resources'

const routes: GenericRoute[] = [
{
Expand Down Expand Up @@ -51,22 +51,21 @@ const routes: GenericRoute[] = [
entityId: 'syn51449135',
},
},
// Commented out for v1
// {
// name: 'UpsetPlot',
// title: 'Exploring the Data',
// outsideContainerClassName: 'home-spacer home-bg-dark',
// centerTitle: true,
// props: {
// sql: upsetPlotSql,
// rgbIndex: 0,
// maxBarCount: 20,
// setName: '# Files per data type',
// combinationName: '# Files',
// // summaryLinkText: 'Explore All Data',
// // summaryLink: '/Explore/Data',
// },
// },
{
name: 'UpsetPlot',
title: 'Exploring the Data',
outsideContainerClassName: 'home-spacer home-bg-dark',
centerTitle: true,
props: {
sql: upsetPlotSql,
rgbIndex: 0,
maxBarCount: 20,
setName: '# Files per data type',
combinationName: '# Files',
// summaryLinkText: 'Explore All Data',
// summaryLink: '/Explore/Data',
},
},
// {
// name: 'FeaturedDataTabs',
// centerTitle: true,
Expand Down Expand Up @@ -173,23 +172,16 @@ const routes: GenericRoute[] = [
summaryLinkText: 'View All People',
},
},
// {
// name: 'RssFeedCards',
// title: "What's New",
// centerTitle: true,
// outsideContainerClassName: 'home-spacer',
// props: {
// url: 'https://eliteportalstg.wpengine.com/',
// itemsToShow: 3,
// allowCategories: [],
// // mailChimpListName: 'AMP-AD quarterly newsletter',
// // mailChimpUrl:
// // 'https://sagebase.us7.list-manage.com/subscribe/post?u=b146de537186191a9d2110f3a&id=96b614587a',
// lockedColumn: {
// value: "what's-new",
// },
// },
// },
{
name: 'RssFeedCards',
title: "What's New",
centerTitle: true,
outsideContainerClassName: 'home-spacer',
props: {
url: 'https://news.eliteportal.org',
itemsToShow: 3,
},
},
],
},
{
Expand Down
Loading