-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC 65] Display custom namespace columns in cna table #4418
Conversation
src/pages/patientView/copyNumberAlterations/CopyNumberTableWrapper.tsx
Outdated
Show resolved
Hide resolved
src/shared/components/namespaceColumns/createNamespaceColumns.ts
Outdated
Show resolved
Hide resolved
src/shared/components/namespaceColumns/createNamespaceColumnName.ts
Outdated
Show resolved
Hide resolved
src/shared/components/namespaceColumns/buildNamespaceColumnConfig.ts
Outdated
Show resolved
Hide resolved
src/shared/components/namespaceColumns/NumericNamespaceColumnFormatter.tsx
Outdated
Show resolved
Hide resolved
112e373
to
4f51a70
Compare
packages/cbioportal-ts-api-client/src/generated/CBioPortalAPIInternal.ts
Show resolved
Hide resolved
import _ from 'lodash'; | ||
import generalStyles from 'shared/components/mutationTable/column/styles.module.scss'; | ||
|
||
export type WithNamespaceColumns = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this name doesn't totaly make sense to me. like, what with namespace columns? what is the point of the wrapper object if it only has one node called namespaceColumns?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It marks types with a namespaceColumns property.
Mutation, CNA and structural variant types all can have namespaceColumns.
Another option would be to list all those types (and any future namespaceColumn-types)?
I thought it would be more readable this way.
515fec4
to
4926763
Compare
4926763
to
2c35d41
Compare
Resolve feedback of @alisman
2c35d41
to
34a49dd
Compare
env/custom-ns-columns-cna.sh
Outdated
@@ -0,0 +1,2 @@ | |||
export CBIOPORTAL_URL="${CBIOPORTAL_URL:-http://localhost:8080}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remote these two exports and just have:
export BACKEND="BasLee:custom-ns-columns-cna"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed in 1c4e19c
26872ca
to
feb969e
Compare
feb969e
to
1c4e19c
Compare
Display custom namespace columns in CNA table.
Uses the backend changes made in cBioPortal/cbioportal#9878
Show custom namespace columns, hidden by default
Changes
Tests
namespace-columns-in-cna-tables.spec.js