Device manager - extract device deletion logic into util (#9168)

* extract deletedevices logic into util fn

* unit test deleteDevices

* test devicespanel device deletion

* remove debug logs

* i18n

* assert more on deleteMultipleDevices calls
This commit is contained in:
Kerry 2022-08-10 18:26:48 +02:00 committed by GitHub
parent b7872f2ff7
commit f020ed0b13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 764 additions and 71 deletions

View file

@ -1284,15 +1284,6 @@
"Session key:": "Session key:",
"Your homeserver does not support device management.": "Your homeserver does not support device management.",
"Unable to load device list": "Unable to load device list",
"Confirm logging out these devices by using Single Sign On to prove your identity.|other": "Confirm logging out these devices by using Single Sign On to prove your identity.",
"Confirm logging out these devices by using Single Sign On to prove your identity.|one": "Confirm logging out this device by using Single Sign On to prove your identity.",
"Confirm signing out these devices|other": "Confirm signing out these devices",
"Confirm signing out these devices|one": "Confirm signing out this device",
"Click the button below to confirm signing out these devices.|other": "Click the button below to confirm signing out these devices.",
"Click the button below to confirm signing out these devices.|one": "Click the button below to confirm signing out this device.",
"Sign out devices|other": "Sign out devices",
"Sign out devices|one": "Sign out device",
"Authentication": "Authentication",
"Deselect all": "Deselect all",
"Select all": "Select all",
"Verified devices": "Verified devices",
@ -1692,6 +1683,15 @@
"Please enter verification code sent via text.": "Please enter verification code sent via text.",
"Verification code": "Verification code",
"Discovery options will appear once you have added a phone number above.": "Discovery options will appear once you have added a phone number above.",
"Confirm logging out these devices by using Single Sign On to prove your identity.|other": "Confirm logging out these devices by using Single Sign On to prove your identity.",
"Confirm logging out these devices by using Single Sign On to prove your identity.|one": "Confirm logging out this device by using Single Sign On to prove your identity.",
"Confirm signing out these devices|other": "Confirm signing out these devices",
"Confirm signing out these devices|one": "Confirm signing out this device",
"Click the button below to confirm signing out these devices.|other": "Click the button below to confirm signing out these devices.",
"Click the button below to confirm signing out these devices.|one": "Click the button below to confirm signing out this device.",
"Sign out devices|other": "Sign out devices",
"Sign out devices|one": "Sign out device",
"Authentication": "Authentication",
"Last activity": "Last activity",
"Verified": "Verified",
"Unverified": "Unverified",