Edit user profile cancel confirmation (#5788)

* Show not save dialog when exiting user profile edition with unsaved changes

* Use test extension

* Add unit tests

* Add preview

* Add unit test on EditUserProfileView

* Avoid using navigateUp.

* Update screenshots

* Remove BaseCallback, it's actually not ideal when looking for usage.

* Remove BaseNavigator, it's actually not ideal when looking for usage.

* Fix crash when clicking fast on back key on the Add account screen.

* Fix crash when clicking fast on back key on the Labs screen.

* Fix crash when clicking fast on back key on the Developer settings screen.

* Fix compilation issue in test

---------

Co-authored-by: ElementBot <android@element.io>
This commit is contained in:
Benoit Marty 2025-11-24 09:38:15 +01:00 committed by GitHub
commit 021b021a39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 374 additions and 76 deletions

View file

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:da49d0867fdaa28fbe7db7dc21c5de09268e7bb3afdb0b2289df372d537c2abb
size 33570

View file

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60fe1926cf8d66a8086268f3e4e1b6b1616f860668e1e5f4dc670d5c57ec4d24
size 31943