{"action":"created","issue":{"url":"https://api.github.com/repos/gregory-bretall/liferay-portal/issues/42","repository_url":"https://api.github.com/repos/gregory-bretall/liferay-portal","labels_url":"https://api.github.com/repos/gregory-bretall/liferay-portal/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/gregory-bretall/liferay-portal/issues/42/comments","events_url":"https://api.github.com/repos/gregory-bretall/liferay-portal/issues/42/events","html_url":"https://github.com/gregory-bretall/liferay-portal/pull/42","id":304831704,"number":42,"title":"LPS-78794 Enable Activities Portlet to Provide Profile Links for User…","user":{"login":"brianikim","id":35237986,"avatar_url":"https://avatars1.githubusercontent.com/u/35237986?v=4","gravatar_id":"","url":"https://api.github.com/users/brianikim","html_url":"https://github.com/brianikim","followers_url":"https://api.github.com/users/brianikim/followers","following_url":"https://api.github.com/users/brianikim/following{/other_user}","gists_url":"https://api.github.com/users/brianikim/gists{/gist_id}","starred_url":"https://api.github.com/users/brianikim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianikim/subscriptions","organizations_url":"https://api.github.com/users/brianikim/orgs","repos_url":"https://api.github.com/users/brianikim/repos","events_url":"https://api.github.com/users/brianikim/events{/privacy}","received_events_url":"https://api.github.com/users/brianikim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-13T16:10:04Z","updated_at":"2018-03-13T16:14:51Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/gregory-bretall/liferay-portal/pulls/42","html_url":"https://github.com/gregory-bretall/liferay-portal/pull/42","diff_url":"https://github.com/gregory-bretall/liferay-portal/pull/42.diff","patch_url":"https://github.com/gregory-bretall/liferay-portal/pull/42.patch"},"body":"… Mentions"},"comment":{"url":"https://api.github.com/repos/gregory-bretall/liferay-portal/issues/comments/372723646","html_url":"https://github.com/gregory-bretall/liferay-portal/pull/42#issuecomment-372723646","issue_url":"https://api.github.com/repos/gregory-bretall/liferay-portal/issues/42","id":372723646,"user":{"login":"brianikim","id":35237986,"avatar_url":"https://avatars1.githubusercontent.com/u/35237986?v=4","gravatar_id":"","url":"https://api.github.com/users/brianikim","html_url":"https://github.com/brianikim","followers_url":"https://api.github.com/users/brianikim/followers","following_url":"https://api.github.com/users/brianikim/following{/other_user}","gists_url":"https://api.github.com/users/brianikim/gists{/gist_id}","starred_url":"https://api.github.com/users/brianikim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianikim/subscriptions","organizations_url":"https://api.github.com/users/brianikim/orgs","repos_url":"https://api.github.com/users/brianikim/repos","events_url":"https://api.github.com/users/brianikim/events{/privacy}","received_events_url":"https://api.github.com/users/brianikim/received_events","type":"User","site_admin":false},"created_at":"2018-03-13T16:14:51Z","updated_at":"2018-03-13T16:14:51Z","author_association":"NONE","body":"https://issues.liferay.com/browse/LPS-78794\r\n\r\nHello @gregory-bretall ,\r\n\r\nThe issue here is that the activities portlet and the microblogs portlet have conflicting behaviors in regards to how user mentions are displayed. For microblogs portlet, the user mention is converted into a  href that allows users to click on the mentioned user's profile. For ex, in a microblogs portlet, if you write a comment saying \"Hello @USER\" @USER will be converted into the mentioned profile link. However, in the activities portlet, the same comment will be displayed as \"Hello [@USER]\".\r\n\r\nThe fix here is to use the already available function of replaceUserTags() found in \r\nhttps://github.com/liferay/liferay-portal/blob/e0ffae30b9ea29e68e1e974d8e4d39b7cfc24a40/modules/apps/collaboration/microblogs/microblogs-web/src/main/java/com/liferay/microblogs/web/internal/util/MicroblogsWebUtil.java#L216-L264\r\nand implement it for the activities portlet.\r\n\r\nPlease let me know if you have any questions. Thanks.\r\n\r\nSincerely,\r\nBrian Kim"}}
{"actor":{"display_login":"brianikim"}}