-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Feature 2375 QGreenland portal #2485
Merged
Merged
Conversation
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
Make QGreenland portal DataONE accessible #2375
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <prefer-object-spread> reported by reviewdog 🐶
Use an object spread instead of Object.assign
eg: { ...foo }
.
metacatui/src/js/themes/dataone/config.js
Lines 3 to 160 in 580e1df
MetacatUI.AppConfig = Object.assign( | |
{ | |
root: "/", | |
title: "DataONE Data Catalog", | |
theme: "dataone", | |
baseUrl: "https://search.dataone.org", | |
mapKey: "AIzaSyDuQ9r_7EeSfspKYs2SET7sv4c8FysLIk4", | |
repositoryName: "DataONE Data Catalog", | |
emailContact: "support@dataone.org", | |
nodeId: "urn:node:CN", | |
d1Service: "/cn/v2", | |
metacatContext: "", | |
enableMonitorStatus: false, | |
enableCILogonSignIn: false, | |
showSignInHelp: false, | |
//Temp message | |
temporaryMessageContainer: "#Navbar", | |
//Searching | |
displayRepoLogosInSearchResults: true, | |
disableQueryPOSTs: false, | |
enableSolrJoins: true, | |
defaultSearchFilters: [ | |
"all", | |
"attribute", | |
"annotation", | |
"documents", | |
"dataSource", | |
"creator", | |
"dataYear", | |
"pubYear", | |
"id", | |
"taxon", | |
"spatial", | |
"isPrivate", | |
], | |
bioportalAPIKey: "", | |
//Submissions | |
contentIsModerated: false, | |
displayDatasetEditButton: false, | |
displayDatasetControls: false, | |
enablePublishDOI: false, | |
allowChangeRightsHolder: false, | |
defaultAccessPolicy: [ | |
{ | |
subject: "CN=DataONE-Support,DC=dataone,DC=org", | |
read: true, | |
write: true, | |
changePermission: true, | |
}, | |
{ | |
subject: "public", | |
read: true, | |
}, | |
], | |
hiddenSubjectsInAccessPolicy: ["CN=DataONE-Support,DC=dataone,DC=org"], | |
//Portals | |
hideSummaryCitationsChart: false, | |
hideSummaryDownloadsChart: false, | |
hideSummaryMetadataAssessment: false, | |
hideSummaryViewsChart: false, | |
enableCreatePortals: true, | |
enableBookkeeperServices: true, | |
dataonePlusPreviewMode: true, | |
portalLimit: 5, | |
portalInfoURL: "https://dataone.org/plus", | |
portalSearchFiltersInfoURL: "https://dataone.org/custom-search", | |
portalDefaults: { | |
sections: [{ label: "About", title: "About our project" }], | |
newPortalActiveSectionLabel: "About", | |
sectionImageIdentifiers: [ | |
"urn:uuid:2cf173b9-4d95-4832-b1c0-bcc6b467343a", | |
"urn:uuid:5669b72e-1124-4afa-9b44-3ebd61801753", | |
"urn:uuid:4514ef43-a0a3-4d21-a428-ba38ae706bad", | |
"urn:uuid:241afa07-82a0-4522-abf5-e7614fc8dfb6", | |
"urn:uuid:dbd8645e-9200-431e-8e46-350984730cc2", | |
], | |
primaryColor: "#16acc0", | |
primaryColorTransparent: "rgba(22, 172, 192, .7)", | |
secondaryColor: "#18556e", | |
secondaryColorTransparent: "rgba(24, 85, 110, .7)", | |
accentColor: "#EED268", | |
accentColorTransparent: "rgba(238, 210, 104, .7)", | |
}, | |
activeAlternateRepositoryId: "urn:node:mnUCSB1", | |
defaultAlternateRepositoryId: "urn:node:mnUCSB1", | |
alternateRepositories: [ | |
{ | |
name: "DataONE UCSB Dedicated Replica Server", | |
identifier: "urn:node:mnUCSB1", | |
baseURL: "https://mn-ucsb-1.dataone.org/knb/d1/mn", | |
}, | |
{ | |
name: "NSF Arctic Data Center Repository", | |
identifier: "urn:node:ARCTIC", | |
baseURL: "https://arcticdata.io/metacat/d1/mn", | |
}, | |
{ | |
name: "KNB", | |
identifier: "urn:node:KNB", | |
baseURL: "https://knb.ecoinformatics.org/knb/d1/mn", | |
}, | |
], | |
dataonePlusPreviewPortals: [ | |
{ | |
seriesId: "urn:uuid:a9fccce6-80f7-4937-b3dc-3cf76280d4f7", | |
datasource: "urn:node:KNB", | |
label: "SASAP", | |
}, | |
{ | |
seriesId: "urn:uuid:d6d8fc1f-a4d9-4c44-8305-a8c0c35f387e", | |
datasource: "urn:node:ARCTIC", | |
label: "toolik", | |
}, | |
{ | |
seriesId: "urn:uuid:8cdb22c6-cb33-4553-93ca-acb6f5d53ee4", | |
datasource: "urn:node:ARCTIC", | |
label: "dbo", | |
}, | |
{ | |
seriesId: "urn:uuid:06a249da-f9c8-4946-8be4-ac80883bbd22", | |
datasource: "urn:node:KNB", | |
label: "ecoblender", | |
}, | |
{ | |
seriesId: "urn:uuid:2de4fa60-1a6f-4c59-b393-79f63bbcb62d", | |
datasource: "urn:node:mnUCSB1", | |
label: "dangermond", | |
}, | |
{ | |
seriesId: "urn:uuid:138ff35b-f1e7-4b12-88e2-3a57bbaab073", | |
datasource: "urn:node:mnUCSB1", | |
label: "polderdemo", | |
}, | |
{ | |
seriesId: "urn:uuid:5f4c470c-fcf8-481e-8ddb-3b08108504b0", | |
datasource: "urn:node:mnUCSB1", | |
label: "9434702", | |
}, | |
{ | |
seriesId: "urn:uuid:dfbfc37d-e907-45e8-913f-acb88f1b2e64", | |
datasource: "urn:node:ARCTIC", | |
label: "QGreenland", | |
}, | |
], | |
googleAnalyticsKey: "G-CR31GM016V", | |
//Dataset landing pages | |
displayDatasetEditButton: false, | |
displayDatasetControls: false, | |
displayDatasetQualityMetric: true, | |
}, | |
MetacatUI.AppConfig || {}, | |
); |
robyngit
approved these changes
Jul 18, 2024
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi @robyngit - one of the tasks for #2375 was to make the QGreenland portal DataONE accessible.
I've added the config for the same. Adding @mbjones as a reviewer to get his approval for the same.
This is in draft state because I'm still waiting for the most recent changes from develop to sync this branch. I'll change the status once that is done.