Skip to content

Improve history UISI Display #74

@BillCarsonFr

Description

@BillCarsonFr

Problem description

Currently if you login a new session, all the history messages retrieved via initial sync will be in Error with **unable to decrypt** errors for all messages in timeline.

If the user did verify his session and have a keybackup, a backup import should be happening in background. But during this process the messages would still be displayed with hugly errors. Even key gossiping with the other session could take time.

Actual rendering:
image

Proposal

We should hide undecryptable history if we know that there is no chance for the current device to get the key without a user action (verify, manual import..)
We should hide history while a key backup is in progress, and give feedback on the import process
The user should have an option to show history anyway

image

If the session is verified and the user already did a key import, or if he decided to show message anyway, or if this room is setup to share room key history, we should then show them, but the error level should lowered and a dismissable banner should be shown with details and CTA

image

We should also give feedbacks to the user about the key gossiping process, currently for the user it's like a shot in the dark (re-request encryption keys)

image

Dev Tasks

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions