-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: page for external ids MA-918 #574
Conversation
This is what I'm seeing: So my first thoughts are:
|
Great stuff and very actionable points @mihai-sysbio !
We debated this a bit during the implementation and thought it could be useful to display the full link. If we don't show the full link at all maybe we can turn the title into a link instead.
This could be done either in the frontend or backend. Any preferences?
Sounds good. Want to add that for implementation, we currently don't include the version in the URLs for gem browser components. So for now it would be enough to list the version but for the future we should keep in mind to update this page when we start supporting multiple versions of the same model. |
There is value in providing users with the link, but it doesn't have to be directly under the title. On the desktop, users can hover over to see the link. Otherwise they can right click or long press to copy the link. If you still think they should see it, could it be placed somewhere less "prime"?
Could it be done entirely in the backend?
👍🏻 |
Thanks again for the feedback @mihai-sysbio . @inghylt and I have made some updates. Please take another look when you have time. Here is a screenshot for convenience: |
Overall this is really cool 👍🏻 I've left some minor feedback, not sure if I should already approve the PR. |
Co-authored-by: Mihail Anton <mihail.anton@chalmers.se>
Alright, to me there are the outstanding items to discuss before being ready to merge this in:
In the meantime, I'll go ahead and approve this. |
Thanks for the new feedback @mihai-sysbio ! @inghylt and I have gone through them and made some changes. We thought the tags with the link styling already make it clear that they are clickable, so we decided to not implement the green hover effect. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR looks great to me. I also think the text of the reaction with hyperlink looks better without the green hover. I have only one comment regarding the order of GEMs
e.g. for http://localhost/identifier/BiGG/PPNCL3, it shows
Reaction PPNCL3 from Rat-GEM 1.1.0
Reaction PPNCL3 from Mouse-GEM 1.1.0
Reaction PPNCL3 from Human-GEM 1.6.0
I don't know in which order are the reactions listed for different GEMs. Maybe we can order it alphabetically as done in the Explore (http://localhost/explore) page?
@nanjiangshu very good observation. Since now there are more and more places where results could/should be sorted alphabetically, how about we create an issue to revise the API and implement these were adequate? It feels like this could be a self-contained issue, without affecting the frontend at all. |
Originally a draft to get feedback, this PR now closes #575
This PR was created by @e0 and @inghylt