{"action":"created","issue":{"url":"https://api.github.com/repos/seisatsu/Driftwood/issues/167","repository_url":"https://api.github.com/repos/seisatsu/Driftwood","labels_url":"https://api.github.com/repos/seisatsu/Driftwood/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/seisatsu/Driftwood/issues/167/comments","events_url":"https://api.github.com/repos/seisatsu/Driftwood/issues/167/events","html_url":"https://github.com/seisatsu/Driftwood/issues/167","id":261822958,"number":167,"title":"Widget loader variable support","user":{"login":"seisatsu","id":140034,"avatar_url":"https://avatars3.githubusercontent.com/u/140034?v=4","gravatar_id":"","url":"https://api.github.com/users/seisatsu","html_url":"https://github.com/seisatsu","followers_url":"https://api.github.com/users/seisatsu/followers","following_url":"https://api.github.com/users/seisatsu/following{/other_user}","gists_url":"https://api.github.com/users/seisatsu/gists{/gist_id}","starred_url":"https://api.github.com/users/seisatsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seisatsu/subscriptions","organizations_url":"https://api.github.com/users/seisatsu/orgs","repos_url":"https://api.github.com/users/seisatsu/repos","events_url":"https://api.github.com/users/seisatsu/events{/privacy}","received_events_url":"https://api.github.com/users/seisatsu/received_events","type":"User","site_admin":false},"labels":[{"id":79680859,"url":"https://api.github.com/repos/seisatsu/Driftwood/labels/feature","name":"feature","color":"009800","default":false}],"state":"open","locked":false,"assignee":{"login":"seisatsu","id":140034,"avatar_url":"https://avatars3.githubusercontent.com/u/140034?v=4","gravatar_id":"","url":"https://api.github.com/users/seisatsu","html_url":"https://github.com/seisatsu","followers_url":"https://api.github.com/users/seisatsu/followers","following_url":"https://api.github.com/users/seisatsu/following{/other_user}","gists_url":"https://api.github.com/users/seisatsu/gists{/gist_id}","starred_url":"https://api.github.com/users/seisatsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seisatsu/subscriptions","organizations_url":"https://api.github.com/users/seisatsu/orgs","repos_url":"https://api.github.com/users/seisatsu/repos","events_url":"https://api.github.com/users/seisatsu/events{/privacy}","received_events_url":"https://api.github.com/users/seisatsu/received_events","type":"User","site_admin":false},"assignees":[{"login":"seisatsu","id":140034,"avatar_url":"https://avatars3.githubusercontent.com/u/140034?v=4","gravatar_id":"","url":"https://api.github.com/users/seisatsu","html_url":"https://github.com/seisatsu","followers_url":"https://api.github.com/users/seisatsu/followers","following_url":"https://api.github.com/users/seisatsu/following{/other_user}","gists_url":"https://api.github.com/users/seisatsu/gists{/gist_id}","starred_url":"https://api.github.com/users/seisatsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seisatsu/subscriptions","organizations_url":"https://api.github.com/users/seisatsu/orgs","repos_url":"https://api.github.com/users/seisatsu/repos","events_url":"https://api.github.com/users/seisatsu/events{/privacy}","received_events_url":"https://api.github.com/users/seisatsu/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/seisatsu/Driftwood/milestones/11","html_url":"https://github.com/seisatsu/Driftwood/milestone/11","labels_url":"https://api.github.com/repos/seisatsu/Driftwood/milestones/11/labels","id":2468862,"number":11,"title":"Alpha-future","description":"Issues delegated to a future Alpha release.","creator":{"login":"seisatsu","id":140034,"avatar_url":"https://avatars3.githubusercontent.com/u/140034?v=4","gravatar_id":"","url":"https://api.github.com/users/seisatsu","html_url":"https://github.com/seisatsu","followers_url":"https://api.github.com/users/seisatsu/followers","following_url":"https://api.github.com/users/seisatsu/following{/other_user}","gists_url":"https://api.github.com/users/seisatsu/gists{/gist_id}","starred_url":"https://api.github.com/users/seisatsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seisatsu/subscriptions","organizations_url":"https://api.github.com/users/seisatsu/orgs","repos_url":"https://api.github.com/users/seisatsu/repos","events_url":"https://api.github.com/users/seisatsu/events{/privacy}","received_events_url":"https://api.github.com/users/seisatsu/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":2,"state":"open","created_at":"2017-04-20T07:26:30Z","updated_at":"2017-09-30T06:46:10Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2017-09-30T06:37:32Z","updated_at":"2017-09-30T10:37:46Z","closed_at":null,"author_association":"OWNER","body":"The STDLib JSON widget loader needs to support passing variables, so that widget descriptors can be used like templates.\r\n\r\nA variable looks like \"${name}\". When loading the widget descriptor, a dictionary of variable names and value correspondences is passed to the loader function. The variables are replaced with their values before the widget is inserted.\r\n"},"comment":{"url":"https://api.github.com/repos/seisatsu/Driftwood/issues/comments/333299996","html_url":"https://github.com/seisatsu/Driftwood/issues/167#issuecomment-333299996","issue_url":"https://api.github.com/repos/seisatsu/Driftwood/issues/167","id":333299996,"user":{"login":"pmer","id":107998,"avatar_url":"https://avatars2.githubusercontent.com/u/107998?v=4","gravatar_id":"","url":"https://api.github.com/users/pmer","html_url":"https://github.com/pmer","followers_url":"https://api.github.com/users/pmer/followers","following_url":"https://api.github.com/users/pmer/following{/other_user}","gists_url":"https://api.github.com/users/pmer/gists{/gist_id}","starred_url":"https://api.github.com/users/pmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmer/subscriptions","organizations_url":"https://api.github.com/users/pmer/orgs","repos_url":"https://api.github.com/users/pmer/repos","events_url":"https://api.github.com/users/pmer/events{/privacy}","received_events_url":"https://api.github.com/users/pmer/received_events","type":"User","site_admin":false},"created_at":"2017-09-30T10:37:46Z","updated_at":"2017-09-30T10:37:46Z","author_association":"COLLABORATOR","body":"Here's a jinja2 JSON template:\r\n\r\n```\r\n{\r\n  \"container\": {\r\n    \"background\": \"textbox.png\",\r\n    \"x-center\": true,\r\n    \"y-below\": 8,\r\n    \"width\": 144,\r\n    \"height\": 48,\r\n    \"members\": [\r\n      {\r\n        \"text\": {\r\n          \"contents\": \"{% contents %}\",\r\n          \"font\": \"pf_arma_five.ttf\",\r\n          \"size\": 8,\r\n          \"padding\": 4,\r\n          \"color\": \"000000FF\",\r\n          \"wrap\": true\r\n        }\r\n      }\r\n    ]\r\n  }\r\n}\r\n```"}}
{"actor":{"display_login":"pmer"}}