You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should provide a visual indicator to the user whether or not their current session has been verified, which is important because you cannot view E2EE messages without your device session being fully verified.
Design suggestion
The best place to display the user's verification status is as a small badge icon overlaid atop the user's profile picture. Currently the user's profile picture is just a placeholder (the gray "U" circle on the top left of the window), as the user profile/settings page hasn't yet been implemented.
We should place the badge here on the top-right corner of the user profile picture), like so:
Note that we also need to handle the case for the mobile UI, when the tab bar is at the bottom:
Then, when the user hovers over the badge/profile picture, we should display a tooltip that states the verification status, which is either "Verification unknown", "Unverified", or "Verified".
Implementation
Robrix already implements a way to receive a stream of updates about the user's verification state, it just doesn't do anything yet. This is basically a placeholder for this issue. See the code here:
Once the state transitions to Verified, we can break out of the loop and allow the async task to exit normally, since there is no reason to continue waiting on updates once we know we're verified.
The text was updated successfully, but these errors were encountered:
We should provide a visual indicator to the user whether or not their current session has been verified, which is important because you cannot view E2EE messages without your device session being fully verified.
Design suggestion
The best place to display the user's verification status is as a small badge icon overlaid atop the user's profile picture. Currently the user's profile picture is just a placeholder (the gray "U" circle on the top left of the window), as the user profile/settings page hasn't yet been implemented.

We should place the badge here on the top-right corner of the user profile picture), like so:

Note that we also need to handle the case for the mobile UI, when the tab bar is at the bottom:

Then, when the user hovers over the badge/profile picture, we should display a tooltip that states the verification status, which is either "Verification unknown", "Unverified", or "Verified".
Implementation
Robrix already implements a way to receive a stream of updates about the user's verification state, it just doesn't do anything yet. This is basically a placeholder for this issue. See the code here:
robrix/src/verification.rs
Lines 20 to 30 in 185459f
And then for the three possible
VerificationState
s, use icons like this:Unknown
: a gray shield with either a question mark icon (or no icon) within itUnverified
: a red shield with an exclamation mark icon within itVerified
: a green shield with a checkmark icon within itOnce the state transitions to
Verified
, we can break out of the loop and allow the async task to exit normally, since there is no reason to continue waiting on updates once we know we're verified.The text was updated successfully, but these errors were encountered: