intermine / intermine-ios

Intermine iOS application - developed as part of GSoC 2017 by Nadia Yudina
2 stars 1 forks source link

Add visual difference between user-specific items and general items. Put user-specific on top. #53

Closed nadia-dev closed 7 years ago

nadia-dev commented 7 years ago

For example, lists have field "authorized". When user is logged in, she can see her lists as well as the rest of the content. User-specific lists should be filtered on top and marked somehow.

nadia-dev commented 7 years ago

@yochannah, i did it with lists. I can see that there is an option to save user templates for each mine. I tried to do it a few times through web interface on ratmine and flymine by making a query, saving it and then i tried to import a query as template. For some reason it didn't work for me. So, my question is (since I was unable to test it myself) - how user-created templates differ from the rest of the templates we get from API (assuming user is logged-in, of course). On each template which comes from API, I can see that there is field tags. For example, "tags": [ "im:aspect:Genome", "im:public" ] Does "im:public" tag has a counterpart (something like "im:private") indicating that this template is only shown for logged-in user?

nadia-dev commented 7 years ago

Implemented, not tested on templates (I could not create template via on web interface)