{"action":"opened","issue":{"url":"https://api.github.com/repos/PathwayCommons/app-ui/issues/1128","repository_url":"https://api.github.com/repos/PathwayCommons/app-ui","labels_url":"https://api.github.com/repos/PathwayCommons/app-ui/issues/1128/labels{/name}","comments_url":"https://api.github.com/repos/PathwayCommons/app-ui/issues/1128/comments","events_url":"https://api.github.com/repos/PathwayCommons/app-ui/issues/1128/events","html_url":"https://github.com/PathwayCommons/app-ui/issues/1128","id":375161373,"node_id":"MDU6SXNzdWUzNzUxNjEzNzM=","number":1128,"title":"Server-side module that wraps pc xref-to-uri mapper (/pc2/miriam/uri) ","user":{"login":"jvwong","id":4706307,"node_id":"MDQ6VXNlcjQ3MDYzMDc=","avatar_url":"https://avatars2.githubusercontent.com/u/4706307?v=4","gravatar_id":"","url":"https://api.github.com/users/jvwong","html_url":"https://github.com/jvwong","followers_url":"https://api.github.com/users/jvwong/followers","following_url":"https://api.github.com/users/jvwong/following{/other_user}","gists_url":"https://api.github.com/users/jvwong/gists{/gist_id}","starred_url":"https://api.github.com/users/jvwong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvwong/subscriptions","organizations_url":"https://api.github.com/users/jvwong/orgs","repos_url":"https://api.github.com/users/jvwong/repos","events_url":"https://api.github.com/users/jvwong/events{/privacy}","received_events_url":"https://api.github.com/users/jvwong/received_events","type":"User","site_admin":false},"labels":[{"id":971466092,"node_id":"MDU6TGFiZWw5NzE0NjYwOTI=","url":"https://api.github.com/repos/PathwayCommons/app-ui/labels/Pathway%20Viewer","name":"Pathway Viewer","color":"b5e874","default":false}],"state":"open","locked":false,"assignee":{"login":"jvwong","id":4706307,"node_id":"MDQ6VXNlcjQ3MDYzMDc=","avatar_url":"https://avatars2.githubusercontent.com/u/4706307?v=4","gravatar_id":"","url":"https://api.github.com/users/jvwong","html_url":"https://github.com/jvwong","followers_url":"https://api.github.com/users/jvwong/followers","following_url":"https://api.github.com/users/jvwong/following{/other_user}","gists_url":"https://api.github.com/users/jvwong/gists{/gist_id}","starred_url":"https://api.github.com/users/jvwong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvwong/subscriptions","organizations_url":"https://api.github.com/users/jvwong/orgs","repos_url":"https://api.github.com/users/jvwong/repos","events_url":"https://api.github.com/users/jvwong/events{/privacy}","received_events_url":"https://api.github.com/users/jvwong/received_events","type":"User","site_admin":false},"assignees":[{"login":"jvwong","id":4706307,"node_id":"MDQ6VXNlcjQ3MDYzMDc=","avatar_url":"https://avatars2.githubusercontent.com/u/4706307?v=4","gravatar_id":"","url":"https://api.github.com/users/jvwong","html_url":"https://github.com/jvwong","followers_url":"https://api.github.com/users/jvwong/followers","following_url":"https://api.github.com/users/jvwong/following{/other_user}","gists_url":"https://api.github.com/users/jvwong/gists{/gist_id}","starred_url":"https://api.github.com/users/jvwong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvwong/subscriptions","organizations_url":"https://api.github.com/users/jvwong/orgs","repos_url":"https://api.github.com/users/jvwong/repos","events_url":"https://api.github.com/users/jvwong/events{/privacy}","received_events_url":"https://api.github.com/users/jvwong/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/PathwayCommons/app-ui/milestones/16","html_url":"https://github.com/PathwayCommons/app-ui/milestone/16","labels_url":"https://api.github.com/repos/PathwayCommons/app-ui/milestones/16/labels","id":3743265,"node_id":"MDk6TWlsZXN0b25lMzc0MzI2NQ==","number":16,"title":"Refactoring","description":"Code review and, when necessary, refactoring. \r\n\r\nMajor targets are the pathway metadata, information panel data fetching and the enrichment client/server. ","creator":{"login":"jvwong","id":4706307,"node_id":"MDQ6VXNlcjQ3MDYzMDc=","avatar_url":"https://avatars2.githubusercontent.com/u/4706307?v=4","gravatar_id":"","url":"https://api.github.com/users/jvwong","html_url":"https://github.com/jvwong","followers_url":"https://api.github.com/users/jvwong/followers","following_url":"https://api.github.com/users/jvwong/following{/other_user}","gists_url":"https://api.github.com/users/jvwong/gists{/gist_id}","starred_url":"https://api.github.com/users/jvwong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvwong/subscriptions","organizations_url":"https://api.github.com/users/jvwong/orgs","repos_url":"https://api.github.com/users/jvwong/repos","events_url":"https://api.github.com/users/jvwong/events{/privacy}","received_events_url":"https://api.github.com/users/jvwong/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":4,"state":"open","created_at":"2018-10-16T13:46:12Z","updated_at":"2018-10-29T18:40:48Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-10-29T18:40:48Z","updated_at":"2018-10-29T18:40:48Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"<!-- FEATURE REQUEST : Delete if reporting a bug -->\r\n\r\n## Background\r\n\r\nThere are instances in the app where we provide hyperlinks for an entity. These hyperlinks are intended to resolve to a human-readable web page concerning a 'record' (e.g. P04637) within a 'collection' ('UniProt Knowledgebase') from a 'resource' (e.g. 'Universal Protein Resource using Persistent URL system'). There, users can learn more about the entity and link to resources therein.\r\n\r\nThe Pathways node tooltip data derives from BioPAX Xrefs. However, it is more useful to supply clients with  label - url pairs, rather than db - id pairs. This could be aided by using the [pc metadata web service](http://www.pathwaycommons.org/pc2/swagger-ui.html#!/metadata45controller/identifierOrgUriUsingGET) to map Xref db, id pairs  to  a resolvable url.    \r\n\r\n## Description of new feature\r\n\r\n<!-- What should the new feature do?  That is, what is the goal that the user will accomplish? -->\r\n\r\nA server-side module that wraps the pc metadata web service. Takes in (xref) db and id and returns url.\r\n\r\n## Motivation for new feature\r\n\r\n<!-- Describe the use case for this new feature.  Why is the goal the user will accomplish important? -->\r\n\r\nTowards a more robust approach to map pathway xrefs to label, url pairs that can be sent to clients. This is used in pathway metadata tooltip.  \r\n\r\n<!-- END FEATURE REQUEST -->"}}
{"actor":{"display_login":"jvwong"}}