{"action":"opened","issue":{"url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/273","labels_url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/273/labels{/name}","comments_url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/273/comments","events_url":"https://api.github.com/repos/glittergallery/GlitterGallery/issues/273/events","html_url":"https://github.com/glittergallery/GlitterGallery/issues/273","id":63257478,"number":273,"title":"user's page and follow","user":{"login":"sonalkr132","id":7680662,"avatar_url":"https://avatars.githubusercontent.com/u/7680662?v=3","gravatar_id":"","url":"https://api.github.com/users/sonalkr132","html_url":"https://github.com/sonalkr132","followers_url":"https://api.github.com/users/sonalkr132/followers","following_url":"https://api.github.com/users/sonalkr132/following{/other_user}","gists_url":"https://api.github.com/users/sonalkr132/gists{/gist_id}","starred_url":"https://api.github.com/users/sonalkr132/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonalkr132/subscriptions","organizations_url":"https://api.github.com/users/sonalkr132/orgs","repos_url":"https://api.github.com/users/sonalkr132/repos","events_url":"https://api.github.com/users/sonalkr132/events{/privacy}","received_events_url":"https://api.github.com/users/sonalkr132/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-20T16:19:36Z","updated_at":"2015-03-20T16:19:36Z","closed_at":null,"body":"Way we handling follow isn't great yet. Right now, if you click follow on your own profile, it would do nothing.. it would just render everything again (please ignore my demo). Previously it would redirect to dashboard but @Alwahsh added a test which requires for user to stay on same page and I think it makes sense. User should stay on same page if he is already logged on, what we should do is flash a message to him that he can't follow himself or something like? May be we can disable the link follow if he is one same profile? We do need to implement flashing notice design at some point, and current design doesn't seem to have space for it.. if we flash a notice under nav bar, everything would move down with a jerk.\r\n\r\nSuggestions?"}}