geneontology / noctua-form-legacy

Simple annoton editor workbench for Noctua.
BSD 3-Clause "New" or "Revised" License
3 stars 3 forks source link

Explore adding functionality to create more lines for specific rows in the form #85

Open vanaukenk opened 5 years ago

vanaukenk commented 5 years ago

From: https://github.com/geneontology/noctua/issues/583

From @suzialeksander I need to add two "has_input"s to an annotation. Is there a way to tweak the Form? I managed to do this through the Graph Editor but it wasn't intuitive (two different titles for what, to the user, are the same thing: "sub-nodes"/"edge & class expression"

From @vanaukenk Perhaps we could add a feature to the form that would allow curators to add another row of contextual information, although we will want to be selective about which rows could be duplicated.

vanaukenk commented 5 years ago

Note that multiple 'has input' relations and values are allowed in the current spec:

https://github.com/geneontology/GO_Shapes/blob/master/shapes/go-cam-shapes.shex

tmushayahama commented 5 years ago

@suzialeksander @vanaukenk yes, this feature will be implemented on Form 2.0 . I am still playing around with how to best expand the form without overwhelming it on its default ( first impressions :) ) @thomaspd had a good suggestion of adding the option on the MF row like below

image

With proper labeling of course. However hiding it like this, means noone will know it's there unless they dig in. Any thoughts?

vanaukenk commented 5 years ago

Thanks @tmushayahama

I agree that we need to make this functionality more visible.

How about something simple like a '+' sign next to the rows that can have more than one entry (according to the shex specifications, of course)?

Clicking on the '+' sign would generate an additional row.