{"action":"created","issue":{"url":"https://api.github.com/repos/OriginProtocol/origin-dapp/issues/415","repository_url":"https://api.github.com/repos/OriginProtocol/origin-dapp","labels_url":"https://api.github.com/repos/OriginProtocol/origin-dapp/issues/415/labels{/name}","comments_url":"https://api.github.com/repos/OriginProtocol/origin-dapp/issues/415/comments","events_url":"https://api.github.com/repos/OriginProtocol/origin-dapp/issues/415/events","html_url":"https://github.com/OriginProtocol/origin-dapp/issues/415","id":351602499,"node_id":"MDU6SXNzdWUzNTE2MDI0OTk=","number":415,"title":"Maintain Input Values In State","user":{"login":"micahalcorn","id":273937,"node_id":"MDQ6VXNlcjI3MzkzNw==","avatar_url":"https://avatars1.githubusercontent.com/u/273937?v=4","gravatar_id":"","url":"https://api.github.com/users/micahalcorn","html_url":"https://github.com/micahalcorn","followers_url":"https://api.github.com/users/micahalcorn/followers","following_url":"https://api.github.com/users/micahalcorn/following{/other_user}","gists_url":"https://api.github.com/users/micahalcorn/gists{/gist_id}","starred_url":"https://api.github.com/users/micahalcorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micahalcorn/subscriptions","organizations_url":"https://api.github.com/users/micahalcorn/orgs","repos_url":"https://api.github.com/users/micahalcorn/repos","events_url":"https://api.github.com/users/micahalcorn/events{/privacy}","received_events_url":"https://api.github.com/users/micahalcorn/received_events","type":"User","site_admin":false},"labels":[{"id":1014836131,"node_id":"MDU6TGFiZWwxMDE0ODM2MTMx","url":"https://api.github.com/repos/OriginProtocol/origin-dapp/labels/dapp","name":"dapp","color":"495C72","default":false},{"id":659815744,"node_id":"MDU6TGFiZWw2NTk4MTU3NDQ=","url":"https://api.github.com/repos/OriginProtocol/origin-dapp/labels/enhancement","name":"enhancement","color":"a2eeef","default":true},{"id":659815745,"node_id":"MDU6TGFiZWw2NTk4MTU3NDU=","url":"https://api.github.com/repos/OriginProtocol/origin-dapp/labels/help%20wanted","name":"help wanted","color":"008672","default":true},{"id":901989185,"node_id":"MDU6TGFiZWw5MDE5ODkxODU=","url":"https://api.github.com/repos/OriginProtocol/origin-dapp/labels/javascript","name":"javascript","color":"F0DB4F","default":false},{"id":1014845695,"node_id":"MDU6TGFiZWwxMDE0ODQ1Njk1","url":"https://api.github.com/repos/OriginProtocol/origin-dapp/labels/messaging","name":"messaging","color":"523DD5","default":false},{"id":800011799,"node_id":"MDU6TGFiZWw4MDAwMTE3OTk=","url":"https://api.github.com/repos/OriginProtocol/origin-dapp/labels/ui/ux","name":"ui/ux","color":"26d198","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-17T13:50:03Z","updated_at":"2018-08-17T16:44:45Z","closed_at":null,"author_association":"MEMBER","body":"The conversation textarea is an uncontrolled component because this was the easiest way to intercept the return key and force a form submission. As a consequence, the element's value is either maintained across all conversations until changed/submitted or [currently] it clears when a user toggles to a different conversation. If I type something in conversation A and then navigate to conversation B before submitting the form, my incomplete message should remain intact when I return to conversation A. There may be a broader concern of navigating completely away from messages/conversations (to listings, for example) and losing the textarea value. The same could apply to listing creation, which can easily be lost. Perhaps some forms should be controlled by redux state at the app level."},"comment":{"url":"https://api.github.com/repos/OriginProtocol/origin-dapp/issues/comments/413923677","html_url":"https://github.com/OriginProtocol/origin-dapp/issues/415#issuecomment-413923677","issue_url":"https://api.github.com/repos/OriginProtocol/origin-dapp/issues/415","id":413923677,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzkyMzY3Nw==","user":{"login":"jordajm","id":5402813,"node_id":"MDQ6VXNlcjU0MDI4MTM=","avatar_url":"https://avatars0.githubusercontent.com/u/5402813?v=4","gravatar_id":"","url":"https://api.github.com/users/jordajm","html_url":"https://github.com/jordajm","followers_url":"https://api.github.com/users/jordajm/followers","following_url":"https://api.github.com/users/jordajm/following{/other_user}","gists_url":"https://api.github.com/users/jordajm/gists{/gist_id}","starred_url":"https://api.github.com/users/jordajm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordajm/subscriptions","organizations_url":"https://api.github.com/users/jordajm/orgs","repos_url":"https://api.github.com/users/jordajm/repos","events_url":"https://api.github.com/users/jordajm/events{/privacy}","received_events_url":"https://api.github.com/users/jordajm/received_events","type":"User","site_admin":false},"created_at":"2018-08-17T16:44:45Z","updated_at":"2018-08-17T16:44:45Z","author_association":"MEMBER","body":"To prevent data loss from user navigation on the listing create form, we might want to add a message when the user tries to navigate away from the workflow that warns them that they may lose data if they don't complete the workflow."}}
{"actor":{"display_login":"jordajm"}}