{"action":"created","issue":{"url":"https://api.github.com/repos/flarum/core/issues/191","repository_url":"https://api.github.com/repos/flarum/core","labels_url":"https://api.github.com/repos/flarum/core/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/flarum/core/issues/191/comments","events_url":"https://api.github.com/repos/flarum/core/issues/191/events","html_url":"https://github.com/flarum/core/issues/191","id":97630969,"number":191,"title":"Better composer minimize behaviour","user":{"login":"tobscure","id":128862,"avatar_url":"https://avatars.githubusercontent.com/u/128862?v=3","gravatar_id":"","url":"https://api.github.com/users/tobscure","html_url":"https://github.com/tobscure","followers_url":"https://api.github.com/users/tobscure/followers","following_url":"https://api.github.com/users/tobscure/following{/other_user}","gists_url":"https://api.github.com/users/tobscure/gists{/gist_id}","starred_url":"https://api.github.com/users/tobscure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobscure/subscriptions","organizations_url":"https://api.github.com/users/tobscure/orgs","repos_url":"https://api.github.com/users/tobscure/repos","events_url":"https://api.github.com/users/tobscure/events{/privacy}","received_events_url":"https://api.github.com/users/tobscure/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/flarum/core/labels/Feature","name":"Feature","color":"009800"},{"url":"https://api.github.com/repos/flarum/core/labels/Good%20for%20New%20Contributors","name":"Good for New Contributors","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-28T06:56:05Z","updated_at":"2016-03-11T07:13:55Z","closed_at":"2016-03-11T07:13:55Z","body":"From http://discuss.flarum.org/d/396/general-ux/1:\r\n\r\n> When a reply box is minimized, make mouse hover maximize it, and mouse out minimize it, until a maximize button is clicked again to make it stick up. Good when you're reading another topic with it minimized, but want to check your reply quickly.\r\n\r\nTo keep things simple, I think we should not require clicking a maximise button, but instead only keep the composer maximised if a text field in the composer has focus.\r\n\r\nWhat needs to be done:\r\n\r\n* Alter the Composer component to implement this behaviour. It might be a little complicated, but basically I imagine the steps would be:\r\n    * Change the view's click handler to a mouseover handler that shows the composer if it is minimized\r\n    * Add a mouseout handler that minimises the composer if the text field does not have focus (I think there is already a flag for this)\r\n    * Also add a handler so that when focus is lost from the text field, the composer minimises"},"comment":{"url":"https://api.github.com/repos/flarum/core/issues/comments/195229219","html_url":"https://github.com/flarum/core/issues/191#issuecomment-195229219","issue_url":"https://api.github.com/repos/flarum/core/issues/191","id":195229219,"user":{"login":"tobscure","id":128862,"avatar_url":"https://avatars.githubusercontent.com/u/128862?v=3","gravatar_id":"","url":"https://api.github.com/users/tobscure","html_url":"https://github.com/tobscure","followers_url":"https://api.github.com/users/tobscure/followers","following_url":"https://api.github.com/users/tobscure/following{/other_user}","gists_url":"https://api.github.com/users/tobscure/gists{/gist_id}","starred_url":"https://api.github.com/users/tobscure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobscure/subscriptions","organizations_url":"https://api.github.com/users/tobscure/orgs","repos_url":"https://api.github.com/users/tobscure/repos","events_url":"https://api.github.com/users/tobscure/events{/privacy}","received_events_url":"https://api.github.com/users/tobscure/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T07:13:55Z","updated_at":"2016-03-11T07:13:55Z","body":"Changed my mind about this. It's fine (and intuitive) the way it is :grin: "}}