{"action":"created","issue":{"url":"https://api.github.com/repos/stormpath/stormpath-sdk-react/issues/19","labels_url":"https://api.github.com/repos/stormpath/stormpath-sdk-react/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/stormpath/stormpath-sdk-react/issues/19/comments","events_url":"https://api.github.com/repos/stormpath/stormpath-sdk-react/issues/19/events","html_url":"https://github.com/stormpath/stormpath-sdk-react/pull/19","id":127128581,"number":19,"title":"Feature: Custom registration form","user":{"login":"typerandom","id":1331778,"avatar_url":"https://avatars.githubusercontent.com/u/1331778?v=3","gravatar_id":"","url":"https://api.github.com/users/typerandom","html_url":"https://github.com/typerandom","followers_url":"https://api.github.com/users/typerandom/followers","following_url":"https://api.github.com/users/typerandom/following{/other_user}","gists_url":"https://api.github.com/users/typerandom/gists{/gist_id}","starred_url":"https://api.github.com/users/typerandom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/typerandom/subscriptions","organizations_url":"https://api.github.com/users/typerandom/orgs","repos_url":"https://api.github.com/users/typerandom/repos","events_url":"https://api.github.com/users/typerandom/events{/privacy}","received_events_url":"https://api.github.com/users/typerandom/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/stormpath/stormpath-sdk-react/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/stormpath/stormpath-sdk-react/labels/needs%20review","name":"needs review","color":"e6e6e6"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-17T22:18:43Z","updated_at":"2016-01-26T20:38:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/stormpath/stormpath-sdk-react/pulls/19","html_url":"https://github.com/stormpath/stormpath-sdk-react/pull/19","diff_url":"https://github.com/stormpath/stormpath-sdk-react/pull/19.diff","patch_url":"https://github.com/stormpath/stormpath-sdk-react/pull/19.patch"},"body":"Adds the ability to customize the RegistrationForm component with own `onSubmit()` function and content markup.\r\n\r\nFor documentation, see: https://github.com/stormpath/stormpath-sdk-react/blob/feature-custom-registration-form/docs/api.md#registrationform\r\n\r\n#### How to verify\r\n\r\n1. Clone this repo and checkout this branch.\r\n2. Build this project by running `$ npm run build`.\r\n3. Run `$ npm link` to make this the module to link to when running `$ npm link react-stormpath`.\r\n4. Clone the [React example project](https://github.com/stormpath/stormpath-express-react-example).\r\n5. Run `$ npm link react-stormpath` to link to our SDK.\r\n6. Run `$ npm start` to host the example project.\r\n7. Open up your browser and navigate to [http://localhost:3000/](http://localhost:3000/).\r\n8. Navigate to the registration page and try to register.\r\n9. Customize the RegistrationForm on the RegistrationPage component according to the following docs: https://github.com/stormpath/stormpath-sdk-react/blob/feature-custom-registration-form/docs/api.md#registrationform.\r\n10. Repeat steps 6 to 8.\r\n\r\n#### Discussion\r\n\r\nRight now the component arguments `showWhen` and `replaceWith` are used to tag elements inside of the RegistrationForm. I feel that these are named pretty poorly, and would like to name them something more appropriately.\r\n\r\nAny ideas on what to name them are welcome."},"comment":{"url":"https://api.github.com/repos/stormpath/stormpath-sdk-react/issues/comments/175217803","html_url":"https://github.com/stormpath/stormpath-sdk-react/pull/19#issuecomment-175217803","issue_url":"https://api.github.com/repos/stormpath/stormpath-sdk-react/issues/19","id":175217803,"user":{"login":"typerandom","id":1331778,"avatar_url":"https://avatars.githubusercontent.com/u/1331778?v=3","gravatar_id":"","url":"https://api.github.com/users/typerandom","html_url":"https://github.com/typerandom","followers_url":"https://api.github.com/users/typerandom/followers","following_url":"https://api.github.com/users/typerandom/following{/other_user}","gists_url":"https://api.github.com/users/typerandom/gists{/gist_id}","starred_url":"https://api.github.com/users/typerandom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/typerandom/subscriptions","organizations_url":"https://api.github.com/users/typerandom/orgs","repos_url":"https://api.github.com/users/typerandom/repos","events_url":"https://api.github.com/users/typerandom/events{/privacy}","received_events_url":"https://api.github.com/users/typerandom/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T20:38:53Z","updated_at":"2016-01-26T20:38:53Z","body":"@timothyej Bump. Do you have any update on this PR? :)"}}