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-998] - Add tags to traits #99

Merged
merged 5 commits into from
Aug 2, 2021
Merged

[BI-998] - Add tags to traits #99

merged 5 commits into from
Aug 2, 2021

Conversation

ctucker3
Copy link
Contributor

@ctucker3 ctucker3 commented Jul 8, 2021

  • Adds tags to:
    • New trait form
    • Trait detail panel
    • Trait edit panel
    • Trait import

See other PRs for this feature:
brapi: Breeding-Insight/brapi#40
bi-api: Breeding-Insight/bi-api#95
sgn: Breeding-Insight/sgn#30

Screen shots:

favorites auto-suggest
screencapture-localhost-8080-programs-3c3b90d3-4a0b-4491-8aec-621ded7b8f60-traits-list-2021-07-12-16_35_49
trait details tags
edit trait tags

@@ -101,4 +104,37 @@ export class Trait {
(!this.method && !trait.method)
);
}

addTag(tag: string) {
Copy link
Member

Choose a reason for hiding this comment

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

Would these be cleaner to manage in a set or is there a problem with the Vue data updates when doing that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah that's a good point. I think Vue can handle sets, I'll give it a try.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Vue can handle sets, but the buefy autocomplete component can't. I'm going to keep this as an array.

@ctucker3 ctucker3 requested a review from nickpalladino July 28, 2021 20:17
@@ -32,7 +32,7 @@
<div class="level-item">
<div class="has-text-dark has-text-centered is-size-7">
<!-- temporary link until the backend card is done -->
<a href="https://cornell.box.com/shared/static/snf69ydrzmmr27qfqby0pcr0mw34qulr.xls"
<a href="https://cornell.box.com/shared/static/g6vmpktevwolwkyatwxbdbzpkbwv77ov.xls"
Copy link
Member

Choose a reason for hiding this comment

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

How is tags different from trait lists?

@ctucker3 ctucker3 merged commit 6362fec into develop Aug 2, 2021
@ctucker3 ctucker3 deleted the feature/BI-998 branch August 2, 2021 17:20
timparsons pushed a commit that referenced this pull request Sep 29, 2021
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