Giter VIP home page Giter VIP logo

simulated-devices's Introduction

simulated-devices's People

Contributors

chenxsan avatar clarkbw avatar gabrielluong avatar jankeromnes avatar janodvarko avatar jryans avatar kwanesq avatar lllopo avatar martinbalfanz avatar mozilla-github-standards avatar mr21 avatar nchevobbe avatar norcross avatar scooooooooby 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  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

simulated-devices's Issues

Add a "maxTouchPoints" property to the device object

Being able to check the device's actual max touch points value via navigator.maxTouchPoints would be nice to have.

In Firefox DevTools' RDM tool, it's very difficult (if not impossible) to know what the simulated touch device's actual max touchpoints value is. While we could fake the value to be 1 for all touch devices, it would provide an inaccurate experience. For now, this issue could assume that all touches have max touchpoints of at least one.

See issue at: https://bugzilla.mozilla.org/show_bug.cgi?id=1500672

Bring back old devices

In #28 a lot of old devices got removed, leaving mostly high-end ones enabled. What is the reasoning1 behind removing those devices?

I can only speak for myself, but I need to test the sites I'm developing on older devices, with a bad connection. Responsive design mode helps tremendously with that, I love it. I just wish it had more devices to choose from :)

Can these be brought back? Maybe behind a flag in about:config if nothing else.

I also wonder if Mozilla can pull some statistics for devices, and/or screens in use? Really it's the latter I'm mostly interested in as that's what I'll target using a @media query.

1 I couldn't figure out why, as the PR didn't have a description and the commit message is just Update device list.

Travis CI free usage ends Dec 3; mozilla repos should switch to other CI platforms

We're opening this issue because your project has used Travis CI within the last 6 months. If you have already migrated off it, you can close and ignore this issue.

Travis CI is ending free builds on public repositories. travis-ci.com stopped providingthem in early November, and travis-ci.org will stop after December 31, 2020. To avoid disruptions to your workflows, you must migrate to another CI service.

For production use cases, we recommend switching to CircleCI. This service is already widely used within Mozilla. There is a guide to migrating from Travis CI to CircleCI available here.

For non production use cases, we recommend either CircleCI or Github Actions. There is a guide to migrating from Travis CI to Github Actions available here. Github Actions usage within Mozilla is new, and you will have to work with our github administrators to enable specific actions following this process.

If you have any questions, reach out in #github-admin:mozilla.org on matrix.

Samsung Galaxy S7 and Galaxy S8 profiles needed

The list is missing the Samsung Galaxy S7 and Galaxy S8 profiles.

In addition - this hardcoded approach to the list is missing the option to re-order the devices by personal preference, but that's a more general firefox issue.

iPhone 7

{
  "name": "iPhone 7",
  "width": 375,
  "height": 667,
  "pixelRatio": 2,
  "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 10_2_1 like Mac OS X) AppleWebKit/602.4.6 (KHTML, like Gecko) Version/10.0 Mobile/14D27 Safari/602.1"
}

CODE_OF_CONDUCT.md file missing

As of January 1 2019, Mozilla requires that all GitHub projects include this CODE_OF_CONDUCT.md file in the project root. The file has two parts:

  1. Required Text - All text under the headings Community Participation Guidelines and How to Report, are required, and should not be altered.
  2. Optional Text - The Project Specific Etiquette heading provides a space to speak more specifically about ways people can work effectively and inclusively together. Some examples of those can be found on the Firefox Debugger project, and Common Voice. (The optional part is commented out in the raw template file, and will not be visible until you modify and uncomment that part.)

If you have any questions about this file, or Code of Conduct policies and procedures, please see Mozilla-GitHub-Standards or email [email protected].

(Message COC001)

Should "Laptop" presets be configured "WxH"?

Firefox 63: I'm quite confused about why "Laptop with HiDPI screen" defaults to 900x1440 and I have to manually rotate it to 1440x900 every time. Same for "MDPI".

Did I miss people now using laptops in portrait, or what exactly is the rationale with such defaults?

(I'm also struggling to figure out why FF RDM defaults to 320x480, a preset that isn't even listed in the devices catalogue, and you can't change the default in any apparent way, but that's probably bugzilla material.) https://bugzilla.mozilla.org/show_bug.cgi?id=1443345

List update needed

The list was last updated 2 years ago and even then it wasn't up to date.
(this is not criticism, I'm just asking around whether someone has a newer devices file)

iPhone 5s

{
  "name": "iPhone 5s",
  "width": 320,
  "height": 568,
  "pixelRatio": 2,
  "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 9_2_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13D15 Safari/601.1"
}

REQUEST Add Lenovo Tab2 to the official list

Not sure where to send this one, figured it would make sense to ask here -

I have a bunch of Lenovo TAB2 A10-30 that I test things on. I thought it would be handy for them to be in the official list.

"name": "Lenovo TAB2 A10-30",
"width": 800,
"height": 1280,
"pixelRatio": 1,
"userAgent": "Mozilla/5.0 (Android 5.1.1; Tablet; rv:57.0) Gecko/57.0 Firefox/57.0",
"touch": true,
"firefoxOS": true,
"os": "android"

Thought I'd check. :)

Apple Watch

We should probably get the Apple watch into our list of watches.

Add some new devices?

The list seems rather out of date. Some popular phones not listed:

  • Google Pixel 2
  • Google Pixel 2 XL
  • Huawei Mate 10 Pro
  • iPhone X
  • iPhone 8
  • iPhone 8 Plus
  • OnePlus 5
  • OnePlus 5T
  • Samsung Galaxy S9
  • Samsung Galaxy S9 Plus
  • Samsung Galaxy Note 8

Additionally, the inclusion of unsupported and uncommon devices like Google Nexus phones seems strange at this point.

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.