payload: {"action":"created","issue":{"url":"https://api.github.com/repos/zooniverse/front-end-monorepo/issues/1239","repository_url":"https://api.github.com/repos/zooniverse/front-end-monorepo","labels_url":"https://api.github.com/repos/zooniverse/front-end-monorepo/issues/1239/labels{/name}","comments_url":"https://api.github.com/repos/zooniverse/front-end-monorepo/issues/1239/comments","events_url":"https://api.github.com/repos/zooniverse/front-end-monorepo/issues/1239/events","html_url":"https://github.com/zooniverse/front-end-monorepo/issues/1239","id":508320282,"node_id":"MDU6SXNzdWU1MDgzMjAyODI=","number":1239,"title":"RFC: Support annotations for drawing subtasks","user":{"login":"eatyourgreens","id":59547,"node_id":"MDQ6VXNlcjU5NTQ3","avatar_url":"https://avatars3.githubusercontent.com/u/59547?v=4","gravatar_id":"","url":"https://api.github.com/users/eatyourgreens","html_url":"https://github.com/eatyourgreens","followers_url":"https://api.github.com/users/eatyourgreens/followers","following_url":"https://api.github.com/users/eatyourgreens/following{/other_user}","gists_url":"https://api.github.com/users/eatyourgreens/gists{/gist_id}","starred_url":"https://api.github.com/users/eatyourgreens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eatyourgreens/subscriptions","organizations_url":"https://api.github.com/users/eatyourgreens/orgs","repos_url":"https://api.github.com/users/eatyourgreens/repos","events_url":"https://api.github.com/users/eatyourgreens/events{/privacy}","received_events_url":"https://api.github.com/users/eatyourgreens/received_events","type":"User","site_admin":false},"labels":[{"id":1165513878,"node_id":"MDU6TGFiZWwxMTY1NTEzODc4","url":"https://api.github.com/repos/zooniverse/front-end-monorepo/labels/discussion","name":"discussion","color":"0cdb08","default":false},{"id":903182902,"node_id":"MDU6TGFiZWw5MDMxODI5MDI=","url":"https://api.github.com/repos/zooniverse/front-end-monorepo/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"open","locked":false,"assignee":{"login":"eatyourgreens","id":59547,"node_id":"MDQ6VXNlcjU5NTQ3","avatar_url":"https://avatars3.githubusercontent.com/u/59547?v=4","gravatar_id":"","url":"https://api.github.com/users/eatyourgreens","html_url":"https://github.com/eatyourgreens","followers_url":"https://api.github.com/users/eatyourgreens/followers","following_url":"https://api.github.com/users/eatyourgreens/following{/other_user}","gists_url":"https://api.github.com/users/eatyourgreens/gists{/gist_id}","starred_url":"https://api.github.com/users/eatyourgreens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eatyourgreens/subscriptions","organizations_url":"https://api.github.com/users/eatyourgreens/orgs","repos_url":"https://api.github.com/users/eatyourgreens/repos","events_url":"https://api.github.com/users/eatyourgreens/events{/privacy}","received_events_url":"https://api.github.com/users/eatyourgreens/received_events","type":"User","site_admin":false},"assignees":[{"login":"eatyourgreens","id":59547,"node_id":"MDQ6VXNlcjU5NTQ3","avatar_url":"https://avatars3.githubusercontent.com/u/59547?v=4","gravatar_id":"","url":"https://api.github.com/users/eatyourgreens","html_url":"https://github.com/eatyourgreens","followers_url":"https://api.github.com/users/eatyourgreens/followers","following_url":"https://api.github.com/users/eatyourgreens/following{/other_user}","gists_url":"https://api.github.com/users/eatyourgreens/gists{/gist_id}","starred_url":"https://api.github.com/users/eatyourgreens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eatyourgreens/subscriptions","organizations_url":"https://api.github.com/users/eatyourgreens/orgs","repos_url":"https://api.github.com/users/eatyourgreens/repos","events_url":"https://api.github.com/users/eatyourgreens/events{/privacy}","received_events_url":"https://api.github.com/users/eatyourgreens/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/zooniverse/front-end-monorepo/milestones/25","html_url":"https://github.com/zooniverse/front-end-monorepo/milestone/25","labels_url":"https://api.github.com/repos/zooniverse/front-end-monorepo/milestones/25/labels","id":4777924,"node_id":"MDk6TWlsZXN0b25lNDc3NzkyNA==","number":25,"title":"CSSI / IMLS sprint 2","description":"Second sprint of work for the CSSI / IMLS grants; current due date is open for change...","creator":{"login":"rogerhutchings","id":2725841,"node_id":"MDQ6VXNlcjI3MjU4NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/2725841?v=4","gravatar_id":"","url":"https://api.github.com/users/rogerhutchings","html_url":"https://github.com/rogerhutchings","followers_url":"https://api.github.com/users/rogerhutchings/followers","following_url":"https://api.github.com/users/rogerhutchings/following{/other_user}","gists_url":"https://api.github.com/users/rogerhutchings/gists{/gist_id}","starred_url":"https://api.github.com/users/rogerhutchings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogerhutchings/subscriptions","organizations_url":"https://api.github.com/users/rogerhutchings/orgs","repos_url":"https://api.github.com/users/rogerhutchings/repos","events_url":"https://api.github.com/users/rogerhutchings/events{/privacy}","received_events_url":"https://api.github.com/users/rogerhutchings/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":0,"state":"open","created_at":"2019-10-23T16:10:31Z","updated_at":"2019-11-14T15:03:23Z","due_on":"2020-01-17T08:00:00Z","closed_at":null},"comments":2,"created_at":"2019-10-17T08:33:21Z","updated_at":"2019-11-14T15:05:10Z","closed_at":null,"author_association":"MEMBER","body":"**Package**\r\nlib-classifier\r\n\r\n**Is your feature request related to a problem? Please describe.**\r\nhttps://github.com/zooniverse/front-end-monorepo/blob/1edd001edb31550a023f51b1aa15bbe70e675b3b/packages/lib-classifier/src/store/tasks/Task.js#L7-L26\r\nTask models get their annotations from the classifications store and call `classifications.addAnnotation(value, task)` on update. It should be possible to change both of those depending on the task context (workflow task or drawing subtask.)\r\n\r\n**Describe the solution you'd like**\r\nTasks should be agnostic about where their annotations come from. I think the task view component could have `annotation` and `onComplete` (or `onChange`?) as props. The task area would pass in the annotation from the classification, and `classifications.addAnnotation` as the callback. Drawing subtasks would pass in the annotation from the drawing mark, and a callback that updates the drawing tool annotation.\r\n\r\nThere might be better solutions which involve passing context to the task model instead, so I'm opening this issue for discussion. Is there a way to replace `getRoot(self).classifications` with something more flexible in the Task model code?"},"comment":{"url":"https://api.github.com/repos/zooniverse/front-end-monorepo/issues/comments/553927542","html_url":"https://github.com/zooniverse/front-end-monorepo/issues/1239#issuecomment-553927542","issue_url":"https://api.github.com/repos/zooniverse/front-end-monorepo/issues/1239","id":553927542,"node_id":"MDEyOklzc3VlQ29tbWVudDU1MzkyNzU0Mg==","user":{"login":"srallen","id":5016731,"node_id":"MDQ6VXNlcjUwMTY3MzE=","avatar_url":"https://avatars1.githubusercontent.com/u/5016731?v=4","gravatar_id":"","url":"https://api.github.com/users/srallen","html_url":"https://github.com/srallen","followers_url":"https://api.github.com/users/srallen/followers","following_url":"https://api.github.com/users/srallen/following{/other_user}","gists_url":"https://api.github.com/users/srallen/gists{/gist_id}","starred_url":"https://api.github.com/users/srallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srallen/subscriptions","organizations_url":"https://api.github.com/users/srallen/orgs","repos_url":"https://api.github.com/users/srallen/repos","events_url":"https://api.github.com/users/srallen/events{/privacy}","received_events_url":"https://api.github.com/users/srallen/received_events","type":"User","site_admin":false},"created_at":"2019-11-14T15:05:10Z","updated_at":"2019-11-14T15:05:10Z","author_association":"MEMBER","body":"For the UI, the subtask will no longer be anchored to the drawing mark anymore and should be a movable div area so that volunteers can see areas of the image as needed. This is based on feedback primarily from humanities/transcription projects. "}}
other: {"actor":{"display_login":"srallen"}}