{"action":"created","issue":{"url":"https://api.github.com/repos/nette/tracy/issues/277","repository_url":"https://api.github.com/repos/nette/tracy","labels_url":"https://api.github.com/repos/nette/tracy/issues/277/labels{/name}","comments_url":"https://api.github.com/repos/nette/tracy/issues/277/comments","events_url":"https://api.github.com/repos/nette/tracy/issues/277/events","html_url":"https://github.com/nette/tracy/pull/277","id":285284178,"number":277,"title":"Add support for custom css, js, and body strings","user":{"login":"adrianbj","id":871211,"avatar_url":"https://avatars0.githubusercontent.com/u/871211?v=4","gravatar_id":"","url":"https://api.github.com/users/adrianbj","html_url":"https://github.com/adrianbj","followers_url":"https://api.github.com/users/adrianbj/followers","following_url":"https://api.github.com/users/adrianbj/following{/other_user}","gists_url":"https://api.github.com/users/adrianbj/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianbj/subscriptions","organizations_url":"https://api.github.com/users/adrianbj/orgs","repos_url":"https://api.github.com/users/adrianbj/repos","events_url":"https://api.github.com/users/adrianbj/events{/privacy}","received_events_url":"https://api.github.com/users/adrianbj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-01-01T01:38:53Z","updated_at":"2018-03-22T16:57:12Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/nette/tracy/pulls/277","html_url":"https://github.com/nette/tracy/pull/277","diff_url":"https://github.com/nette/tracy/pull/277.diff","patch_url":"https://github.com/nette/tracy/pull/277.patch"},"body":"This provides an easy way to inject dynamically generated css or js (or any other content). This complements the recently added $customCssFiles and $customJsFiles options. The problem with those is that if you use PHP to generate JS/CSS based on conditions, there is no easy way to inject it to affect the debug bar itself (not just specific panels). This is especially difficult (impossible?) when there is a fatal error and the bluescreen is showing.\n\nThanks for considering. Maybe you have another idea for how to implement similar functionality?"},"comment":{"url":"https://api.github.com/repos/nette/tracy/issues/comments/375379830","html_url":"https://github.com/nette/tracy/pull/277#issuecomment-375379830","issue_url":"https://api.github.com/repos/nette/tracy/issues/277","id":375379830,"user":{"login":"dg","id":194960,"avatar_url":"https://avatars2.githubusercontent.com/u/194960?v=4","gravatar_id":"","url":"https://api.github.com/users/dg","html_url":"https://github.com/dg","followers_url":"https://api.github.com/users/dg/followers","following_url":"https://api.github.com/users/dg/following{/other_user}","gists_url":"https://api.github.com/users/dg/gists{/gist_id}","starred_url":"https://api.github.com/users/dg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dg/subscriptions","organizations_url":"https://api.github.com/users/dg/orgs","repos_url":"https://api.github.com/users/dg/repos","events_url":"https://api.github.com/users/dg/events{/privacy}","received_events_url":"https://api.github.com/users/dg/received_events","type":"User","site_admin":false},"created_at":"2018-03-22T16:57:12Z","updated_at":"2018-03-22T16:57:12Z","author_association":"OWNER","body":"You right, it looks really obscure and like something that is useful only for you use case. And I do not want to put such things in the code because I will not know why they are there.\r\n\r\nAnd at the same time, I do not want to think about it and look for another solution, sorry… "}}
{"actor":{"display_login":"dg"}}