Closed lpalbou closed 3 years ago
@ukemi and I reviewed the UI and workflow. It looks good, but we have a few comments and questions to discuss on the 2020-08-28 call:
Encourage directional workflow
Highlighting changes in the table
Other details to confirm
Minor UI things
Following our discussion today:
No issue in doing step 1 -> step 2 or step 2 -> step 1. The "Annotation review" button will be here and can be triggered either way
closing left search panel: we reached the conclusion that as long as we are showing the actual search parameters in the bar of the landing page, we'll be fine. The concern was to keep an eye on what was the original query
agreed on having different colors: 1) for matching 2) when the curator has changed a field 3) if any error is encountered. We'll try to apply different shadings (@ukemi if you have good examples to refer to, it would be appreciated)
restriction to term: I think it should be ok for GO, but what of other ontologies ? If we edit a Uberon term, do we only want Uberon term ? Seems like this could be too restrictive @vanaukenk
editable fields: start with gene products, go terms, references. Later on, implement relation, eco codes, annotation extension (relation, value). As a note, changing relationship should probably be done in another UI representing for instance an activity centric view of the model. A table representation is not very suited to change relationships between objects
Reset: it will wipes any pending changes. Essentially, it will restore the model to its last saved version in the store, removing anything that was changed. As a note, @tmushayahama is right that anyone editing the models before or at the same time will cause technical issues. We'll have to tackle with a "locking mechanism" later on. For now, we can indicate which models have pending changes and encourage curators not to edit models with pending changes, unless they know what they are doing.
Reset in individual box: we can have a reset at a model level, but at a field/box level, it will depends of the technical strategy we use. How critical is this ? @vanaukenk essentially if you want it to work properly, the best way would be to handle more changes on the client side (which I wouldn't recommend). Minerva / server is not able to undo changes in an unordered way, so if it was the last change, you could undo it, but if in the meantime you did other changes, then you would have to undo all of those changes before reaching the step where you were changing that field.
Review decision window: cancel = we agreed on a "go back" button where you would go back to the ART form. In that ART form, you would have the possibility to either "review" again or "reset". Reset will remove any pending changes to the selected models
Review button renamed to "Annotation Review": ok
Review mode: we'll do some tests for changing the background colors of the lines representing models. I think this may be too colorful, but we can try
T box: show the list of editable fields (in a first iteration, go term, gene product, reference). I don't know yet how much other fields we will be able to fit for a replace all in V1
@lpalbou @ukemi
David and I discussed the specific points above and here are our thoughts:
1) For the different colors, David suggests just trying some contrasting colors of your choosing in the prototype and we'll see how it looks. Maybe something like 'Banana' to 'Tuscany' to 'Fire'? https://graf1x.com/shades-of-yellow-color-palette-chart/
2) For restricting find and replace to the same ontology, we think that, for now, we should impose that restriction. In the future, we may want to allow, say, one anatomy ontology term to be replaced with a term from another anatomy ontology, but I think we should keep it simple for now and add more sophisticated functionality if/when requested by users.
3) For resetting individual boxes, we are both okay with not having that functionality for the first iteration of ART and, again, adding this feature if users request it in the future.
Please let us know if you need clarification on anything.
Thx.
This ticket is to reference and keep track of the different developments to create ART, the bulk edit UI of GO-CAMs.
The ART mockup can be find here: https://drive.google.com/file/d/15gIJ85SAHzd6uCO-g7dmpHP-t1yJVt3f/view?usp=sharing
UI part
Minerva part
Unit tests (not specific to this project, but to be encouraged)
Optional developments (probably for future road maps)
Notes