Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Device manager - parse user agent for device information #9352

Merged
merged 37 commits into from
Oct 6, 2022

Conversation

kerryarchibald
Copy link
Contributor

@kerryarchibald kerryarchibald commented Oct 5, 2022

Checklist

  • Tests written for new code (and old code if feasible)
  • Linter and other CI checks pass
  • Sign-off given on the changes (see CONTRIBUTING.md)

This change is marked as an internal change (Task), so will not be included in the changelog.

Kerry Archibald added 30 commits September 23, 2022 18:00
* add device selection that does nothing

* multi select and sign out of sessions

* test multiple selection

* fix type after rebase

* select all sessions
@kerryarchibald kerryarchibald added the T-Task Refactoring, enabling or disabling functionality, other engineering tasks label Oct 5, 2022
@kerryarchibald kerryarchibald requested a review from a team as a code owner October 5, 2022 08:51
@kerryarchibald kerryarchibald requested review from germain-gg, turt2live and t3chguy and removed request for a team October 5, 2022 08:51
});

/* eslint-disable max-len */
const ANDROID_UA = [
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Base automatically changed from psg-632/device-man-parse-ua to develop October 5, 2022 11:41
Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise lgtm

Comment on lines +84 to +85
const concatenateNameAndVersion = (name?: string, version?: string): string | undefined =>
name && [name, version].filter(Boolean).join(' ');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const concatenateNameAndVersion = (name?: string, version?: string): string | undefined =>
name && [name, version].filter(Boolean).join(' ');
const concatenateNameAndVersion = (name?: string, version?: string): string | undefined => {
return name && [name, version].filter(Boolean).join(' ');
};

@kerryarchibald kerryarchibald merged commit 3e4f315 into develop Oct 6, 2022
@kerryarchibald kerryarchibald deleted the psg-632/dm-ua-parser-bowser branch October 6, 2022 08:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Refactoring, enabling or disabling functionality, other engineering tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants