-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add changelog * NickAkhmetov/CAT-677 Unified Prov Graph (#3458) Co-authored-by: John Conroy <[email protected]> Co-authored-by: Tabassum Kakar <[email protected]> Co-authored-by: tkakar <[email protected]> Co-authored-by: Austen Money <[email protected]> fix table tabs (#3466) Fix incorrect URL structure in gene search results (#3467) * John conroy/update table of contents CAT-755 (#3473) * Convert table of contents to typescript * Convert route to ts and add boundaries * Fix styling so top works * Add icons map * Fix responsiveness * Handle sub links * Update marker color * Style table of contents * Add icons to table of contents * Add processed datasets for table of contents * Add loading state * Adjust padding per Tiffany feedback * Update style per Tiffany's feedback * Open toc accordions by default * Add visualization to processed data sections in toc * Add processed sections and refactor * Update changelog * Update organ page to use layout * Switch to derived data per tiffany's feedback * Use height props * Pull utils/hooks/types into files * Add a use callback for toc click handler * Pull find active index into hook * Consolidate styles * Use system props --------- Co-authored-by: John Conroy <[email protected]> * NickAkhmetov/CAT-776 Dataset Relationships diagram (#3481) * John conroy/summary bar (#3501) * Remove placeholder for undefined items * Create entity header action buttons * Add workspaces button * Add copy button * Always show entity header * Add basic view select chips * Fix opacity transition * Animation progress * Stash * Add check icon to view select * Add datasets relationship graph to summary bar * Delete unused gene components * Update summary components * Different heights for summary and diagram * Show entity header content when expanded * Use position sticky * Fix divider * Remove version select * Add citation and consortium to summary for datasets * Clamp description in expanded summary * Only show view buttons on large desktops * Show mapped status * Dedupe flask data and entity store assay metadata * Add icons to summary * Split out cases into components * Add icons * Add paper for relationship diagram * Show summary view for more entities * Integrate publication summary * Fix publication summary * Fix undefined * Fix tests * Fix offsets * Remove fit view * Fix comments from review * Fix data-testid propogation --------- Co-authored-by: John Conroy <[email protected]> * NickAkhmetov/CAT-777 Processed Data section (#3495) * make sure sample metadata doesn't get lost * hide empty dataset relationships box on dataset pages without processed descendants --------- Co-authored-by: John Conroy <[email protected]> Co-authored-by: Nikolay Akhmetov <[email protected]>
- Loading branch information
1 parent
80dd4af
commit 25b9fea
Showing
262 changed files
with
7,429 additions
and
2,858 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- Extend provenance table logic to handle missing entities. | ||
- Fix handling of large search requests. | ||
- Request less data for provenance table tiles. |
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 @@ | ||
- Add dataset relationships diagram. |
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 @@ | ||
- Added processed datasets section to display all visualizations for a given raw dataset. |
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,2 @@ | ||
- Update raw dataset detail pages to include processed dataset information. | ||
- Update table of contents design. |
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
This file was deleted.
Oops, something went wrong.
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,44 @@ | ||
import React, { PropsWithChildren, Suspense } from 'react'; | ||
import Stack from '@mui/material/Stack'; | ||
import Box from '@mui/material/Box'; | ||
import { ContainerProps } from '@mui/material/Container'; | ||
|
||
import { useIsDesktop } from 'js/hooks/media-queries'; | ||
import RouteLoader from '../RouteLoader'; | ||
import { StyledContainer } from './style'; | ||
|
||
export const leftRouteBoundaryID = 'left-route-boundary'; | ||
export const rightRouteBoundaryID = 'right-route-boundary'; | ||
|
||
function RouteBoundary({ | ||
id, | ||
showBoundary, | ||
}: { | ||
id: typeof leftRouteBoundaryID | typeof rightRouteBoundaryID; | ||
showBoundary: boolean; | ||
}) { | ||
return <Box id={id} flex="1 0" padding={2} display={!showBoundary ? 'none' : 'block'} />; | ||
} | ||
|
||
function Route({ children, disableWidthConstraint = false }: PropsWithChildren<{ disableWidthConstraint: boolean }>) { | ||
const constrainWidthProps: Partial<ContainerProps> = disableWidthConstraint | ||
? { maxWidth: false, disableGutters: true } | ||
: { maxWidth: 'lg' }; | ||
|
||
const isDesktop = useIsDesktop(); | ||
const shouldShowBoundaries = !disableWidthConstraint && isDesktop; | ||
|
||
return ( | ||
<Suspense fallback={<RouteLoader />}> | ||
<Stack direction="row" width="100%"> | ||
<RouteBoundary id={leftRouteBoundaryID} showBoundary={shouldShowBoundaries} /> | ||
<StyledContainer {...constrainWidthProps} component="div"> | ||
{children} | ||
</StyledContainer> | ||
<RouteBoundary id={rightRouteBoundaryID} showBoundary={shouldShowBoundaries} /> | ||
</Stack> | ||
</Suspense> | ||
); | ||
} | ||
|
||
export default Route; |
This file was deleted.
Oops, something went wrong.
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,17 @@ | ||
import { styled } from '@mui/material/styles'; | ||
import Container from '@mui/material/Container'; | ||
|
||
const StyledContainer = styled(Container)(({ theme }) => ({ | ||
marginTop: theme.spacing(2), | ||
backgroundColor: theme.palette.background.default, | ||
flexGrow: 1, | ||
flexShrink: 1, | ||
flexDirection: 'column', | ||
display: 'flex', | ||
})) as typeof Container; | ||
|
||
// max width for a lg container | ||
const routeContainerMaxWidth = 1232; | ||
const routeContainerPadding = 32; | ||
|
||
export { StyledContainer, routeContainerMaxWidth, routeContainerPadding }; |
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.