Skip to content
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

🐛 Update Freq Col Alignment in Timeline Event Availability Chart #4558

Conversation

haynescd
Copy link
Contributor

Describe changes proposed in this pull request:

  • Update Alignment for Freq Column Timeline Event Availability Chart

@haynescd haynescd added the bug label Mar 22, 2023
@haynescd haynescd requested a review from alisman March 22, 2023 20:37
@haynescd haynescd self-assigned this Mar 22, 2023
@haynescd haynescd force-pushed the feature/ch/Fix-Timeline-Events-Availabilty-Chart-Alignment branch from dc58ede to f834440 Compare March 23, 2023 14:46
@haynescd
Copy link
Contributor Author

image

@@ -241,7 +253,20 @@ export default class ClinicalEventTypeCountTable extends React.Component<
return {
[ClinicalEventTypeCountColumnKey.CLINICAL_EVENT_TYPE]: 0,
[ClinicalEventTypeCountColumnKey.COUNT]: 0,
[ClinicalEventTypeCountColumnKey.FREQ]: 0,
[ClinicalEventTypeCountColumnKey.FREQ]: correctMargin(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's this about? (i see it isn't new)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added this to dynamically calculate the marge based on freq string.

This is similar to how MultiSelectionTable.tsx aligns the Freq column

@haynescd haynescd force-pushed the feature/ch/Fix-Timeline-Events-Availabilty-Chart-Alignment branch from f834440 to a024a40 Compare March 23, 2023 21:25
@inodb inodb merged commit 92021b6 into cBioPortal:master Mar 24, 2023
@haynescd haynescd deleted the feature/ch/Fix-Timeline-Events-Availabilty-Chart-Alignment branch June 28, 2023 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants