Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dehydrate and rehydrate devices #1436

Merged
merged 18 commits into from
Oct 5, 2020
Merged

Conversation

uhoreg
Copy link
Member

@uhoreg uhoreg commented Aug 4, 2020

@uhoreg uhoreg marked this pull request as draft August 4, 2020 20:50
@uhoreg uhoreg marked this pull request as ready for review September 30, 2020 05:18
@uhoreg uhoreg requested a review from a team September 30, 2020 05:19
@uhoreg uhoreg changed the title [WIP] dehydrate and rehydrate devices dehydrate and rehydrate devices Sep 30, 2020
@jryans jryans changed the title dehydrate and rehydrate devices Dehydrate and rehydrate devices Sep 30, 2020
Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, looking good, but a few questions to resolve.

src/client.js Outdated Show resolved Hide resolved
src/crypto/dehydration.ts Outdated Show resolved Hide resolved
undefined,
{
device_data: deviceData,
// FIXME: initial device name?
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we do need some kind of device name, or else do something special to handle it differently in the device list. It's quite perplexing to see a blank device in the device list. I'd suggest checking with Nad about this.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Have punted this to the react-sdk layer)

@uhoreg uhoreg requested a review from jryans September 30, 2020 23:23
Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this side looks good to me! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants