{"action":"created","issue":{"url":"https://api.github.com/repos/stateofca/dlite-web/issues/572","repository_url":"https://api.github.com/repos/stateofca/dlite-web","labels_url":"https://api.github.com/repos/stateofca/dlite-web/issues/572/labels{/name}","comments_url":"https://api.github.com/repos/stateofca/dlite-web/issues/572/comments","events_url":"https://api.github.com/repos/stateofca/dlite-web/issues/572/events","html_url":"https://github.com/stateofca/dlite-web/pull/572","id":310553903,"number":572,"title":"Open apps page","user":{"login":"kyliepace","id":18020707,"avatar_url":"https://avatars2.githubusercontent.com/u/18020707?v=4","gravatar_id":"","url":"https://api.github.com/users/kyliepace","html_url":"https://github.com/kyliepace","followers_url":"https://api.github.com/users/kyliepace/followers","following_url":"https://api.github.com/users/kyliepace/following{/other_user}","gists_url":"https://api.github.com/users/kyliepace/gists{/gist_id}","starred_url":"https://api.github.com/users/kyliepace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyliepace/subscriptions","organizations_url":"https://api.github.com/users/kyliepace/orgs","repos_url":"https://api.github.com/users/kyliepace/repos","events_url":"https://api.github.com/users/kyliepace/events{/privacy}","received_events_url":"https://api.github.com/users/kyliepace/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-02T17:49:25Z","updated_at":"2018-04-02T20:11:10Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/stateofca/dlite-web/pulls/572","html_url":"https://github.com/stateofca/dlite-web/pull/572","diff_url":"https://github.com/stateofca/dlite-web/pull/572.diff","patch_url":"https://github.com/stateofca/dlite-web/pull/572.patch"},"body":"- successful login sends user id to client apply/logged-in/:user url (note: I think it will be better to send all of user data to client at this point, but I left the existing res.redirect for now)\r\n\r\n- client makes fetch to api to get status of all apps associated with user ID in db\r\n\r\n- if client has only one open app, page redirects to legal name page\r\n\r\n- if client has multiple open apps, page redirects to /apply/open-apps page\r\n\r\n- /apply/open-apps page maps all the apps and has a PageSummaryLink button that calls handlers.onFlowChange when clicked and links to the legal name page for the selected app.\r\n\r\n- modified postData dispatch to include the user ID in the req.body\r\n\r\n- things got a little big boggy when dealing with how to use PageSummaryLink to update state so that user is on correct app flow experience if getting both new ID and new DL. the standard behavior is to pass the first value in the cardType array to the redux state. However, there is one situation in which the flow can include both cards at the same time, when the user is getting both new ID and DL. \r\nI added logic to pass ['ID', 'DL'] to the array if both of these cards are new. \r\nThe state.application.cardType and state.application.cardAction states should probably be moved to the ui section."},"comment":{"url":"https://api.github.com/repos/stateofca/dlite-web/issues/comments/378029892","html_url":"https://github.com/stateofca/dlite-web/pull/572#issuecomment-378029892","issue_url":"https://api.github.com/repos/stateofca/dlite-web/issues/572","id":378029892,"user":{"login":"kyliepace","id":18020707,"avatar_url":"https://avatars2.githubusercontent.com/u/18020707?v=4","gravatar_id":"","url":"https://api.github.com/users/kyliepace","html_url":"https://github.com/kyliepace","followers_url":"https://api.github.com/users/kyliepace/followers","following_url":"https://api.github.com/users/kyliepace/following{/other_user}","gists_url":"https://api.github.com/users/kyliepace/gists{/gist_id}","starred_url":"https://api.github.com/users/kyliepace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyliepace/subscriptions","organizations_url":"https://api.github.com/users/kyliepace/orgs","repos_url":"https://api.github.com/users/kyliepace/repos","events_url":"https://api.github.com/users/kyliepace/events{/privacy}","received_events_url":"https://api.github.com/users/kyliepace/received_events","type":"User","site_admin":false},"created_at":"2018-04-02T20:11:10Z","updated_at":"2018-04-02T20:11:10Z","author_association":"COLLABORATOR","body":"this is passing locally and failing on travis"}}
{"actor":{"display_login":"kyliepace"}}