Closed Bug 1768226 Opened 2 years ago Closed 2 years ago

Please create the new collection "devtools-devices"

Categories

(Cloud Services :: Server: Remote Settings, task)

task

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nchevobbe, Assigned: leplatrem)

Details

Attachments

(1 file)

Collection name: devtools-devices
Description: List of devices and their specs that will be consumed by DevTools (Responsive Design Mode, about:debugging, …). Basically, an RS version of https://code.cdn.mozilla.net/devices/devices.json
Estimated collection size: ~50 records, current JSON dataset is around 15kb

List of LDAP emails allowed to change the records (editors):

List of LDAP emails allowed to approve the changes (reviewers)

Allow file attachments on records: no
Are attachments required on records no
List of fields names to display as columns in the records list UI:

  • name
  • width
  • height
  • pixelRatio
  • touch
  • userAgent
  • featured
  • type

(optional) JSON schema to validate records (in YAML format):

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "title": "Name",
      "description": "The name of the device (e.g. Nexus 5X, …)"
    },
    "width": {
      "type": "integer",
      "title": "Width",
      "description": "The viewport width of the device"
    },
    "height": {
      "type": "integer",
      "title": "Height",
      "description": "The viewport height of the device"
    },
    "pixelRatio": {
      "type": "number",
      "title": "DPR",
      "description": "Pixel ratio of the device"
    },
    "touch": {
      "type": "boolean",
      "title": "Touch Screen",
      "description": "Indicate if the device has touch capabilities"
    },
    "userAgent": {
      "type": "string",
      "title": "User Agent",
      "description": "The user agent that will be applied when selecting the device"
    },
    "featured": {
      "type": "boolean",
      "title": "Featured",
      "description": "Whether or not the device will be displayed in Responsive Design devices list"
    }
  },
    "type": {
      "type": "string,
      "title": "Type",
      "description": "The device type (e.g. Phone, tablet, TV, ...)"
    }
  }
}

(optional) Manual records ID: ?
JEXL target filters: no

Attached file GitHub Pull Request
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED

Thanks, I confirm that I can access the collection on the RemoteSettings Admin page 👍

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: