{"action":"opened","issue":{"url":"https://api.github.com/repos/OSC/shiny_admin/issues/35","repository_url":"https://api.github.com/repos/OSC/shiny_admin","labels_url":"https://api.github.com/repos/OSC/shiny_admin/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/OSC/shiny_admin/issues/35/comments","events_url":"https://api.github.com/repos/OSC/shiny_admin/issues/35/events","html_url":"https://github.com/OSC/shiny_admin/issues/35","id":382385665,"node_id":"MDU6SXNzdWUzODIzODU2NjU=","number":35,"title":"Add ability to edit dataset config file","user":{"login":"ericfranz","id":512333,"node_id":"MDQ6VXNlcjUxMjMzMw==","avatar_url":"https://avatars2.githubusercontent.com/u/512333?v=4","gravatar_id":"","url":"https://api.github.com/users/ericfranz","html_url":"https://github.com/ericfranz","followers_url":"https://api.github.com/users/ericfranz/followers","following_url":"https://api.github.com/users/ericfranz/following{/other_user}","gists_url":"https://api.github.com/users/ericfranz/gists{/gist_id}","starred_url":"https://api.github.com/users/ericfranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericfranz/subscriptions","organizations_url":"https://api.github.com/users/ericfranz/orgs","repos_url":"https://api.github.com/users/ericfranz/repos","events_url":"https://api.github.com/users/ericfranz/events{/privacy}","received_events_url":"https://api.github.com/users/ericfranz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-19T20:44:35Z","updated_at":"2018-11-19T20:44:35Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I think that a simple solution for now would be to add an edit button to the right of the dataset path on both the main page and the new mapping page. This would open the files app to that directory. Admins can then select the config file and edit that. Borrowing the icons from the job composer that would be glyphicon-edit and glyphicon-pencil.\r\n\r\n```html\r\n<a target=\"_blank\" class=\"btn btn-primary btn-xs\" href=\"URL_TO_OPEN_DATASET_DIR_IN_FILES_APP\"><span class=\"glyphicon glyphicon-edit\" aria-hidden=\"true\"></span> Edit files</a>\r\n<a target=\"_blank\" class=\"btn btn-info btn-xs\" href=\"URL_TO_OPEN_DATASET_CONFIG_IN_FILEEDITOR_APP\"><span class=\"glyphicon glyphicon-pencil\" aria-hidden=\"true\"></span> Edit config</a>\r\n```\r\n\r\n![screen 2018-11-19 at 3 42 28 pm](https://user-images.githubusercontent.com/512333/48733936-f7c0b180-ec11-11e8-9a60-ecd103d875dd.png)\r\n\r\n![screen 2018-11-19 at 3 43 48 pm](https://user-images.githubusercontent.com/512333/48733939-fa230b80-ec11-11e8-9124-db5f6e1152d5.png)\r\n\r\n\r\n"}}
{"actor":{"display_login":"ericfranz"}}