-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
@@ -101,4 +104,37 @@ export class Trait { | |||
(!this.method && !trait.method) | |||
); | |||
} | |||
|
|||
addTag(tag: string) { |
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.
Would these be cleaner to manage in a set or is there a problem with the Vue data updates when doing 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.
Yeah that's a good point. I think Vue can handle sets, I'll give it a try.
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.
Vue can handle sets, but the buefy autocomplete component can't. I'm going to keep this as an array.
@@ -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" |
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.
How is tags different from trait lists?
[BI-998] - Add tags to traits
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: