{"action":"created","issue":{"url":"https://api.github.com/repos/featherbb/featherbb/issues/31","labels_url":"https://api.github.com/repos/featherbb/featherbb/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/featherbb/featherbb/issues/31/comments","events_url":"https://api.github.com/repos/featherbb/featherbb/issues/31/events","html_url":"https://github.com/featherbb/featherbb/pull/31","id":98617916,"number":31,"title":"JS fade in/out for flash messages","user":{"login":"beaver-dev","id":4940980,"avatar_url":"https://avatars.githubusercontent.com/u/4940980?v=3","gravatar_id":"","url":"https://api.github.com/users/beaver-dev","html_url":"https://github.com/beaver-dev","followers_url":"https://api.github.com/users/beaver-dev/followers","following_url":"https://api.github.com/users/beaver-dev/following{/other_user}","gists_url":"https://api.github.com/users/beaver-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/beaver-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beaver-dev/subscriptions","organizations_url":"https://api.github.com/users/beaver-dev/orgs","repos_url":"https://api.github.com/users/beaver-dev/repos","events_url":"https://api.github.com/users/beaver-dev/events{/privacy}","received_events_url":"https://api.github.com/users/beaver-dev/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/featherbb/featherbb/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/featherbb/featherbb/labels/in%20progress","name":"in progress","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-02T15:49:24Z","updated_at":"2015-08-03T02:13:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/featherbb/featherbb/pulls/31","html_url":"https://github.com/featherbb/featherbb/pull/31","diff_url":"https://github.com/featherbb/featherbb/pull/31.diff","patch_url":"https://github.com/featherbb/featherbb/pull/31.patch"},"body":"Don't know why it can't be merged automatically... But there it is !\r\nFlash messages now display on top-right corner of page, fixed position in CSS so that it is always visible even if user don't see top of page (e.g. after posting a new message, page scrolls to bottom).\r\nSimple JS fade in effect when message is created, and fade out when clicking on the top-right close button."},"comment":{"url":"https://api.github.com/repos/featherbb/featherbb/issues/comments/127099555","html_url":"https://github.com/featherbb/featherbb/pull/31#issuecomment-127099555","issue_url":"https://api.github.com/repos/featherbb/featherbb/issues/31","id":127099555,"user":{"login":"beaver-dev","id":4940980,"avatar_url":"https://avatars.githubusercontent.com/u/4940980?v=3","gravatar_id":"","url":"https://api.github.com/users/beaver-dev","html_url":"https://github.com/beaver-dev","followers_url":"https://api.github.com/users/beaver-dev/followers","following_url":"https://api.github.com/users/beaver-dev/following{/other_user}","gists_url":"https://api.github.com/users/beaver-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/beaver-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beaver-dev/subscriptions","organizations_url":"https://api.github.com/users/beaver-dev/orgs","repos_url":"https://api.github.com/users/beaver-dev/repos","events_url":"https://api.github.com/users/beaver-dev/events{/privacy}","received_events_url":"https://api.github.com/users/beaver-dev/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T02:13:08Z","updated_at":"2015-08-03T02:13:08Z","body":"It doesn't display at the right place for you @adaur because you don't use FeatherBB default theme seeing your screenshot. And of course I didn't write CSS in all themes stylesheets, but only default :P\r\nPatch tomorrow, or if you can do it before me : copy style from [FeatherBB style] (https://github.com/beaver-dev/featherbb/commit/c291979af2b7b21a6218a7f24692b646dc14ec1f#diff-7d1476942eced8283b0d38fd6369b418) to other themes stylesheets.\r\n@capkokoon : onVisibilityChange & Viewport were added because at first I wanted to put the alert box in top right only if the original was hidden. These functions were in charge to detect if default message div was visible after scrolling, and add/remove a \"top-right\" class consequently. But eventually it seemed a bit unstable, I didn't want to spend too much time on this detail, and always placing it top-right is fine ! So indeed they can be removed, as well as script tags in headers views.\r\nPatch tomorrow with the themes thing :)"}}