Skip to content

Conversation

uhoreg
Copy link
Member

@uhoreg uhoreg commented Aug 19, 2025

Fixes #29258

Probably easiest to review commit-by-commit

image

Checklist

  • Tests written for new code (and old code if feasible).
  • New or updated public/exported symbols have accurate TSDoc documentation.
  • Linter and other CI checks pass.
  • I have licensed the changes to Element by completing the Contributor License Agreement (CLA)

color: $authpage-primary-color;
background-color: $background;
border-radius: 4px;
padding: 20px;
padding: 20px 20px 60px 20px;
Copy link
Member Author

Choose a reason for hiding this comment

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

For some reason that I haven't been able to figure out, it squishes the bottom of the dialog, so I had to add some extra padding here.

@uhoreg uhoreg marked this pull request as ready for review August 20, 2025 15:49
@uhoreg uhoreg requested review from a team as code owners August 20, 2025 15:49
Copy link

dosubot bot commented Aug 20, 2025

Related Documentation

No published documentation to review for changes on this repository.
Write your first living document

How did I do? Any feedback?  Join Discord

Copy link
Member

@t3chguy t3chguy left a comment

Choose a reason for hiding this comment

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

Looks sane otherwise

@richvdh
Copy link
Member

richvdh commented Aug 22, 2025

I started reviewing this but I'm finding it really hard to follow. It's definitely too big to review in one lump, but the commits don't seem to make much sense either.

Could you try restructuring it, into smaller commits, with more explanation about what each commit is doing and why?

@uhoreg
Copy link
Member Author

uhoreg commented Aug 28, 2025

I've reworked the commits, to break it up into smaller chunks, and addressed the comments. Some of the style changes are still grouped together, but hopefully it's more understandable now.

@uhoreg uhoreg requested a review from richvdh August 28, 2025 00:53
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

much easier to review now, thank you for rearranging it.

Generally lgtm, a few nits and questions

@@ -967,7 +967,6 @@
"title": "Recovery Method Removed",
"warning": "If you didn't remove the recovery method, an attacker may be trying to access your account. Change your account password and set a new recovery method immediately in Settings."
},
"reset_all_button": "Forgotten or lost all recovery methods? <a>Reset all</a>",
Copy link
Member

Choose a reason for hiding this comment

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

Note to future archaeologists: the reference to this string was removed in an earlier commit in this PR

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorry, I tried to keep the string removals in the same commits as where the code stops using it, but I guess I missed this on.

Co-authored-by: Richard van der Hoff <[email protected]>
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

LGTM otherwise

&.mx_AuthPage_modal_noBlur {
box-shadow: none;
/* Apply a blurred shadow around the modal */
&.mx_AuthPage_modal_blur {
Copy link
Member

Choose a reason for hiding this comment

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

this name feels too close to the already-existing (and different) mx_AuthPage_modalBlur

That's why I suggested mx_AuthPage_modal_withBlur, but feel free to come up with something else.

Copy link
Member Author

Choose a reason for hiding this comment

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

Right. I've changed it to your suggestion

@uhoreg uhoreg added this pull request to the merge queue Sep 12, 2025
Merged via the queue into element-hq:develop with commit 9ad239f Sep 12, 2025
31 checks passed
@uhoreg uhoreg deleted the verify_device_redesign branch September 12, 2025 18:53
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.

EW: "Verify this device" modal needs design update
3 participants