Skip to content

Commit

Permalink
feat(all): Prepare new yearly version of the French Open Science Monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
annelhote committed Jan 24, 2025
1 parent cf9f32b commit 3eae50b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 19 deletions.
8 changes: 2 additions & 6 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,12 @@ ES_INDEX_PUBLICATIONS=bso-publications
ES_INDEX_STUDIES=bso-clinical-trials
ES_INDEX_DATASETS=bso-datacite
REACT_APP_ENV=production
REACT_APP_ES_API_SOURCES_STUDIES=["clinical_trials", "euctr"]
# TODO: inprod
# REACT_APP_ES_API_SOURCES_STUDIES=["clinical_trials", "ctis", "euctr"]
REACT_APP_ES_API_SOURCES_STUDIES=["clinical_trials", "ctis", "euctr"]
REACT_APP_ES_API_URL_DATACITE=https://cluster-production.elasticsearch.dataesr.ovh/$ES_INDEX_DATACITE/_search
REACT_APP_ES_API_URL_ORCID=https://cluster-production.elasticsearch.dataesr.ovh/$ES_INDEX_ORCID/_search
REACT_APP_ES_API_URL_PUBLICATIONS=https://cluster-production.elasticsearch.dataesr.ovh/$ES_INDEX_PUBLICATIONS/_search
REACT_APP_ES_API_URL_STUDIES=https://cluster-production.elasticsearch.dataesr.ovh/$ES_INDEX_STUDIES/_search
REACT_APP_LAST_OBSERVATION=2023Q4
# TODO: inprod
# REACT_APP_LAST_OBSERVATION=2024Q4
REACT_APP_LAST_OBSERVATION=2024Q4
REACT_APP_LAST_OBSERVATION_THESIS=2024Q4
REACT_APP_PIWIK_SITE=34
REACT_APP_PIWIK_URL=https://piwik.enseignementsup-recherche.pro
Expand Down
21 changes: 9 additions & 12 deletions src/components/Header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,18 +315,15 @@ function Header() {
defaultMessage: 'Les établissements',
})}
>
{/* TODO: inprod */}
{!isInProduction() && (
<NavSubItem
current={path === urls.policy[lang]}
title={intl.formatMessage({
id: 'app.header.nav.declinaisons.policy',
defaultMessage:
'Politique de science ouverte des établissements',
})}
asLink={<RouterLink to={urls.policy[lang] + search} />}
/>
)}
<NavSubItem
current={path === urls.policy[lang]}
title={intl.formatMessage({
id: 'app.header.nav.declinaisons.policy',
defaultMessage:
'Politique de science ouverte des établissements',
})}
asLink={<RouterLink to={urls.policy[lang] + search} />}
/>
<NavSubItem
current={path === urls.variations[lang]}
title={intl.formatMessage({
Expand Down
1 change: 0 additions & 1 deletion src/components/Studio/tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@ const tree = [
{
key: 'app.baro-national.datasets',
value: 'datasets',
isInProduction: false, // TODO: inprod
children: [
{
key: 'app.data.general',
Expand Down

0 comments on commit 3eae50b

Please sign in to comment.