-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
) * feat: update network constant (#2480) * feat: add retina (#2480) * feat: updated retina description (#2480) --------- Co-authored-by: Fran McDade <[email protected]>
- Loading branch information
Showing
20 changed files
with
350 additions
and
55 deletions.
There are no files selected for viewing
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
19 changes: 19 additions & 0 deletions
19
...nents/Overview/components/MainColumn/components/AnalysisPortalCell/analysisPortalCell.tsx
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { Fragment } from "react"; | ||
import { AnalysisPortal } from "../../../../../../../../../../@types/network"; | ||
import { IconLink } from "../../../../../../../../../common/IconLink/iconLink"; | ||
|
||
interface AnalysisPortalCellProps { | ||
analysisPortals: AnalysisPortal[]; | ||
} | ||
|
||
export const AnalysisPortalCell = ({ | ||
analysisPortals, | ||
}: AnalysisPortalCellProps): JSX.Element => { | ||
return ( | ||
<Fragment> | ||
{analysisPortals.map((analysisPortal, i) => ( | ||
<IconLink key={i} height={20} {...analysisPortal} /> | ||
))} | ||
</Fragment> | ||
); | ||
}; |
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
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
12 changes: 12 additions & 0 deletions
12
next/components/common/Section/components/References/references.styles.ts
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { GridPaperSection } from "@databiosphere/findable-ui/lib/components/common/Section/section.styles"; | ||
import styled from "@emotion/styled"; | ||
|
||
export const Section = styled(GridPaperSection)` | ||
min-width: 0; | ||
.MuiLink-root { | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
white-space: nowrap; | ||
} | ||
`; |
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import { IntegratedAtlasRow } from "../@types/network"; | ||
import { buildAtlas } from "../utils/atlases"; | ||
import { UCSC_CELL_BROWSER } from "./analysisPortals"; | ||
|
||
const NORMAL = "normal"; | ||
const TODO = "TODO"; | ||
|
||
export const COMPONENT_ATLASES: Record<string, IntegratedAtlasRow[]> = { | ||
adipose: [], | ||
breast: [], | ||
development: [], | ||
"eye-retina": [ | ||
buildAtlas( | ||
[ | ||
{ | ||
url: "https://cells.ucsc.edu/?ds=retina+hrca+atac", | ||
...UCSC_CELL_BROWSER, | ||
}, | ||
], | ||
["10x ATAC"], | ||
354776, | ||
[NORMAL], | ||
"snATAC-seq of human retina", | ||
[TODO], | ||
[TODO] | ||
), | ||
], | ||
"genetic-diversity": [], | ||
gut: [], | ||
heart: [], | ||
immune: [], | ||
kidney: [], | ||
liver: [], | ||
lung: [], | ||
musculoskeletal: [], | ||
"nervous-system": [], | ||
oral: [], | ||
organoid: [], | ||
pancreas: [], | ||
reproduction: [], | ||
skin: [], | ||
}; |
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
Oops, something went wrong.