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 Fix display of room notification debug info (#12183) 2024-01-29 12:38:37 +00:00
security Minor tweaks to UserSettings dialog (#12651) 2024-06-20 09:29:38 +00:00
spotlight Migrate more strings to translation keys (#11671) 2023-09-26 18:35:55 +01:00
AccessSecretStorageDialog-test.tsx Clean up some references to internal js-sdk classes (#12363) 2024-03-22 12:28:13 +00:00
AppDownloadDialog-test.tsx Avoid rendering app download buttons if disabled in config (#11741) 2023-10-13 09:43:39 +00:00
AskInviteAnywayDialog-test.tsx
ChangelogDialog-test.tsx
ConfirmRedactDialog-test.tsx Fix jest/valid-expects lints (#11238) 2023-07-13 15:19:44 +00:00
ConfirmUserActionDialog-test.tsx Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
CreateRoomDialog-test.tsx Allow creating public knock rooms (#11481) 2023-09-04 16:09:44 +00:00
DevtoolsDialog-test.tsx Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
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 Clean up some references to internal js-sdk classes (#12363) 2024-03-22 12:28:13 +00:00
InteractiveAuthDialog-test.tsx Conform more of the codebase to strict types (#11191) 2023-07-05 11:53:22 +01:00
InviteDialog-test.tsx Fix closing all modals (#12728) 2024-07-05 13:39:13 +00:00
LogoutDialog-test.tsx LogoutDialog: Remove usage of deprecated keybackup API (#11645) 2023-09-21 18:34:10 +00:00
ManageRestrictedJoinRuleDialog-test.tsx Improve randomString mock for better snapshots (#11375) 2023-08-09 09:39:48 +01:00
ManualDeviceKeyVerificationDialog-test.tsx Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
MessageEditHistoryDialog-test.tsx Use Intl to localise dates and times (#11422) 2023-08-21 19:38:59 +00:00
RoomSettingsDialog-test.tsx Fix display of no avatar in avatar setting controls (#12558) 2024-06-06 17:35:44 +00:00
ServerPickerDialog-test.tsx Use new compound tooltip 2024-04-12 14:56:23 +02:00
ShareDialog-test.tsx Fix typing issues 2024-04-15 16:06:01 +02:00
SpotlightDialog-test.tsx Avoid using deprecated exports, fields, and duplicate code (#12555) 2024-05-28 08:41:20 +01:00
UserSettingsDialog-test.tsx Fix config override of other settings levels (#12593) 2024-06-14 11:00:30 +00:00