JSON download button

Abierto
#246 0 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 8 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
javascript
Área
frontend

Línea de trabajo

The issue names no files, tests, or entry points. Start by tracing how dashboard metadata and per-metric, per-region JSON are made available to the dashboard, then determine which download format the project accepts. Done means the chosen JSON download is available from the dashboard and its format is documented.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Provide a button which visitors could use to access/download the JSON that was used to build the dashboard.

The challenge here is that there is not one single JSON document which ensemble reads to build each dashboard. There are multiple: one JSON document which describes the dashboard itself (title, description, etc.) and one JSON document for each metric in each region.

So we may need to get creative here. Some options:

  • Provide one button for the dashboard JSON and one button for each metric's JSON
  • Provide one button for the raw JSON that ensemble-transposer ingests
    • Con: This wouldn't include metric titles, metric descriptions, or other metadata
  • Provide one button at the top of the page which downloads a .zip of all JSON documents
    • Con: This wouldn't be very convenient for developers
  • Build one aggregate JSON document which includes everything and offer that
    • Pro: We already build something like this in ensemble-transposer internally; we don't currently make it available over HTTP but we easily could
    • Con: Ensemble itself wouldn't use this document; we would need to maintain it and document its format separately
Lenguaje dominante
JavaScript
Estrellas
21
Forks
7
Merge medio
7 d 6 h
PR fusionados (30 d)
5

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de mozilla/ensemble

Todos los issues de mozilla/ensemble

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.