15088: Updates state to account for both types of linking and adds UI
authorEric Biagiotti <ebiagiotti@veritasgenetics.com>
Mon, 29 Apr 2019 19:28:58 +0000 (15:28 -0400)
committerEric Biagiotti <ebiagiotti@veritasgenetics.com>
Mon, 29 Apr 2019 19:28:58 +0000 (15:28 -0400)
commit6e2546d78a606e19fc974b5e4443880cf6da282a
tree365246cf32036838c70b2bcdcf9e0a7062ef4f9f
parentbc9df86de8ce648f14193315f037ca4a2b119773
15088: Updates state to account for both types of linking and adds UI

- Simplifies user type in the link-account-panel to only be a UserResource, and subsequently removes createdAt from the auth user.
- Switches users back to the originating user when account linking is cancelled after logging on with the second account.

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com
src/models/link-account.ts
src/models/user.ts
src/services/auth-service/auth-service.ts
src/store/auth/auth-action-session.ts
src/store/auth/auth-action.ts
src/store/auth/auth-reducer.test.ts
src/store/auth/auth-reducer.ts
src/store/link-account-panel/link-account-panel-actions.ts
src/store/link-account-panel/link-account-panel-reducer.ts
src/views/link-account-panel/link-account-panel-root.tsx
src/views/link-account-panel/link-account-panel.tsx