{"action":"created","issue":{"url":"https://api.github.com/repos/htmlburger/carbon-fields/issues/349","repository_url":"https://api.github.com/repos/htmlburger/carbon-fields","labels_url":"https://api.github.com/repos/htmlburger/carbon-fields/issues/349/labels{/name}","comments_url":"https://api.github.com/repos/htmlburger/carbon-fields/issues/349/comments","events_url":"https://api.github.com/repos/htmlburger/carbon-fields/issues/349/events","html_url":"https://github.com/htmlburger/carbon-fields/issues/349","id":256496206,"number":349,"title":"[2.0] Carbon Fields loaded on every admin page","user":{"login":"erikjoling","id":20614110,"avatar_url":"https://avatars0.githubusercontent.com/u/20614110?v=4","gravatar_id":"","url":"https://api.github.com/users/erikjoling","html_url":"https://github.com/erikjoling","followers_url":"https://api.github.com/users/erikjoling/followers","following_url":"https://api.github.com/users/erikjoling/following{/other_user}","gists_url":"https://api.github.com/users/erikjoling/gists{/gist_id}","starred_url":"https://api.github.com/users/erikjoling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikjoling/subscriptions","organizations_url":"https://api.github.com/users/erikjoling/orgs","repos_url":"https://api.github.com/users/erikjoling/repos","events_url":"https://api.github.com/users/erikjoling/events{/privacy}","received_events_url":"https://api.github.com/users/erikjoling/received_events","type":"User","site_admin":false},"labels":[{"id":307615024,"url":"https://api.github.com/repos/htmlburger/carbon-fields/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-10T09:12:43Z","updated_at":"2017-09-11T13:43:45Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI have noticed that the CF containers and fields I use are being loaded on every page in the admin. This includes a lot of calls to the database, which hurts performance significantly I assume. \r\n\r\nIs there a reason for this?"},"comment":{"url":"https://api.github.com/repos/htmlburger/carbon-fields/issues/comments/328533130","html_url":"https://github.com/htmlburger/carbon-fields/issues/349#issuecomment-328533130","issue_url":"https://api.github.com/repos/htmlburger/carbon-fields/issues/349","id":328533130,"user":{"login":"erikjoling","id":20614110,"avatar_url":"https://avatars0.githubusercontent.com/u/20614110?v=4","gravatar_id":"","url":"https://api.github.com/users/erikjoling","html_url":"https://github.com/erikjoling","followers_url":"https://api.github.com/users/erikjoling/followers","following_url":"https://api.github.com/users/erikjoling/following{/other_user}","gists_url":"https://api.github.com/users/erikjoling/gists{/gist_id}","starred_url":"https://api.github.com/users/erikjoling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikjoling/subscriptions","organizations_url":"https://api.github.com/users/erikjoling/orgs","repos_url":"https://api.github.com/users/erikjoling/repos","events_url":"https://api.github.com/users/erikjoling/events{/privacy}","received_events_url":"https://api.github.com/users/erikjoling/received_events","type":"User","site_admin":false},"created_at":"2017-09-11T13:43:45Z","updated_at":"2017-09-11T13:43:45Z","author_association":"NONE","body":"Hi @atanas-angelov-dev ,\r\n\r\nHmmz, I can't seem to reproduce it. This was my test function. \r\n\r\n```\r\nContainer::make('theme_options', 'Test')\r\n    ->set_page_parent('themes.php')\r\n    ->add_fields(array(\r\n        Field::make('select',  'ejo_test')->add_options('ejo_test_function')\r\n    ));\r\n\r\nfunction ejo_test_function() {\r\n\twrite_log('this is a test');\r\n\treturn array( 0 => '' );\r\n}\r\n```\r\nSorry for the inconvenience :/"}}
{"actor":{"display_login":"erikjoling"}}