JSON download button

Đang mở
#246 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 9 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
javascript
Lĩnh vực
frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
JavaScript
Star
21
Fork
7
Merge trung bình
7 ngày 6 giờ
Pull request đã merge (30 ngày)
5

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của mozilla/ensemble

Tất cả issue của mozilla/ensemble

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.