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

[BI-1347] - Germplasm pedigree view #238

Merged
merged 18 commits into from
Jun 13, 2022
Merged

[BI-1347] - Germplasm pedigree view #238

merged 18 commits into from
Jun 13, 2022

Conversation

timparsons
Copy link
Member

@timparsons timparsons commented Jun 8, 2022

Description

Story: BI-1347 - Germplasm Pedigree View

Integrated the BrAPI Pedigree Viewer into the germplasm view.

Implementation notes:

  • made forks of both the pedigree viewer and brapi-js libraries from the solgenomics repo in order to expand functionality and make some bug fixes.
  • the build GitHub Action was updated to use node 12, and then update npm to v8. This was because of the use of HTTP links for the brapi-js, brapi-pedigree-viewer, and d3-pedigree-tree dependencies

NOTE: Before merging this PR:

Out of scope:

  • Utilize configuration in PedigreeViewer to allow pedigree to link to corresponding node's germplasm details page - This will be handled in BI-1494

Dependencies

Testing

Has been tested during development with a program pointed to Breedbase only (hasn't been tested on the BrAPI Java Server)

  1. Load germplasm with multiple pedigree connections into your program
  2. Navigate to a germplasm that has pedigree connections
  3. Verify that the pedigree tree renders, and you can click on any of the arrows (up, down, right) to expand the pedigree tree
  4. Verify that when your mouse is over the tree you can zoom in and out by scrolling your mouse
  5. Verify that you can move the tree by clicking and dragging

Checklist:

@timparsons timparsons requested review from HMS17, a team and dmeidlin and removed request for a team June 8, 2022 19:56
@timparsons timparsons assigned timparsons and HMS17 and unassigned timparsons Jun 8, 2022
@timparsons timparsons requested review from a team, dmeidlin and ctucker3 and removed request for dmeidlin and a team June 10, 2022 20:50
Copy link
Contributor

@HMS17 HMS17 left a comment

Choose a reason for hiding this comment

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

https://breedinginsight.atlassian.net/browse/BI-1503 created to handle case of brapi test server programs.

private pedigreeWrapId: String = 'pedigree-wrap';

private activeProgram?: Program;
private pedigreeLoading: boolean = true; //todo add loading symbol when loading
Copy link
Contributor

Choose a reason for hiding this comment

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

todo should be removed if loading symbol works

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed and pushed

@@ -71,7 +71,6 @@ const store: StoreOptions<RootState> = {
successNotificationMsg: state => {
return state.successNotificationMsg;
},
Copy link
Contributor

Choose a reason for hiding this comment

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

This and mutations.js seem to be leftover changes.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed and pushed

@timparsons timparsons requested a review from HMS17 June 13, 2022 13:20
@timparsons timparsons merged commit ed61fcc into develop Jun 13, 2022
@timparsons timparsons deleted the feature/BI-1347 branch June 13, 2022 19:17
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