-
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.
NickAkhmetov/Unified Views Fixes (CAT-847, CAT-849, CAT-853, CAT-850,…
… CAT-857, CAT-855, CAT-848, CAT-851) (#3519) Co-authored-by: John Conroy <[email protected]>
- Loading branch information
1 parent
cb41e15
commit b662d76
Showing
21 changed files
with
134 additions
and
67 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,10 @@ | ||
- Prevent helper panel overflow from long titles/descriptions. | ||
- Prevent lifting of publication ancillary data on dataset pages. | ||
- Remove excessive margin on section descriptions. | ||
- Indicate disabled state on entity header items. | ||
- Add tooltip to bulk download shortcut link. | ||
- Restore assay graphs for datasets with no defined search terms but with present datasets. | ||
- Remove duplicate HuBMAP ID from bulk data transfer panel links. | ||
- Fix single-tab table styles so the single tab appears selected. | ||
- Add tooltips to unlabeled status icons. | ||
- Remove link from helper panel dataset ID display. |
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
context/app/static/js/components/detailPage/BulkDataTransfer/utils.spec.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 { sanitizeLabel } from './utils'; | ||
|
||
describe('sanitizeLabel', () => { | ||
it('should not change any labels that do not contain square brackets', () => { | ||
const label = 'Some label'; | ||
expect(sanitizeLabel(label)).toBe(label); | ||
}); | ||
it('should remove the HuBMAP ID from the label', () => { | ||
const label = 'Some label [HuBMAP-123]'; | ||
expect(sanitizeLabel(label)).toBe('Some label'); | ||
}); | ||
}); |
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
18 changes: 10 additions & 8 deletions
18
context/app/static/js/components/detailPage/ProcessedData/HelperPanel/styles.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 |
---|---|---|
@@ -1,12 +1,14 @@ | ||
import React from 'react'; | ||
import React, { ForwardedRef, forwardRef } from 'react'; | ||
|
||
import { styled } from '@mui/material/styles'; | ||
import Button, { ButtonProps } from '@mui/material/Button'; | ||
|
||
export const HelperPanelButton = styled((props: ButtonProps) => <Button {...props} variant="outlined" />)( | ||
({ theme }) => ({ | ||
backgroundColor: 'white', | ||
borderRadius: theme.spacing(0.5), | ||
whiteSpace: 'nowrap', | ||
}), | ||
); | ||
const OutlinedButton = forwardRef((props: ButtonProps, ref: ForwardedRef<HTMLButtonElement>) => ( | ||
<Button ref={ref} {...props} variant="outlined" /> | ||
)); | ||
|
||
export const HelperPanelButton = styled(OutlinedButton)(({ theme }) => ({ | ||
backgroundColor: 'white', | ||
borderRadius: theme.spacing(0.5), | ||
whiteSpace: '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
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
7 changes: 2 additions & 5 deletions
7
context/app/static/js/components/detailPage/provenance/queries.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
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
Oops, something went wrong.