{"action":"created","issue":{"url":"https://api.github.com/repos/DirectEmployers/MyJobs/issues/2190","repository_url":"https://api.github.com/repos/DirectEmployers/MyJobs","labels_url":"https://api.github.com/repos/DirectEmployers/MyJobs/issues/2190/labels{/name}","comments_url":"https://api.github.com/repos/DirectEmployers/MyJobs/issues/2190/comments","events_url":"https://api.github.com/repos/DirectEmployers/MyJobs/issues/2190/events","html_url":"https://github.com/DirectEmployers/MyJobs/pull/2190","id":142458938,"number":2190,"title":"[PD-2230] Convert Myprofile Unit Pages to React","user":{"login":"lemniscate613","id":15107331,"avatar_url":"https://avatars.githubusercontent.com/u/15107331?v=3","gravatar_id":"","url":"https://api.github.com/users/lemniscate613","html_url":"https://github.com/lemniscate613","followers_url":"https://api.github.com/users/lemniscate613/followers","following_url":"https://api.github.com/users/lemniscate613/following{/other_user}","gists_url":"https://api.github.com/users/lemniscate613/gists{/gist_id}","starred_url":"https://api.github.com/users/lemniscate613/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lemniscate613/subscriptions","organizations_url":"https://api.github.com/users/lemniscate613/orgs","repos_url":"https://api.github.com/users/lemniscate613/repos","events_url":"https://api.github.com/users/lemniscate613/events{/privacy}","received_events_url":"https://api.github.com/users/lemniscate613/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-21T20:21:06Z","updated_at":"2016-03-21T20:45:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/DirectEmployers/MyJobs/pulls/2190","html_url":"https://github.com/DirectEmployers/MyJobs/pull/2190","diff_url":"https://github.com/DirectEmployers/MyJobs/pull/2190.diff","patch_url":"https://github.com/DirectEmployers/MyJobs/pull/2190.patch"},"body":"Summary\r\n=======\r\n\r\nThis PR leaves https://secure.my.jobs/profile/view/ (mostly) as is, but it moves the Add / Edit profile unit pages to React. [2174](https://directemployersfoundation.atlassian.net/browse/PD-2174) is a related ticket and addresses the API.\r\n\r\nBonus\r\n=====\r\n\r\nAlong the way we:\r\n\r\n* prove Django forms can be replaced with a combination of JSON (see @JLMcLaugh's [fork](https://github.com/DirectEmployers/django-remote-forms) of django-remote-forms) and a more configurable, dynamic list of React components.\r\n* implement five React Components (reusable in other apps) for the most common form fields (TextField, DateTime, Select, CheckBox, and TextArea -- located in `/gulp/src/common/ui`) which follow @misterjonscott's new form design standard. These are the result of conversations* between me, @darrint, @aspidites, and @misterjonscott. All Components use the HTML elements you'd expect, except Select, which is built from divs/lists and allows for styling:\r\n\r\n![screen shot 2016-03-21 at 3 49 26 pm](https://cloud.githubusercontent.com/assets/15107331/13932026/936b8b18-ef7c-11e5-9178-82830a9bbaa0.png)\r\n* implement FieldWrapper component to enforce specific design and layout of labels, help text, and error text.\r\n\r\nDiagram:\r\n\r\n![screen shot 2016-03-21 at 4 28 53 pm](https://cloud.githubusercontent.com/assets/15107331/13933143/0fdc902a-ef82-11e5-80a7-0b7e46272d6c.png)\r\n\r\nExample:\r\n\r\n![screen shot 2016-03-21 at 3 59 16 pm](https://cloud.githubusercontent.com/assets/15107331/13932335/f200598c-ef7d-11e5-9303-6fb6e31b46c8.png)\r\n\r\nReview\r\n======\r\n\r\nBuild with your favorite method, and visit: https://secure.my.jobs/profile/view/\r\n\r\nFootnotes\r\n========\r\n\r\n* Notes from that conversation:\r\n\r\n![0041907d-d266-40df-824e-3dc0b643cd7f](https://cloud.githubusercontent.com/assets/15107331/13933025/7ec25ebc-ef81-11e5-8c65-a1e4afb67e35.jpeg)"},"comment":{"url":"https://api.github.com/repos/DirectEmployers/MyJobs/issues/comments/199473509","html_url":"https://github.com/DirectEmployers/MyJobs/pull/2190#issuecomment-199473509","issue_url":"https://api.github.com/repos/DirectEmployers/MyJobs/issues/2190","id":199473509,"user":{"login":"tdphillips","id":3379265,"avatar_url":"https://avatars.githubusercontent.com/u/3379265?v=3","gravatar_id":"","url":"https://api.github.com/users/tdphillips","html_url":"https://github.com/tdphillips","followers_url":"https://api.github.com/users/tdphillips/followers","following_url":"https://api.github.com/users/tdphillips/following{/other_user}","gists_url":"https://api.github.com/users/tdphillips/gists{/gist_id}","starred_url":"https://api.github.com/users/tdphillips/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdphillips/subscriptions","organizations_url":"https://api.github.com/users/tdphillips/orgs","repos_url":"https://api.github.com/users/tdphillips/repos","events_url":"https://api.github.com/users/tdphillips/events{/privacy}","received_events_url":"https://api.github.com/users/tdphillips/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T20:45:39Z","updated_at":"2016-03-21T20:45:39Z","body":"We appear to have lost delete confirmations."}}