-
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
How to make it clear that a comment is available #1872
Comments
Thinking about this, our community curators wouldn't really need this, so, since it is an admin only option the "*" idea seems that it might work OK? |
Should we hide the "Add/edit comment..." item in the menu at the right in non-admin mode? I've added an indicator if there is a comment. I've used "C*" because "*" wasn't very visible. But perhaps it could just be "Comment..."? If you click on the "C*" it pops up a box containing the comment. |
I think we could have as admin only to begin with. For the few cases we have comments curators can add them as required. |
The comment view and edit links are now shown only to admin users. |
I've tweaked this a bit. The indicator is now "comment ...". If you hover over the indicator it will show the comment and if you click you can edit and copy the comment. |
Sorry, I commented on the wrong issue (#1779). Here's the cut and paste: I've loaded your JSON file with allele descriptions into my local Canto, storing the descriptions as comments. It looks like this. The comment/description pops up if you mouse over the "comment..." link. Do you think that like be convenient enough for seeing the allele descriptions? |
Hi Kim, The 'comment' indicator and the pop-up window look great. Fly-Canto would need to allow new comments but it would help if existing/uploaded comments could be 'read-only' - should discuss this. |
Tuesday's decision was to append text (as a new paragraph?) to existing comments instead of allowing edits. Also, comments must only be allowed for individual alleles, not for more complex genotypes. |
Previously we were storing the comments in single allele genotypes for the alleles. Refs #1872
I've changed things so that the existing comments are shown with a link labelled "note..." and they are now read only. You can add a new comment using "Add/edit comment..." option in the small menu on the right for each genotype. Those new comments shown with the "comment..." links and are editable. Here's an example: |
I forgot to say: the notes and comment link and menu item are only visible to admin users. |
Hi @gm119 and @vmt25 does this sound OK?:
If so, can we close this issue? |
Hi Kim, Fist of all, the mockups look great. I was now going to test it further using your session above (https://curation.pombase.org/flybase-test/curs/4e77f8cbed7cd6c6/genotype_manage) but the notes disappeared and I cannot add comments/notes (see attachment). I see the same in other sessions. Just couple of comments on this issue: |
Hi Vitor. Thanks for trying this out. You'll need to be logged in to see the notes and comment links at the moment.
I'll do that.
I'll add an option so you can disable the notes for diploids and multi-allele genotypes. |
Oh, right. Probably I was on admin on previous tries. I tried it now and works perfectly fine. Thanks |
That's done now.
I've added an option for that. You'll need to add this to the configuration to hide the notes:
Both of those changes are in the test Canto: https://curation.pombase.org/flybase-test |
Sorry that should be: |
Thanks |
'add/edit new notes' is still semi-functional in the diploid and multiallele genotype tables. The menu option is there, it is possible to add notes and edit them (imeaning they are stored, right?), but the 'new note' mark does not appear. Does this mean that if a note is made by mistake it will be on the export? |
I forgot about the menu item. It's now hidden.
Yep, all notes will be exported. |
Great! Thanks! |
Closing. Changes in new tickets. |
Geneotype comments will be imported for FlyBase, and will be used also sometimes by PhiBase and PomBase.
We need a way to alert curators that a comment is present because they are hidden from the main table.
The text was updated successfully, but these errors were encountered: