{"action":"created","issue":{"url":"https://api.github.com/repos/ipython-contrib/IPython-notebook-extensions/issues/219","labels_url":"https://api.github.com/repos/ipython-contrib/IPython-notebook-extensions/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/ipython-contrib/IPython-notebook-extensions/issues/219/comments","events_url":"https://api.github.com/repos/ipython-contrib/IPython-notebook-extensions/issues/219/events","html_url":"https://github.com/ipython-contrib/IPython-notebook-extensions/issues/219","id":80401432,"number":219,"title":"adding items to drop-down toolbar and installing without modifying custom.js ","user":{"login":"JohnGriffiths","id":397826,"avatar_url":"https://avatars.githubusercontent.com/u/397826?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnGriffiths","html_url":"https://github.com/JohnGriffiths","followers_url":"https://api.github.com/users/JohnGriffiths/followers","following_url":"https://api.github.com/users/JohnGriffiths/following{/other_user}","gists_url":"https://api.github.com/users/JohnGriffiths/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnGriffiths/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnGriffiths/subscriptions","organizations_url":"https://api.github.com/users/JohnGriffiths/orgs","repos_url":"https://api.github.com/users/JohnGriffiths/repos","events_url":"https://api.github.com/users/JohnGriffiths/events{/privacy}","received_events_url":"https://api.github.com/users/JohnGriffiths/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-25T05:37:37Z","updated_at":"2015-05-26T00:12:22Z","closed_at":null,"body":"\r\nI'd like to write a simple extension that includes adding an item to the drop-down cell toolbar (the one with 'edit metadata', 'slideshow', etc.). \r\n\r\nIt would be very similar to the 'swc' and jdfreder's 'notebook cherry picker' tools; i.e. would have tick-boxes in the top-right corner of each cell when its cell toolbar item is selected. I then do some custom filtering with nbconvert based on cell metadata (again, very similar to jdf's cherry-picker); that stuff I believe I have sorted. But not still not quite sure about the js and installation stuff. \r\n\r\nI would like if possible to be able to install it using the install_nbextension tools, rather than modifying custom.js manually. \r\n\r\nCould anyone point me to examples of extensions doing this (i.e. adding items to the cell toolbar + install with install_nbextension...), or give an outline of what needs to be in it?\r\n\r\nTa.\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ipython-contrib/IPython-notebook-extensions/issues/comments/105339361","html_url":"https://github.com/ipython-contrib/IPython-notebook-extensions/issues/219#issuecomment-105339361","issue_url":"https://api.github.com/repos/ipython-contrib/IPython-notebook-extensions/issues/219","id":105339361,"user":{"login":"damianavila","id":1640669,"avatar_url":"https://avatars.githubusercontent.com/u/1640669?v=3","gravatar_id":"","url":"https://api.github.com/users/damianavila","html_url":"https://github.com/damianavila","followers_url":"https://api.github.com/users/damianavila/followers","following_url":"https://api.github.com/users/damianavila/following{/other_user}","gists_url":"https://api.github.com/users/damianavila/gists{/gist_id}","starred_url":"https://api.github.com/users/damianavila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianavila/subscriptions","organizations_url":"https://api.github.com/users/damianavila/orgs","repos_url":"https://api.github.com/users/damianavila/repos","events_url":"https://api.github.com/users/damianavila/events{/privacy}","received_events_url":"https://api.github.com/users/damianavila/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T00:12:22Z","updated_at":"2015-05-26T00:12:22Z","body":"Check this PR: https://github.com/ipython-contrib/IPython-notebook-extensions/pull/218.\r\nIt works with some of the tools you want to play with..."}}