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

Feature 2375 QGreenland portal #2485

Merged
merged 2 commits into from
Aug 15, 2024
Merged

Feature 2375 QGreenland portal #2485

merged 2 commits into from
Aug 15, 2024

Conversation

rushirajnenuji
Copy link
Member

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.

Make QGreenland portal DataONE accessible
#2375
Copy link
Contributor

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.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 || {},
);

@rushirajnenuji rushirajnenuji marked this pull request as ready for review July 19, 2024 01:41
@robyngit robyngit linked an issue Aug 15, 2024 that may be closed by this pull request
4 tasks
@robyngit robyngit merged commit f1abd9c into develop Aug 15, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable Cesium map for the QGreenland portal
2 participants