Skip to content

Commit

Permalink
feat: relabel "organisms" to "genomes" (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterckx committed Dec 5, 2024
1 parent fab3f77 commit cfe45ce
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const SectionHero = (): JSX.Element => {
annotations and functional insights into disease-causing
organisms and their carriers
</Subhead>
<Button {...BUTTON_PROPS} href={ROUTES.ORGANISMS}>
<Button {...BUTTON_PROPS} href={ROUTES.GENOMES}>
Get started
</Button>
</SubHeadline>
Expand Down
2 changes: 1 addition & 1 deletion app/components/Home/content/sectionSubHero.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
BRC Analytics is your new destination for analysis of biological
data related to pathogens. Building on the foundation of VEuPathDb
the platform will provide access and analysis capabilities for
[785 eukaryotic pathogens](/data/organisms), hosts, and vectors. The functionality will
[785 eukaryotic pathogens](/data/genomes), hosts, and vectors. The functionality will
be developed and made available incrementally over the [following months](/roadmap).
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const buildAnalyzeGenome = (
return {
analyze: {
label: "Analyze",
url: rowId ? `${ROUTES.ORGANISMS}/${rowId}` : "",
url: rowId ? `${ROUTES.GENOMES}/${rowId}` : "",
},
views: [
...(ucscBrowserUrl
Expand Down Expand Up @@ -320,7 +320,7 @@ function getGenomeEntityChooseAnalysisMethodBreadcrumbs(
genome: BRCDataCatalogGenome
): Breadcrumb[] {
return [
{ path: ROUTES.ORGANISMS, text: "Organisms" },
{ path: ROUTES.GENOMES, text: "Genomes" },
{ path: "", text: `${genome.organism}` },
{ path: "", text: "Choose Analysis Methods" },
];
Expand Down
2 changes: 1 addition & 1 deletion pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { StyledFooter } from "../app/components/Layout/components/Footer/footer.
import { config } from "../app/config/config";
import { mergeAppTheme } from "../app/theme/theme";

const DEFAULT_ENTITY_LIST_TYPE = "organisms";
const DEFAULT_ENTITY_LIST_TYPE = "genomes";

export interface PageProps extends AzulEntitiesStaticResponse {
pageTitle?: string;
Expand Down
2 changes: 1 addition & 1 deletion routes/constants.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const ROUTES = {
ABOUT: "/about",
ORGANISMS: "/data/organisms",
GENOMES: "/data/genomes",
ROADMAP: "/roadmap",
};
2 changes: 1 addition & 1 deletion site-config/brc-analytics/local/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function makeConfig(browserUrl: string, gitHubUrl: string): SiteConfig {
undefined,
[
{ label: "About", url: ROUTES.ABOUT },
{ label: "Datasets", url: ROUTES.ORGANISMS },
{ label: "Datasets", url: ROUTES.GENOMES },
{ label: "Roadmap", url: ROUTES.ROADMAP },
],
undefined,
Expand Down
6 changes: 3 additions & 3 deletions site-config/brc-analytics/local/index/genomeEntityConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ export const genomeEntityConfig: BRCEntityConfig<BRCDataCatalogGenome> = {
],
},
exploreMode: EXPLORE_MODE.CS_FETCH_CS_FILTERING,
explorerTitle: "Organisms",
explorerTitle: "Genomes",
getId: getGenomeId,
getTitle: getGenomeTitle,
label: "Organisms",
label: "Genomes",
list: {
columns: [
{
Expand Down Expand Up @@ -226,6 +226,6 @@ export const genomeEntityConfig: BRCEntityConfig<BRCDataCatalogGenome> = {
enableTab: false,
listHero,
},
route: "organisms",
route: "genomes",
staticLoadFile: "files/out/genomes.json",
};

0 comments on commit cfe45ce

Please sign in to comment.