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

Element-R: Progress display for migration to Rust crypto #26773

Closed
Tracked by #26678
richvdh opened this issue Dec 15, 2023 · 1 comment · Fixed by matrix-org/matrix-react-sdk#12104
Closed
Tracked by #26678
Assignees
Labels
A-Element-R Issues affecting the port of Element's crypto layer to Rust T-Enhancement Z-Labs

Comments

@richvdh
Copy link
Member

richvdh commented Dec 15, 2023

Part of migration to Rust Crypto. Once the user initiates a migration (#26772), the app will reload and begin moving data over. We should display feedback to the user about progress.

In MatrixChat.render, there is code for handling the state this.state.view === Views.LOGGED_IN && !this.state.ready. Refactor this to a new component. Have it listen for the crypto.dataMigrationProgress event, and when one is received, replace the spinner with some words and a ProgressBar.

@richvdh richvdh added the A-Element-R Issues affecting the port of Element's crypto layer to Rust label Dec 15, 2023
@richvdh richvdh self-assigned this Jan 2, 2024
@richvdh
Copy link
Member Author

richvdh commented Jan 2, 2024

Design at element-hq/element-meta#263

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Element-R Issues affecting the port of Element's crypto layer to Rust T-Enhancement Z-Labs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants