element-web/test/components/views/dialogs
David Baker dcf7643d4a
Fix closing all modals (#12728)
* Fix closing all modals

We used `Modal.closeCurrentModal()` in a bunch of places, in all cases
(as far as I can see: it wasn't commented) we meant to close all open
modals. This swaps that function for one that closes all open modals.

Also types the close reason which claimed to be something in a comment,
of course, was wrong because a load of places passed their own random
string which was never used.

* Force close modals

* Try with minimal changes

* Already had a method for this

* Add test

* More tests

* Unused importsd
2024-07-05 13:39:13 +00:00
..
__snapshots__ Minor tweaks to UserSettings dialog (#12651) 2024-06-20 09:29:38 +00:00
devtools
security Minor tweaks to UserSettings dialog (#12651) 2024-06-20 09:29:38 +00:00
spotlight
AccessSecretStorageDialog-test.tsx
AppDownloadDialog-test.tsx
AskInviteAnywayDialog-test.tsx
ChangelogDialog-test.tsx
ConfirmRedactDialog-test.tsx
ConfirmUserActionDialog-test.tsx
CreateRoomDialog-test.tsx
DevtoolsDialog-test.tsx
ExportDialog-test.tsx
FeedbackDialog-test.tsx
ForwardDialog-test.tsx Replace setImmediate with setTimeout (#12614) 2024-06-13 15:15:59 +01:00
IncomingSasDialog-test.tsx
InteractiveAuthDialog-test.tsx
InviteDialog-test.tsx Fix closing all modals (#12728) 2024-07-05 13:39:13 +00:00
LogoutDialog-test.tsx
ManageRestrictedJoinRuleDialog-test.tsx
ManualDeviceKeyVerificationDialog-test.tsx
MessageEditHistoryDialog-test.tsx
RoomSettingsDialog-test.tsx Fix display of no avatar in avatar setting controls (#12558) 2024-06-06 17:35:44 +00:00
ServerPickerDialog-test.tsx
ShareDialog-test.tsx
SpotlightDialog-test.tsx
UserSettingsDialog-test.tsx Fix config override of other settings levels (#12593) 2024-06-14 11:00:30 +00:00