{"action":"opened","issue":{"url":"https://api.github.com/repos/ckeditor/ckeditor5-core/issues/130","repository_url":"https://api.github.com/repos/ckeditor/ckeditor5-core","labels_url":"https://api.github.com/repos/ckeditor/ckeditor5-core/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/ckeditor/ckeditor5-core/issues/130/comments","events_url":"https://api.github.com/repos/ckeditor/ckeditor5-core/issues/130/events","html_url":"https://github.com/ckeditor/ckeditor5-core/issues/130","id":335501093,"node_id":"MDU6SXNzdWUzMzU1MDEwOTM=","number":130,"title":"Introduce EditorUI#update event","user":{"login":"oskarwrobel","id":1057056,"node_id":"MDQ6VXNlcjEwNTcwNTY=","avatar_url":"https://avatars2.githubusercontent.com/u/1057056?v=4","gravatar_id":"","url":"https://api.github.com/users/oskarwrobel","html_url":"https://github.com/oskarwrobel","followers_url":"https://api.github.com/users/oskarwrobel/followers","following_url":"https://api.github.com/users/oskarwrobel/following{/other_user}","gists_url":"https://api.github.com/users/oskarwrobel/gists{/gist_id}","starred_url":"https://api.github.com/users/oskarwrobel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oskarwrobel/subscriptions","organizations_url":"https://api.github.com/users/oskarwrobel/orgs","repos_url":"https://api.github.com/users/oskarwrobel/repos","events_url":"https://api.github.com/users/oskarwrobel/events{/privacy}","received_events_url":"https://api.github.com/users/oskarwrobel/received_events","type":"User","site_admin":false},"labels":[{"id":416120714,"node_id":"MDU6TGFiZWw0MTYxMjA3MTQ=","url":"https://api.github.com/repos/ckeditor/ckeditor5-core/labels/status:confirmed","name":"status:confirmed","color":"e6e6e6","default":false},{"id":416120743,"node_id":"MDU6TGFiZWw0MTYxMjA3NDM=","url":"https://api.github.com/repos/ckeditor/ckeditor5-core/labels/type:feature","name":"type:feature","color":"84b6eb","default":false}],"state":"open","locked":false,"assignee":{"login":"oskarwrobel","id":1057056,"node_id":"MDQ6VXNlcjEwNTcwNTY=","avatar_url":"https://avatars2.githubusercontent.com/u/1057056?v=4","gravatar_id":"","url":"https://api.github.com/users/oskarwrobel","html_url":"https://github.com/oskarwrobel","followers_url":"https://api.github.com/users/oskarwrobel/followers","following_url":"https://api.github.com/users/oskarwrobel/following{/other_user}","gists_url":"https://api.github.com/users/oskarwrobel/gists{/gist_id}","starred_url":"https://api.github.com/users/oskarwrobel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oskarwrobel/subscriptions","organizations_url":"https://api.github.com/users/oskarwrobel/orgs","repos_url":"https://api.github.com/users/oskarwrobel/repos","events_url":"https://api.github.com/users/oskarwrobel/events{/privacy}","received_events_url":"https://api.github.com/users/oskarwrobel/received_events","type":"User","site_admin":false},"assignees":[{"login":"oskarwrobel","id":1057056,"node_id":"MDQ6VXNlcjEwNTcwNTY=","avatar_url":"https://avatars2.githubusercontent.com/u/1057056?v=4","gravatar_id":"","url":"https://api.github.com/users/oskarwrobel","html_url":"https://github.com/oskarwrobel","followers_url":"https://api.github.com/users/oskarwrobel/followers","following_url":"https://api.github.com/users/oskarwrobel/following{/other_user}","gists_url":"https://api.github.com/users/oskarwrobel/gists{/gist_id}","starred_url":"https://api.github.com/users/oskarwrobel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oskarwrobel/subscriptions","organizations_url":"https://api.github.com/users/oskarwrobel/orgs","repos_url":"https://api.github.com/users/oskarwrobel/repos","events_url":"https://api.github.com/users/oskarwrobel/events{/privacy}","received_events_url":"https://api.github.com/users/oskarwrobel/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-06-25T17:35:19Z","updated_at":"2018-06-25T17:35:19Z","closed_at":null,"author_association":"MEMBER","body":"Now we use `view#render` event to attach and reposition floating UI stuff. The problem is that rendered layout should not be the only reposition trigger. We are going to introduce `ViewDocument#layoutChanged` event https://github.com/ckeditor/ckeditor5-engine/issues/1445 so we will have another trigger soon. Besides, we should make it possible to trigger UI refresh manually without touching the engine part.\r\n\r\nWe decided to introduced one `EditorUI#update` event. This event should be fired every time when editor UI should be refreshed (after all document layout changes). All UI part of the plugins should listen to this event instead of `view#render`.\r\n\r\nRelated stuff:\r\n- https://github.com/ckeditor/ckeditor5-engine/issues/1445\r\n- https://github.com/ckeditor/ckeditor5-image/pull/210"}}
{"actor":{"display_login":"oskarwrobel"}}