Skip to content

Commit

Permalink
feat: add version info to footer (#4261)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fran McDade authored and Fran McDade committed Nov 20, 2024
1 parent 48965a0 commit ac58c6d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion site-config/hca-dcp/cc-ma-dev/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const PORTAL_URL = "https://data.humancellatlas.dev.clevercanary.com";

const config: SiteConfig = {
...makeManagedAccessConfig(
makeConfig(BROWSER_URL, PORTAL_URL, DATA_URL, CATALOG)
makeConfig(BROWSER_URL, PORTAL_URL, DATA_URL, undefined, CATALOG)
),
};

Expand Down
8 changes: 6 additions & 2 deletions site-config/hca-dcp/dev/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ import { floating } from "./layout/floating";
const APP_TITLE = "HCA Data Explorer";
const CATALOG = "dcp43";
const BROWSER_URL = "https://explore.data.humancellatlas.dev.clevercanary.com";
export const DATA_URL = "https://service.azul.data.humancellatlas.org";
export const EXPORT_TO_TERRA_URL = "https://app.terra.bio";
const DATA_URL = "https://service.azul.data.humancellatlas.org";
const EXPORT_TO_TERRA_URL = "https://app.terra.bio";
const FONT_FAMILY_DIN = "'din-2014', sans-serif";
const GIT_HUB_REPO_URL = "https://github.com/DataBiosphere/data-browser";
const HOME_PAGE_PATH = "/projects";
const ORG_URL = "https://www.humancellatlas.org";
const PAGINATION_PAGE_SIZE = "25";
Expand All @@ -38,6 +39,7 @@ export function makeConfig(
browserUrl: string,
portalUrl: string,
dataUrl: string,
gitHubUrl: string = GIT_HUB_REPO_URL,
catalog: string = CATALOG
): SiteConfig {
return {
Expand Down Expand Up @@ -66,6 +68,7 @@ export function makeConfig(
explorerTitle: "Explore Data",
export: exportConfig,
exportToTerraUrl: EXPORT_TO_TERRA_URL,
gitHubUrl,
layout: {
floating,
footer: {
Expand Down Expand Up @@ -95,6 +98,7 @@ export function makeConfig(
url: `${portalUrl}/contact`,
},
],
versionInfo: true,
},
header: {
announcements,
Expand Down
2 changes: 1 addition & 1 deletion site-config/hca-dcp/ma-dev/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const PORTAL_URL = "https://dev.singlecell.gi.ucsc.edu";

const config: SiteConfig = {
...makeManagedAccessConfig(
makeConfig(BROWSER_URL, PORTAL_URL, DATA_URL, CATALOG)
makeConfig(BROWSER_URL, PORTAL_URL, DATA_URL, undefined, CATALOG)
),
};

Expand Down
2 changes: 1 addition & 1 deletion site-config/hca-dcp/ma-prod/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const PORTAL_URL = "https://data.humancellatlas.org";

const config: SiteConfig = {
...makeManagedAccessConfig(
makeConfig(BROWSER_URL, PORTAL_URL, DATA_URL, CATALOG)
makeConfig(BROWSER_URL, PORTAL_URL, DATA_URL, undefined, CATALOG)
),
};

Expand Down

0 comments on commit ac58c6d

Please sign in to comment.