Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable device market name #601

Merged

Conversation

MykytaIvshkn
Copy link

In this PR was added possibility to display correct device market name instead of "more technical" model name

An example:
image

@MykytaIvshkn MykytaIvshkn force-pushed the feature/enable_device_market_name branch from 1295e1f to b56c4fc Compare October 19, 2022 13:54
@MykytaIvshkn MykytaIvshkn reopened this Oct 20, 2022
mivashkin added 2 commits October 21, 2022 12:38
@MykytaIvshkn MykytaIvshkn force-pushed the feature/enable_device_market_name branch from cbbecac to affe5f2 Compare October 21, 2022 09:38
@koral-- koral-- enabled auto-merge (squash) November 3, 2022 00:03
@koral-- koral-- merged commit 24c944d into DeviceFarmer:master Nov 3, 2022
@@ -45,7 +45,8 @@ module.exports = function EnhanceDeviceServiceFactory($filter, AppState) {
}

function enhanceDevice(device) {
device.enhancedName = device.name || device.model || device.serial || 'Unknown'
device.enhancedName = device.marketName || device.name || device.model || device.serial

Choose a reason for hiding this comment

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

imho device name is the most unique setting that use can set to differentiate the same marken/model devices, could we bring device name first on list back?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants