Skip to content

Conversation

bprize15
Copy link

resolves https://github.com/oncokb/oncokb-pipeline/issues/372

I played around with and without debounce, and I settled on not debouncing. Since you mentioned that the API call is not an issue, I prefer the instant feedback.

@bprize15 bprize15 requested a review from zhx828 May 30, 2024 14:47
Comment on lines 358 to 373
<InputGroup>
<Input
id={`tx-level-filter-${filter.label}`}
onChange={() => handleFilterCheckboxChange(index, setTempReviewedFilter)}
checked={filter.selected}
disabled={isDisabled}
style={{ cursor: `${isDisabled ? null : 'pointer'}`, marginLeft: '0px' }}
type="checkbox"
/>
<Label
for={`tx-level-filter-${filter.label}`}
style={{ cursor: `${isDisabled ? null : 'pointer'}`, marginLeft: CHECKBOX_LABEL_LEFT_MARGIN }}
>
{filter.label}
</Label>
</InputGroup>
Copy link
Member

Choose a reason for hiding this comment

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

This InputGroup seems to be replicated quite a lot. Can we make it a component?

Copy link
Author

Choose a reason for hiding this comment

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

Oh sorry about this, but I was actually working on a different PR and I accidentally forked this one off of that. This was not supposed to make it into this PR, so I just removed it, but I will definitely make it into a component for that PR

@bprize15 bprize15 force-pushed the add-sort-cancer-types branch from bb96834 to 82b8e42 Compare May 31, 2024 13:28
@bprize15 bprize15 requested a review from zhx828 May 31, 2024 13:30
Copy link
Member

@zhx828 zhx828 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

@bprize15 bprize15 merged commit 53c0039 into oncokb:rc May 31, 2024
@bprize15 bprize15 deleted the add-sort-cancer-types branch May 31, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants