Closed monicacecilia closed 8 years ago
@deepakunni3 already working on this
Assigned to @nathandunn for review. :bowtie:
One thing not behaving as expected, though.... Sorry, I just caught this back.
When I use the revert button in the 'History' panel: I expect the bookmark to shift positions in order to indicate the 'new' current gene model. The image representing the gene model is updated, but the bookmark drawing remains With the version of the gene model that was available when I first pulled up the 'History' panel. -- It should also change right away.
You can close the 'History' panel and open it again to see the new placement of the bookmark. But it should happen right away.
I'm tolerant of punting this down to 2.0.3, given that it is a minor thing - but it should be fixed ASAP after this release.
I think that it makes sense.
I do think I tried to work on this, but I can't remember if there were some minor issues preventing this. Anyway, I'm sure its doable.
@deepakunni3 I think you just need to modify this code:
https://github.com/GMOD/Apollo/blob/master/client/apollo/js/View/Track/AnnotTrack.js#L3410-L3425
You could handle it in the callback, but I think that this would be easier. I think you could just add/remove the iconClass and change the labelText.
It could be that we don't use the iconClass at all if that ends up being easier. I think a * or a left-arrow should convey the same meaning. http://www.webstandards.org/learn/reference/charts/entities/symbol_entities/
Great, so clicking on the 'revert' button genomic element back to that state, and the 'bookmark' symbol now moves to the reverted state. This is great! 💃
However, the original request of adding a label to the button or to the column that reads 'Revert' or explains what the button is for, has not been met. Could we please add the words 'Revert to' at the top of this column?
thanks!
I think that "Set" looks better.
@monicacecilia Can you supply some feedback on the verbiage for above?
https://github.com/GMOD/Apollo/issues/769#issuecomment-223383479
Words are hard.
How about just 'Revert'? 'Set' by itself does not convey much meaning in this context.
👍
💃
In the 'History' window, add a label that identifies the function of the 'revert' button. Suggested by @adnguyen999