{"action":"created","issue":{"url":"https://api.github.com/repos/meren/anvio/issues/307","repository_url":"https://api.github.com/repos/meren/anvio","labels_url":"https://api.github.com/repos/meren/anvio/issues/307/labels{/name}","comments_url":"https://api.github.com/repos/meren/anvio/issues/307/comments","events_url":"https://api.github.com/repos/meren/anvio/issues/307/events","html_url":"https://github.com/meren/anvio/issues/307","id":129863064,"number":307,"title":"Anvio-server - knowing when you are in a public project","user":{"login":"tdelmont","id":8332889,"avatar_url":"https://avatars.githubusercontent.com/u/8332889?v=3","gravatar_id":"","url":"https://api.github.com/users/tdelmont","html_url":"https://github.com/tdelmont","followers_url":"https://api.github.com/users/tdelmont/followers","following_url":"https://api.github.com/users/tdelmont/following{/other_user}","gists_url":"https://api.github.com/users/tdelmont/gists{/gist_id}","starred_url":"https://api.github.com/users/tdelmont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdelmont/subscriptions","organizations_url":"https://api.github.com/users/tdelmont/orgs","repos_url":"https://api.github.com/users/tdelmont/repos","events_url":"https://api.github.com/users/tdelmont/events{/privacy}","received_events_url":"https://api.github.com/users/tdelmont/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"paczian","id":1032895,"avatar_url":"https://avatars.githubusercontent.com/u/1032895?v=3","gravatar_id":"","url":"https://api.github.com/users/paczian","html_url":"https://github.com/paczian","followers_url":"https://api.github.com/users/paczian/followers","following_url":"https://api.github.com/users/paczian/following{/other_user}","gists_url":"https://api.github.com/users/paczian/gists{/gist_id}","starred_url":"https://api.github.com/users/paczian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paczian/subscriptions","organizations_url":"https://api.github.com/users/paczian/orgs","repos_url":"https://api.github.com/users/paczian/repos","events_url":"https://api.github.com/users/paczian/events{/privacy}","received_events_url":"https://api.github.com/users/paczian/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-01-29T19:40:07Z","updated_at":"2016-02-11T22:47:13Z","closed_at":null,"body":"Hi,\r\nwhen you open a link, would be nice to know if it is a public project, or just a shared link to a (currently) private project. This could be presented in the top left section of the interface, nearby your ID name (private/public in a box with some color code would be great, blue for private and green for public maybe).\r\nAlso, a link to the project description would be great, so people can learn more about the project they are looking at.\r\n\r\nTom"},"comment":{"url":"https://api.github.com/repos/meren/anvio/issues/comments/183090179","html_url":"https://github.com/meren/anvio/issues/307#issuecomment-183090179","issue_url":"https://api.github.com/repos/meren/anvio/issues/307","id":183090179,"user":{"login":"ozcanesen","id":940884,"avatar_url":"https://avatars.githubusercontent.com/u/940884?v=3","gravatar_id":"","url":"https://api.github.com/users/ozcanesen","html_url":"https://github.com/ozcanesen","followers_url":"https://api.github.com/users/ozcanesen/followers","following_url":"https://api.github.com/users/ozcanesen/following{/other_user}","gists_url":"https://api.github.com/users/ozcanesen/gists{/gist_id}","starred_url":"https://api.github.com/users/ozcanesen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ozcanesen/subscriptions","organizations_url":"https://api.github.com/users/ozcanesen/orgs","repos_url":"https://api.github.com/users/ozcanesen/repos","events_url":"https://api.github.com/users/ozcanesen/events{/privacy}","received_events_url":"https://api.github.com/users/ozcanesen/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T22:47:13Z","updated_at":"2016-02-11T22:47:13Z","body":"I also have minor enhancement idea about this, when user clicks a public project link it redirects to /app/index.html so user no longer can copy and share the link from address bar, which is a problem because i am sure somebody going to try to share /app/index.html\r\n\r\nWe can use '#' for this, /app/index.html#/public/<project> --> redirects to /public/<project> --> redirects to /app/index.html#/public/<project> again\r\n\r\nSo index.html page should check this and if there is a view cookie for this project it should not do anything, and it should redirect to /public/<project> if hashes are not match or there is no cookie view hash.\r\n\r\nAlso we can use iframes for this but it can be trouble.\r\n\r\nBest,"}}