Coder Social home page Coder Social logo

devtools-device-data's Introduction

DevTools Device Mode Data

Please see the DevTools Frontend repository for the latest device data distributed with Chrome. This repository is no longer being updated.

This repository holds all of the device information that is provided to Chrome DevTools' device mode.

devtools-device-data's People

Contributors

andysterland avatar benschwarz avatar dgozman avatar garbee avatar paulirish avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

devtools-device-data's Issues

Update contributing.md

With the pull of jsonschema validation the contributing guide needs a slight update.

I'll work on this at some point today or tomorrow.

Add Nexus 6 and 9

Device information should be added for the latest of the Nexus family.

I can add this myself once I get some time to get a UA string from the actual devices I can get a hold of. But if someone else can get in faster then that's fine too.

Nokia [Microsoft] Lumia Emulator Support

Hi, Chrome Emulation models does not including, most if not all the Nokia/Microsoft Lumia Phones, including what I own, the 1520. I'm in desperate need of this for the past week. I noticed some Lumia are listed, although some are missing particularly the 1520 or 1030 !

Include some of the top ChromeOS devices with screens.

Might be useful to see if some sales data could be gotten within Google to figure out the top say 4 ChromeOS laptops sold in the past few years. Add specs for those + the Pixel to the devices list. This would help developers targeting those. Of course this would need to be things like laptops and the LG all-in-one device. The simple boxes where you BYOM aren't useful since they inherently don't have set screen specs or input modes.

Help maintaining UAs

It's easy for these UAs to fall out of date.

We need an improved method of keeping these updated.

We want the UAs to represent the latest stable version of Chrome & Safari on each device.

Any suggestions?

Nexus 5X and 6P dimensions are incorrect

The Nexus 5X and 6P dimensions appear to be incorrect, as well as the device pixel ratio for the 6P. They should be the following:

Nexus 5X: 412x732
Nexus 6P: 412x732 with a DPR of 3.5

Microsoft Lumia 550 vertical screen not rotated

It is not rotated:

"type": "emulated-device",
        "device": {
            "show-by-default": false,
            "title": "Microsoft Lumia 550",
            "screen": {
                "horizontal": {
                    "width": 640,
                    "height": 360
                },
                "device-pixel-ratio": 2,
                "vertical": {
                    "width": 640,
                    "height": 360
                }
            },

Keeping UA strings more automatically updated.

The UA string templates are already provided. What we could do is create a template string that for currently updated devices we automatically insert the latest variables. Then once a device is no longer supported we just hard-code the last known good UA string. This would only require us to keep one JSON template updated with the latest variables when new releases happen.

Any better thoughts? Some reason this isn't a good idea?

Should we be tracking devices.json?

The devices.json is the output of generation. If this is tracked (as it currently is) then pulling in multiple merges quickly becomes a pain since each PR is going to conflict with that generated file.

Perhaps a better setup would be:

  • Add devices.json to gitignore.
  • Pre-commit hook that does validation of all the JSON files (taking advantage of what is being discussed in issue #9)
  • If we could do a post-merge/push hook to auto-generate the devices.json that would be nice. Falling short of that just have it has a part of the build process for the DevTools.

Any other ideas?

Support for 'TV' devices

I suggest to add more classes of devices, like TV devices, so we should have

type = phone | tablet | notebook | desktop | tv | unknown

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.