JSON download button

オープン
#246 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 8 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
javascript
領域
frontend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
JavaScript
スター
21
フォーク
7
平均マージ
7日 6時間
マージ済み PR(30日)
5

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mozilla/ensemble のほかの issue

mozilla/ensemble の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。