-
Notifications
You must be signed in to change notification settings - Fork 3
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
Bugfix/species filter is getting ignored in the metadata search #158
Bugfix/species filter is getting ignored in the metadata search #158
Conversation
… onchange event and maintaining species state
… trigger onchange event and maintaining species state" This reverts commit e12a243.
… the state to pass it to the cell type wheel endpoint
…-type-wheel endpoint with the selected species value
…map component to trigger wheel endpoint when we change species drop down
…peWheelFetchLoader and add host
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.
Good work!
I added 2 tiny change requests.
Could you please review and consider them?
Thanks
packages/scxa-cell-type-wheel-experiment-heatmap/src/CellTypeWheelExperimentHeatmap.js
Outdated
Show resolved
Hide resolved
Co-authored-by: Károly Erdős <[email protected]>
FIxed both, thanks for the comments. |
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.
I am picky here and sorry for that, but could you restore a little bit formatting that I commented, please?
Otherwise all good. Thanks for your work!
/> | ||
<div className={`row-expanded small-12 columns`}> | ||
<div className={`small-12 medium-6 columns`} aria-label={`Cell type wheel`}> | ||
{props.searchTerm.trim() ? | ||
<CellTypeWheelFetchLoader | ||
host={props.host} | ||
resource={URI(props.cellTypeWheelResource) | ||
resource={URI(props.cellTypeWheelResource) |
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.
I know it is a tiny formatting thing, but could you restore the aligning of this line, please?
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.
sorry, not sure, how it was disturbed, it makes sense. Thanks for that.
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.
I fixed formatting, please feel free to review when log in
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.
LGTM, sorry about my pickiness
Bug: Our cell type wheel is not refreshing with the latest species drop-down value change. Simply, the wheel is ignoring species dropdown.
This PR - Fixes that issue
To Fix this:
I have modified two components:
Changes:
onchange
function to notify the gene search form when species changed from the species drop-downLocal testing:
'npm pack'
in the scxa-gene search Form component andtgz
file will be generated in that component after npm packnpm install <path>
in the scxa-cell-type-wheel-experiment-heatmap componentnpx webpack-dev-server --mode=development