Modernise change password dialog (#8269)

* alf change password dialog

* rm old modal

* move dialog

* fix buttons on native

* lowercase

* fix dupe import

* Apply suggestions from code review

Thanks @surfdude29 :)

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>

* use primary_subtle, change web layout

* move to into non-network err, warn -> error

* error -> safeMessage

* better message than token is invalid

* cancel button native only

* move close to end of focus priority

---------

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
This commit is contained in:
Samuel Newman
2025-08-26 20:50:39 +03:00
committed by GitHub
parent dd2830ba6c
commit 98d96bd28b
6 changed files with 304 additions and 363 deletions
-5
View File
@@ -39,17 +39,12 @@ export interface PostLanguagesSettingsModal {
name: 'post-languages-settings'
}
export interface ChangePasswordModal {
name: 'change-password'
}
/**
* @deprecated DO NOT ADD NEW MODALS
*/
export type Modal =
// Account
| DeleteAccountModal
| ChangePasswordModal
// Curation
| ContentLanguagesSettingsModal