{"action":"created","issue":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/1694","repository_url":"https://api.github.com/repos/WordPress/gutenberg","labels_url":"https://api.github.com/repos/WordPress/gutenberg/issues/1694/labels{/name}","comments_url":"https://api.github.com/repos/WordPress/gutenberg/issues/1694/comments","events_url":"https://api.github.com/repos/WordPress/gutenberg/issues/1694/events","html_url":"https://github.com/WordPress/gutenberg/pull/1694","id":240380136,"number":1694,"title":"Recent blocks","user":{"login":"notnownikki","id":3314354,"avatar_url":"https://avatars1.githubusercontent.com/u/3314354?v=3","gravatar_id":"","url":"https://api.github.com/users/notnownikki","html_url":"https://github.com/notnownikki","followers_url":"https://api.github.com/users/notnownikki/followers","following_url":"https://api.github.com/users/notnownikki/following{/other_user}","gists_url":"https://api.github.com/users/notnownikki/gists{/gist_id}","starred_url":"https://api.github.com/users/notnownikki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notnownikki/subscriptions","organizations_url":"https://api.github.com/users/notnownikki/orgs","repos_url":"https://api.github.com/users/notnownikki/repos","events_url":"https://api.github.com/users/notnownikki/events{/privacy}","received_events_url":"https://api.github.com/users/notnownikki/received_events","type":"User","site_admin":false},"labels":[{"id":546156315,"url":"https://api.github.com/repos/WordPress/gutenberg/labels/Block%20API","name":"Block API","color":"fbca04","default":false},{"id":570263070,"url":"https://api.github.com/repos/WordPress/gutenberg/labels/Blocks","name":"Blocks","color":"fbca04","default":false},{"id":596962434,"url":"https://api.github.com/repos/WordPress/gutenberg/labels/[Component]%20Inserter","name":"[Component] Inserter","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-07-04T10:29:33Z","updated_at":"2017-07-11T09:59:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/WordPress/gutenberg/pulls/1694","html_url":"https://github.com/WordPress/gutenberg/pull/1694","diff_url":"https://github.com/WordPress/gutenberg/pull/1694.diff","patch_url":"https://github.com/WordPress/gutenberg/pull/1694.patch"},"body":"Refactored code that generates and sorts visible blocks so that\r\nthe order of recent blocks can be arbitrary, and recent blocks\r\nappear in their own category.\r\n\r\nMaximum of 8 recent blocks are shown, with most recently used\r\nat the top. This is not persisted between editor sessions, there\r\nis a TODO item in the usage module to highlight this needs to\r\nbe done.\r\n\r\nThe buttons in block-list which currently show core/text and core/image\r\nhave not been modified to use the recently used blocks yet,\r\nthis is to be looked at in the next iteration."},"comment":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/comments/314395896","html_url":"https://github.com/WordPress/gutenberg/pull/1694#issuecomment-314395896","issue_url":"https://api.github.com/repos/WordPress/gutenberg/issues/1694","id":314395896,"user":{"login":"notnownikki","id":3314354,"avatar_url":"https://avatars1.githubusercontent.com/u/3314354?v=3","gravatar_id":"","url":"https://api.github.com/users/notnownikki","html_url":"https://github.com/notnownikki","followers_url":"https://api.github.com/users/notnownikki/followers","following_url":"https://api.github.com/users/notnownikki/following{/other_user}","gists_url":"https://api.github.com/users/notnownikki/gists{/gist_id}","starred_url":"https://api.github.com/users/notnownikki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notnownikki/subscriptions","organizations_url":"https://api.github.com/users/notnownikki/orgs","repos_url":"https://api.github.com/users/notnownikki/repos","events_url":"https://api.github.com/users/notnownikki/events{/privacy}","received_events_url":"https://api.github.com/users/notnownikki/received_events","type":"User","site_admin":false},"created_at":"2017-07-11T09:59:08Z","updated_at":"2017-07-11T09:59:08Z","body":"Major update! Now using the new test framework! Now using the new action type!\r\n\r\nAlso, recent block usage moved into the application state. There are two actions this hooks into - SETUP_NEW_POST populates the recently used blocks with initial data - currently just the common category, but this will be changed when we have a server side API to populate it with the users most frequently related blocks (or whatever we decide), and of course, recording block usage on INSERT_BLOCKS."}}
{"actor":{"display_login":"notnownikki"}}