{"action":"created","issue":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4973","repository_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy","labels_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4973/labels{/name}","comments_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4973/comments","events_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4973/events","html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4973","id":192545515,"number":4973,"title":"Enable script menu only if script available","user":{"login":"dominikl","id":6575139,"avatar_url":"https://avatars.githubusercontent.com/u/6575139?v=3","gravatar_id":"","url":"https://api.github.com/users/dominikl","html_url":"https://github.com/dominikl","followers_url":"https://api.github.com/users/dominikl/followers","following_url":"https://api.github.com/users/dominikl/following{/other_user}","gists_url":"https://api.github.com/users/dominikl/gists{/gist_id}","starred_url":"https://api.github.com/users/dominikl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominikl/subscriptions","organizations_url":"https://api.github.com/users/dominikl/orgs","repos_url":"https://api.github.com/users/dominikl/repos","events_url":"https://api.github.com/users/dominikl/events{/privacy}","received_events_url":"https://api.github.com/users/dominikl/received_events","type":"User","site_admin":false},"labels":[{"id":12053304,"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/labels/develop","name":"develop","color":"02e10c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-11-30T11:47:48Z","updated_at":"2016-12-01T11:04:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4973","html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4973","diff_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4973.diff","patch_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4973.patch"},"body":"# What this PR does\r\n\r\nDisables script menus (\"Publishing Options\") when the respective script is not available.\r\n\r\n![screen shot 2016-11-30 at 11 40 27](https://cloud.githubusercontent.com/assets/6575139/20751248/b1abfd0e-b6f2-11e6-9169-d13ef236c6a6.png)\r\n\r\n# Testing this PR\r\n\r\nIteratively delete the scripts `Make_Movie.py`, `Thumbnail_Figure.py` and `Split_View_Figure.py` from the server and after each deletion make sure that the respective \"Publishing\" menu option is disabled. \r\n\r\n# Related reading\r\n\r\n[Trello - Figure scripts in Web](https://trello.com/c/237BjWLJ/228-figure-scripts-in-web)\r\n\r\n/cc @will-moore \r\n"},"comment":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/comments/264143322","html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4973#issuecomment-264143322","issue_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4973","id":264143322,"user":{"login":"dominikl","id":6575139,"avatar_url":"https://avatars.githubusercontent.com/u/6575139?v=3","gravatar_id":"","url":"https://api.github.com/users/dominikl","html_url":"https://github.com/dominikl","followers_url":"https://api.github.com/users/dominikl/followers","following_url":"https://api.github.com/users/dominikl/following{/other_user}","gists_url":"https://api.github.com/users/dominikl/gists{/gist_id}","starred_url":"https://api.github.com/users/dominikl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominikl/subscriptions","organizations_url":"https://api.github.com/users/dominikl/orgs","repos_url":"https://api.github.com/users/dominikl/repos","events_url":"https://api.github.com/users/dominikl/events{/privacy}","received_events_url":"https://api.github.com/users/dominikl/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T11:04:07Z","updated_at":"2016-12-01T11:04:07Z","body":"There's clearly some mix up here. On http://web-dev-merge.openmicroscopy.org/webclient/ there the figure scripts are missing (only `Make ROI figure` is available there), so disabling the publishing options is correct.. Does web-dev-merge really connect to eel?\r\n\r\n![screen shot 2016-12-01 at 11 01 07](https://cloud.githubusercontent.com/assets/6575139/20791598/b6052b8c-b7b5-11e6-949f-f021fdf46ae9.png)\r\n"}}
{"actor":{"display_login":"dominikl"}}