-
-
Notifications
You must be signed in to change notification settings - Fork 813
Device manager - add foundation for extended device info #9344
Conversation
* add device selection that does nothing * multi select and sign out of sessions * test multiple selection * fix type after rebase * select all sessions
weeman1337
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on the most recent deployment. The device manager explodes 💣 Can you have a look and then re-request review?
src/utils/device/parseUserAgent.ts
Outdated
| appBrand?: string, | ||
| ): DeviceType => { | ||
| // this sucks | ||
| const safeBrowserName = appBrand && browser.name.indexOf(appBrand) > -1 ? undefined : browser.name; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😆 Is there anything that sucks less? You could use includes instead of the indexOf check btw..
e6bbc36 to
eef014a
Compare
|
@weeman1337 sorry, way too many nested branches open. Something weird happened while I rebased this and I included more changes than I meant to 🙈 |
weeman1337
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now 👍
With matrix-org/matrix-js-sdk#2728
Mostly housekeeping:
ExtendedDevicetype everywhere in new DMclientName/VersiontoappName/Versionin types to avoid collision with UA parsed clientDeviceTypecomponent toDeviceTypeIconto avoid collisionChecklist
This change is marked as an internal change (Task), so will not be included in the changelog.