{"action":"created","issue":{"url":"https://api.github.com/repos/colinxfleming/dcaf_case_management/issues/203","repository_url":"https://api.github.com/repos/colinxfleming/dcaf_case_management","labels_url":"https://api.github.com/repos/colinxfleming/dcaf_case_management/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/colinxfleming/dcaf_case_management/issues/203/comments","events_url":"https://api.github.com/repos/colinxfleming/dcaf_case_management/issues/203/events","html_url":"https://github.com/colinxfleming/dcaf_case_management/issues/203","id":144126274,"number":203,"title":"Pledge submission validation and error checks","user":{"login":"adinneen","id":12372787,"avatar_url":"https://avatars.githubusercontent.com/u/12372787?v=3","gravatar_id":"","url":"https://api.github.com/users/adinneen","html_url":"https://github.com/adinneen","followers_url":"https://api.github.com/users/adinneen/followers","following_url":"https://api.github.com/users/adinneen/following{/other_user}","gists_url":"https://api.github.com/users/adinneen/gists{/gist_id}","starred_url":"https://api.github.com/users/adinneen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adinneen/subscriptions","organizations_url":"https://api.github.com/users/adinneen/orgs","repos_url":"https://api.github.com/users/adinneen/repos","events_url":"https://api.github.com/users/adinneen/events{/privacy}","received_events_url":"https://api.github.com/users/adinneen/received_events","type":"User","site_admin":false},"labels":[{"id":309128397,"url":"https://api.github.com/repos/colinxfleming/dcaf_case_management/labels/backend","name":"backend","color":"c7def8","default":false},{"id":306414112,"url":"https://api.github.com/repos/colinxfleming/dcaf_case_management/labels/frontend","name":"frontend","color":"207de5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/colinxfleming/dcaf_case_management/milestones/12","html_url":"https://github.com/colinxfleming/dcaf_case_management/milestones/Sprint%2012:%20Call%20lines,%20reporting%20features","labels_url":"https://api.github.com/repos/colinxfleming/dcaf_case_management/milestones/12/labels","id":2078970,"number":12,"title":"Sprint 12: Call lines, reporting features","description":"","creator":{"login":"colinxfleming","id":3866868,"avatar_url":"https://avatars.githubusercontent.com/u/3866868?v=3","gravatar_id":"","url":"https://api.github.com/users/colinxfleming","html_url":"https://github.com/colinxfleming","followers_url":"https://api.github.com/users/colinxfleming/followers","following_url":"https://api.github.com/users/colinxfleming/following{/other_user}","gists_url":"https://api.github.com/users/colinxfleming/gists{/gist_id}","starred_url":"https://api.github.com/users/colinxfleming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinxfleming/subscriptions","organizations_url":"https://api.github.com/users/colinxfleming/orgs","repos_url":"https://api.github.com/users/colinxfleming/repos","events_url":"https://api.github.com/users/colinxfleming/events{/privacy}","received_events_url":"https://api.github.com/users/colinxfleming/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":1,"state":"open","created_at":"2016-10-19T05:19:50Z","updated_at":"2016-10-22T05:28:29Z","due_on":"2016-10-31T00:00:00Z","closed_at":null},"comments":13,"created_at":"2016-03-29T01:17:52Z","updated_at":"2016-10-29T19:44:40Z","closed_at":null,"body":"\r\n\r\n@lwaldsc The only error check required is when the person goes to submit the pledge.  Required fields there include: \r\n\r\nA nice to have would also be error checks for clinics.  Some clinics have strict guidelines for how along in a pregnancy a person is.  Would be great to build that logic in so a case worker knows instantly if that person will be eligible at that clinic. "},"comment":{"url":"https://api.github.com/repos/colinxfleming/dcaf_case_management/issues/comments/257111861","html_url":"https://github.com/colinxfleming/dcaf_case_management/issues/203#issuecomment-257111861","issue_url":"https://api.github.com/repos/colinxfleming/dcaf_case_management/issues/203","id":257111861,"user":{"login":"colinxfleming","id":3866868,"avatar_url":"https://avatars.githubusercontent.com/u/3866868?v=3","gravatar_id":"","url":"https://api.github.com/users/colinxfleming","html_url":"https://github.com/colinxfleming","followers_url":"https://api.github.com/users/colinxfleming/followers","following_url":"https://api.github.com/users/colinxfleming/following{/other_user}","gists_url":"https://api.github.com/users/colinxfleming/gists{/gist_id}","starred_url":"https://api.github.com/users/colinxfleming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinxfleming/subscriptions","organizations_url":"https://api.github.com/users/colinxfleming/orgs","repos_url":"https://api.github.com/users/colinxfleming/repos","events_url":"https://api.github.com/users/colinxfleming/events{/privacy}","received_events_url":"https://api.github.com/users/colinxfleming/received_events","type":"User","site_admin":false},"created_at":"2016-10-29T19:44:40Z","updated_at":"2016-10-29T19:44:40Z","body":"Plan of attack:\r\n\r\nBackend:\r\n- [ ] Validate `Prengnacy#pledge_sent` such that someone cannot mark it true if the following are null:\r\n* Name\r\n* DCAF soft Pledge amount\r\n* Clinic\r\n* Appointment date\r\n\r\nFrontend ( @mebates please approve): \r\n- [ ] Add an `errors` section to the `Create Pledge` modal with (an MVP of this that does it based on moment of page load is fine)\r\n- [ ] Prevent people from clicking continue if the fields above are not filled out (an MVP of this that does it based on page load is fine, bonus points if you check dynamically)\r\n\r\nTest:\r\n- [ ] Model tests confirming validation behavior\r\n- [ ] An integration test confirming frontend behavior"}}
{"actor":{"display_login":"colinxfleming"}}