-
Notifications
You must be signed in to change notification settings - Fork 7
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
Admin: Flag entity-related issues #1287
Conversation
normalized(){ | ||
// normalized := has a name and is associated | ||
const name = this.syncher.get('name'); | ||
return name && this.associated() && this.completed(); |
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.
Not sure what 'completed' was supposed to indicate?
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.
associated true (entity/node only) => grounded
completed (any element / node / edge) => the user has finished specifying the element
E.g. an interaction doesn't have a grounding but it can still be completed by specifying it as phosphorylation.
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.
Good point, there are some blocked (submitted) contributions that I never reviewed, missed. Add this to a few other admin features required, based on things I'm doing manually:
|
Here I augment the admin/model to flag common entity-level issues:
Question: For convenience, I added an entity
normalized
method, but I can't recall what the difference is betweenassociated
andcompleted
?Refs #1286, part 'c'