{"action":"created","issue":{"url":"https://api.github.com/repos/OrchardCMS/Orchard2/issues/273","repository_url":"https://api.github.com/repos/OrchardCMS/Orchard2","labels_url":"https://api.github.com/repos/OrchardCMS/Orchard2/issues/273/labels{/name}","comments_url":"https://api.github.com/repos/OrchardCMS/Orchard2/issues/273/comments","events_url":"https://api.github.com/repos/OrchardCMS/Orchard2/issues/273/events","html_url":"https://github.com/OrchardCMS/Orchard2/issues/273","id":182864373,"number":273,"title":"[Design] Tokens","user":{"login":"sebastienros","id":1165805,"avatar_url":"https://avatars.githubusercontent.com/u/1165805?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastienros","html_url":"https://github.com/sebastienros","followers_url":"https://api.github.com/users/sebastienros/followers","following_url":"https://api.github.com/users/sebastienros/following{/other_user}","gists_url":"https://api.github.com/users/sebastienros/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastienros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastienros/subscriptions","organizations_url":"https://api.github.com/users/sebastienros/orgs","repos_url":"https://api.github.com/users/sebastienros/repos","events_url":"https://api.github.com/users/sebastienros/events{/privacy}","received_events_url":"https://api.github.com/users/sebastienros/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-10-13T18:27:13Z","updated_at":"2016-10-13T23:00:31Z","closed_at":null,"body":"Time to work on porting the Tokens modules. Please share you current struggles, what you like, and how you would like this module to look like.\r\n\r\nSome ideas:\r\n- Make it optional. The modules don't have to reference it or \"depend\" on it, they just call it and if the module is not enabled then the UI hint is not displayed and the text is not tokenized.\r\n- Use a popup to make it work better (no glitches) and support advanced UI like search, or embedded doc.\r\n- Change the tag to remove the old `{foo}` syntax, just support `${foo}` or change it to `{{foo}}`\r\n- We could also adopt another language like [handlebars](https://github.com/rexm/Handlebars.Net) which supports lists\r\n- Rationalize how lists are used\r\n- Should we use a function-like syntax to have parameters on tokens?\r\n- Should we have a token filter to apply them on the rendered html, for instance to alter the user-edited content, like images, or custom scripts (snippets)\r\n \r\n"},"comment":{"url":"https://api.github.com/repos/OrchardCMS/Orchard2/issues/comments/253663037","html_url":"https://github.com/OrchardCMS/Orchard2/issues/273#issuecomment-253663037","issue_url":"https://api.github.com/repos/OrchardCMS/Orchard2/issues/273","id":253663037,"user":{"login":"Skrypt","id":3228637,"avatar_url":"https://avatars.githubusercontent.com/u/3228637?v=3","gravatar_id":"","url":"https://api.github.com/users/Skrypt","html_url":"https://github.com/Skrypt","followers_url":"https://api.github.com/users/Skrypt/followers","following_url":"https://api.github.com/users/Skrypt/following{/other_user}","gists_url":"https://api.github.com/users/Skrypt/gists{/gist_id}","starred_url":"https://api.github.com/users/Skrypt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Skrypt/subscriptions","organizations_url":"https://api.github.com/users/Skrypt/orgs","repos_url":"https://api.github.com/users/Skrypt/repos","events_url":"https://api.github.com/users/Skrypt/events{/privacy}","received_events_url":"https://api.github.com/users/Skrypt/received_events","type":"User","site_admin":false},"created_at":"2016-10-13T23:00:31Z","updated_at":"2016-10-13T23:00:31Z","body":"I agree, but sad it's not mature enough. I'd be happy with Handlebar and/or Liquid 😉 "}}
{"actor":{"display_login":"Skrypt"}}