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

Feature/esckan-43 - connect Summary Filters #27

Merged
merged 5 commits into from
May 20, 2024

Conversation

D-GopalKrishna
Copy link

Jira link - https://metacell.atlassian.net/browse/ESCKAN-43

Task description

  • Connect summary filters - phenotypes and nerves (note - these are vias that are in major nerves).

Video demo

2024-05-17.10-36-21.mp4

@D-GopalKrishna D-GopalKrishna changed the base branch from main to develop May 17, 2024 05:18
@D-GopalKrishna D-GopalKrishna changed the base branch from develop to feature/ESCKAN-20-new May 17, 2024 05:19
return knowledgeStatements;
return Object.entries(knowledgeStatements).reduce((filtered, [id, ks]) => {
const phenotypeMatch = !phenotypeIds.length || phenotypeIds.includes(ks.phenotype);
const nerveMatch = !nerveIds.length || ks.via?.some(via => via.anatomical_entities.map(entity => entity.id).some(id => nerveIds.includes(id)));
Copy link
Author

Choose a reason for hiding this comment

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

NOTE: even though the connections/KS may have vias it may not be filtered through them. Since filters shown in the dropdown are only MAJOR NERVES. This can be seen in the video above in PR description.

cc @afonsobspinto @ddelpiano

@D-GopalKrishna D-GopalKrishna merged commit e5f2241 into feature/ESCKAN-20-new May 20, 2024
1 check passed
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.

1 participant