Skip to content

Apply new design and display logic to logout confirmation dialog#33426

Draft
uhoreg wants to merge 3 commits intoelement-hq:developfrom
uhoreg:logout_dialog_redesign
Draft

Apply new design and display logic to logout confirmation dialog#33426
uhoreg wants to merge 3 commits intoelement-hq:developfrom
uhoreg:logout_dialog_redesign

Conversation

@uhoreg
Copy link
Copy Markdown
Member

@uhoreg uhoreg commented May 8, 2026

Part of element-hq/element-meta#2834

Applies the new design to the dialog that prompts the user to set up recovery when they try to log out.

Image

Also applies new logic for determining when to show the prompt:

  • only shows if this is the user's last device
  • shows even if the user is not in any encrypted rooms (since the user will need the recovery key to confirm their identity)

I've also taking this opportunity to switch to a functional component, and move the non-display code into hooks.

This PR does not implement allowing the user to get their recovery key in-line (it just brings them to the settings dialog).

Checklist

@t3chguy
Copy link
Copy Markdown
Member

t3chguy commented May 8, 2026

Spacing between heading and text looks wrong compared to Figma

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants