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-1420] Add synonym to germplasm import and export #220

Merged
merged 5 commits into from
Jun 9, 2022

Conversation

ctucker3
Copy link
Contributor

@ctucker3 ctucker3 commented Apr 19, 2022

Description

Story: https://breedinginsight.atlassian.net/jira/software/c/projects/BI/boards/1?modal=detail&selectedIssue=BI-1420

  • Added germplasm synonyms to import preview and germplasm details page.

Dependencies

biapi: BI-1420

Testing

See biapi PR

Checklist:

  • I have performed a self-review of my own code
  • I have tested my code and ensured it meets the acceptance criteria of the story
  • I have create/modified unit tests to cover this change
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to documentation
  • I have run TAF: https://github.com/Breeding-Insight/taf/actions/runs/2202653395

@ctucker3 ctucker3 marked this pull request as ready for review April 21, 2022 15:03
@ctucker3 ctucker3 requested review from nickpalladino and HMS17 April 22, 2022 13:06
@@ -43,4 +43,9 @@ export class GermplasmUtils {
return val ? val.referenceID : "";
}

static formatSynonyms(synonyms: any[]): string {
if (!synonyms) return "";
return synonyms.map(synonym => synonym.synonym).join(";");
Copy link
Member

Choose a reason for hiding this comment

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

might look a little nicer with a space after the semicolon, your call

Copy link
Member

Choose a reason for hiding this comment

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

Agreed, updated.

@timparsons timparsons requested a review from nickpalladino May 23, 2022 19:57
@ctucker3 ctucker3 force-pushed the feature/BI-1420 branch 2 times, most recently from 082738e to 733c402 Compare May 31, 2022 16:32
@ctucker3 ctucker3 merged commit fb89e7e into develop Jun 9, 2022
@ctucker3 ctucker3 deleted the feature/BI-1420 branch June 9, 2022 13:15
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.

4 participants