{"action":"created","issue":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/6866","repository_url":"https://api.github.com/repos/WordPress/gutenberg","labels_url":"https://api.github.com/repos/WordPress/gutenberg/issues/6866/labels{/name}","comments_url":"https://api.github.com/repos/WordPress/gutenberg/issues/6866/comments","events_url":"https://api.github.com/repos/WordPress/gutenberg/issues/6866/events","html_url":"https://github.com/WordPress/gutenberg/issues/6866","id":324832862,"node_id":"MDU6SXNzdWUzMjQ4MzI4NjI=","number":6866,"title":"Conditional Blocks?","user":{"login":"bahia0019","id":1586037,"node_id":"MDQ6VXNlcjE1ODYwMzc=","avatar_url":"https://avatars2.githubusercontent.com/u/1586037?v=4","gravatar_id":"","url":"https://api.github.com/users/bahia0019","html_url":"https://github.com/bahia0019","followers_url":"https://api.github.com/users/bahia0019/followers","following_url":"https://api.github.com/users/bahia0019/following{/other_user}","gists_url":"https://api.github.com/users/bahia0019/gists{/gist_id}","starred_url":"https://api.github.com/users/bahia0019/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bahia0019/subscriptions","organizations_url":"https://api.github.com/users/bahia0019/orgs","repos_url":"https://api.github.com/users/bahia0019/repos","events_url":"https://api.github.com/users/bahia0019/events{/privacy}","received_events_url":"https://api.github.com/users/bahia0019/received_events","type":"User","site_admin":false},"labels":[{"id":630674253,"node_id":"MDU6TGFiZWw2MzA2NzQyNTM=","url":"https://api.github.com/repos/WordPress/gutenberg/labels/[Status]%20Needs%20More%20Info","name":"[Status] Needs More Info","color":"0052cc","default":false},{"id":531680828,"node_id":"MDU6TGFiZWw1MzE2ODA4Mjg=","url":"https://api.github.com/repos/WordPress/gutenberg/labels/[Type]%20Question","name":"[Type] Question","color":"cc317c","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-05-21T08:36:19Z","updated_at":"2018-12-31T19:46:30Z","closed_at":"2018-06-15T12:22:54Z","author_association":"NONE","body":"Is there a plan for a conditional block?\r\n"},"comment":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/comments/450684508","html_url":"https://github.com/WordPress/gutenberg/issues/6866#issuecomment-450684508","issue_url":"https://api.github.com/repos/WordPress/gutenberg/issues/6866","id":450684508,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDY4NDUwOA==","user":{"login":"KenEpuk","id":16355036,"node_id":"MDQ6VXNlcjE2MzU1MDM2","avatar_url":"https://avatars2.githubusercontent.com/u/16355036?v=4","gravatar_id":"","url":"https://api.github.com/users/KenEpuk","html_url":"https://github.com/KenEpuk","followers_url":"https://api.github.com/users/KenEpuk/followers","following_url":"https://api.github.com/users/KenEpuk/following{/other_user}","gists_url":"https://api.github.com/users/KenEpuk/gists{/gist_id}","starred_url":"https://api.github.com/users/KenEpuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KenEpuk/subscriptions","organizations_url":"https://api.github.com/users/KenEpuk/orgs","repos_url":"https://api.github.com/users/KenEpuk/repos","events_url":"https://api.github.com/users/KenEpuk/events{/privacy}","received_events_url":"https://api.github.com/users/KenEpuk/received_events","type":"User","site_admin":false},"created_at":"2018-12-31T19:46:30Z","updated_at":"2018-12-31T19:46:30Z","author_association":"NONE","body":"For a use case, I just wanted to add a couple of thoughts based I'm something I'm looking at doing:\r\n\r\n1. Alert or warning based on connection to another site such as weather alerts. ifAlert then displays block(s) with a warning and possibly recommended actions.\r\n\r\n2. Display of block based on user conditions (Role/permissions, number of posts created, pending posts to review, pending comments, etc.) Some functionality already exists but could be created without adding more plug-ins.\r\n\r\nIf a conditional engine is built, with maybe a few conditions to start, others may create add-on conditions just as others are now coming up with add-on blocks. In fact, some creating specific blocks, such as a weather type block above, might come up with their own conditions specific to the block they designed.\r\n\r\nJust adding more thoughts.\r\n\r\nThanks!\r\nKen"}}
{"actor":{"display_login":"KenEpuk"}}