{"action":"created","issue":{"url":"https://api.github.com/repos/girder/girder/issues/918","labels_url":"https://api.github.com/repos/girder/girder/issues/918/labels{/name}","comments_url":"https://api.github.com/repos/girder/girder/issues/918/comments","events_url":"https://api.github.com/repos/girder/girder/issues/918/events","html_url":"https://github.com/girder/girder/pull/918","id":100603758,"number":918,"title":"[WIP] Add a basic, flexible job list widget","user":{"login":"zachmullen","id":555959,"avatar_url":"https://avatars.githubusercontent.com/u/555959?v=3","gravatar_id":"","url":"https://api.github.com/users/zachmullen","html_url":"https://github.com/zachmullen","followers_url":"https://api.github.com/users/zachmullen/followers","following_url":"https://api.github.com/users/zachmullen/following{/other_user}","gists_url":"https://api.github.com/users/zachmullen/gists{/gist_id}","starred_url":"https://api.github.com/users/zachmullen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachmullen/subscriptions","organizations_url":"https://api.github.com/users/zachmullen/orgs","repos_url":"https://api.github.com/users/zachmullen/repos","events_url":"https://api.github.com/users/zachmullen/events{/privacy}","received_events_url":"https://api.github.com/users/zachmullen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-12T18:19:43Z","updated_at":"2015-08-13T00:32:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/girder/girder/pulls/918","html_url":"https://github.com/girder/girder/pull/918","diff_url":"https://github.com/girder/girder/pull/918.diff","patch_url":"https://github.com/girder/girder/pull/918.patch"},"body":"And add an instance of it to show reverse-chronological jobs for\r\nthe currently-logged-in user in the user dropdown menu."},"comment":{"url":"https://api.github.com/repos/girder/girder/issues/comments/130490085","html_url":"https://github.com/girder/girder/pull/918#issuecomment-130490085","issue_url":"https://api.github.com/repos/girder/girder/issues/918","id":130490085,"user":{"login":"zachmullen","id":555959,"avatar_url":"https://avatars.githubusercontent.com/u/555959?v=3","gravatar_id":"","url":"https://api.github.com/users/zachmullen","html_url":"https://github.com/zachmullen","followers_url":"https://api.github.com/users/zachmullen/followers","following_url":"https://api.github.com/users/zachmullen/following{/other_user}","gists_url":"https://api.github.com/users/zachmullen/gists{/gist_id}","starred_url":"https://api.github.com/users/zachmullen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachmullen/subscriptions","organizations_url":"https://api.github.com/users/zachmullen/orgs","repos_url":"https://api.github.com/users/zachmullen/repos","events_url":"https://api.github.com/users/zachmullen/events{/privacy}","received_events_url":"https://api.github.com/users/zachmullen/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T00:32:41Z","updated_at":"2015-08-13T00:32:41Z","body":"> setting the desired columns from outside the widget is awkward, is there some better way that I don't know about?\r\n\r\nYeah, when I was experimenting with this I just changed the context:\r\n\r\n```\r\nwith (girder.views.jobs_JobListWidget.prototype.columnEnum) {\r\n    var cols = COLUMN_STATUS_ICON | COLUMN_TITLE;\r\n}\r\n\r\nnew girder.views.jobs_JobListWidget({\r\n    columns: cols,\r\n    ...\r\n});\r\n```\r\n\r\n> I'm getting the job update notification events, but it isn't adding anything to my jobs list for new jobs. Is there something else I need to do to? The tr.length is 0 for me in _statusChange.\r\n\r\nCurrently this is expected; it's only updating jobs that were already rendered. There are two ways we could achieve what you want, the easiest of which is to simply call\r\n\r\n    jobListWidget.collection.fetch(null, true);\r\n\r\nas soon as you know the new job has been created on the server.\r\n\r\nAs for your other requests, yes, those can certainly be done."}}