-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Customizable Custom Driver Column to Mutation, CNA, and SV Tab…
…le (#4840) * remove hide_download_control from appContext and fix mutationMapper * add custom driver/tiers columns * add driver column with tooptips to SV and CNA table * hide annotation and sort with custom driver column * use existing oncoprint custom driver menu label and fix visibility and sorting issues * support default sort column in tables and remove visible check on AnnotationColumnFormatter * fix hide-download-controls.spec.js failed tests --------- Co-authored-by: Qi-Xuan Lu <[email protected]>
- Loading branch information
Showing
41 changed files
with
900 additions
and
50 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
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
14 changes: 2 additions & 12 deletions
14
packages/cbioportal-frontend-commons/src/components/appContext/AppContext.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,17 +1,7 @@ | ||
import React, { Context } from 'react'; | ||
|
||
export enum DownloadControlOption { | ||
SHOW_ALL = 'show', | ||
HIDE_DATA = 'data', | ||
HIDE_ALL = 'hide', | ||
} | ||
|
||
export interface IAppContext { | ||
showDownloadControls: DownloadControlOption; | ||
} | ||
export interface IAppContext {} | ||
|
||
export const AppContext: Context<IAppContext> = React.createContext< | ||
IAppContext | ||
>({ | ||
showDownloadControls: DownloadControlOption.SHOW_ALL, | ||
}); | ||
>({}); |
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
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.