Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@qingyashu
Copy link
Contributor

@qingyashu qingyashu commented Feb 18, 2020

New Features

  • add search input box to filter

Improvements

  • add a hidden prop to ConnectedFilter to reduce unnecessary calculation thus boost rendering speed
  • rewrite update filter tabs function and decrease time complexity from O(n^3) to O(n^2)

@lgtm-com
Copy link

lgtm-com bot commented Feb 18, 2020

This pull request introduces 1 alert when merging c454475 into 2b2c520 - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

mfshao
mfshao previously approved these changes Feb 19, 2020
Copy link
Contributor

@mfshao mfshao left a comment

Choose a reason for hiding this comment

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

lgtm

for the hidden prop, is there a use case that we want to hide the entire filters?

@qingyashu
Copy link
Contributor Author

lgtm

for the hidden prop, is there a use case that we want to hide the entire filters?

oh yes, the HeatMap will definitely need this. Since DAT is filtering by subject_id, this hidden prop will hugely reduce calculation time.

@mfshao
Copy link
Contributor

mfshao commented Feb 19, 2020

lgtm
for the hidden prop, is there a use case that we want to hide the entire filters?

oh yes, the HeatMap will definitely need this. Since DAT is filtering by subject_id, this hidden prop will hugely reduce calculation time.

oh right! the DAT!

thanks for explaining this 💯

@qingyashu
Copy link
Contributor Author

Sorry I just patched one more commit to handle the range slider. I am starting to deploying it to qa-ibd or other QA now.

@qingyashu qingyashu requested a review from mfshao February 20, 2020 17:13
mfshao
mfshao previously approved these changes Feb 20, 2020
Copy link
Contributor

@mfshao mfshao left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@ZakirG ZakirG left a comment

Choose a reason for hiding this comment

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

great job on the optimization ~ thank u!!

@qingyashu qingyashu merged commit 7ce78a0 into master Feb 20, 2020
@mfshao mfshao deleted the fix/filter branch July 14, 2020 15:43
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.

4 participants