{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/whitehall/issues/2603","repository_url":"https://api.github.com/repos/alphagov/whitehall","labels_url":"https://api.github.com/repos/alphagov/whitehall/issues/2603/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/whitehall/issues/2603/comments","events_url":"https://api.github.com/repos/alphagov/whitehall/issues/2603/events","html_url":"https://github.com/alphagov/whitehall/pull/2603","id":155936498,"number":2603,"title":"Add helper copy to admin attachments interface","user":{"login":"tvararu","id":1650875,"avatar_url":"https://avatars.githubusercontent.com/u/1650875?v=3","gravatar_id":"","url":"https://api.github.com/users/tvararu","html_url":"https://github.com/tvararu","followers_url":"https://api.github.com/users/tvararu/followers","following_url":"https://api.github.com/users/tvararu/following{/other_user}","gists_url":"https://api.github.com/users/tvararu/gists{/gist_id}","starred_url":"https://api.github.com/users/tvararu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tvararu/subscriptions","organizations_url":"https://api.github.com/users/tvararu/orgs","repos_url":"https://api.github.com/users/tvararu/repos","events_url":"https://api.github.com/users/tvararu/events{/privacy}","received_events_url":"https://api.github.com/users/tvararu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-20T10:47:38Z","updated_at":"2016-05-24T09:43:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alphagov/whitehall/pulls/2603","html_url":"https://github.com/alphagov/whitehall/pull/2603","diff_url":"https://github.com/alphagov/whitehall/pull/2603.diff","patch_url":"https://github.com/alphagov/whitehall/pull/2603.patch"},"body":"Attachments don't work consistently across all formats. While experienced publishers know this, we sometimes get support requests from users confused as to why their attachments are not displaying.\r\n\r\nThis commit aims to improve the situation ever so slightly with some copy.\r\n\r\nRelevant Trello ticket (2ndline):\r\nhttps://trello.com/c/XeE6aw32/156-improve-whitehall-publisher-attachment-copy\r\n\r\nThis isn't an ideal solution, as helper copy like this tends to be ignored.\r\n\r\nI was thinking that in addition to this, the edit interface could actively scan the `body` field for input, and detect (using JavaScript) whether the user has or has not referenced all the attachments, and provide a yellow warning banner close to the submit button when not. Since this is a more involved solution, I'm curious if others think it's worth building.\r\n\r\nFeel free to suggest copy improvements or testing improvements. Whitehall doesn't have Capybara integration tests similar to this one, so I'm not sure if it's in the right place or why it doesn't have any in the first place.\r\n\r\n# Screenshots\r\n\r\n![screen shot 2016-05-20 at 11 40 27](https://cloud.githubusercontent.com/assets/1650875/15425608/3e57768a-1e81-11e6-8048-8af49ec4fa99.png)\r\n![screen shot 2016-05-20 at 11 40 32](https://cloud.githubusercontent.com/assets/1650875/15425609/3e57de0e-1e81-11e6-9aca-204390ac02e7.png)\r\n"},"comment":{"url":"https://api.github.com/repos/alphagov/whitehall/issues/comments/221218733","html_url":"https://github.com/alphagov/whitehall/pull/2603#issuecomment-221218733","issue_url":"https://api.github.com/repos/alphagov/whitehall/issues/2603","id":221218733,"user":{"login":"tvararu","id":1650875,"avatar_url":"https://avatars.githubusercontent.com/u/1650875?v=3","gravatar_id":"","url":"https://api.github.com/users/tvararu","html_url":"https://github.com/tvararu","followers_url":"https://api.github.com/users/tvararu/followers","following_url":"https://api.github.com/users/tvararu/following{/other_user}","gists_url":"https://api.github.com/users/tvararu/gists{/gist_id}","starred_url":"https://api.github.com/users/tvararu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tvararu/subscriptions","organizations_url":"https://api.github.com/users/tvararu/orgs","repos_url":"https://api.github.com/users/tvararu/repos","events_url":"https://api.github.com/users/tvararu/events{/privacy}","received_events_url":"https://api.github.com/users/tvararu/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T09:43:50Z","updated_at":"2016-05-24T09:43:50Z","body":"Going to merge this. Copy changes are trivial to add later, if necessary."}}
{"actor":{"display_login":"tvararu"}}