From e3cdd10948ecd5e81a79325e53823240d032f008 Mon Sep 17 00:00:00 2001 From: Nathan Weinberg <31703736+nathan-weinberg@users.noreply.github.com> Date: Mon, 20 May 2024 22:03:22 -0400 Subject: [PATCH] Add additional explainer text around prediction data delivery (#984) Also add release badge to README --- README.md | 1 + modules/predictions/PredictionsDetails.tsx | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/README.md b/README.md index d9a21d4e5..5986175f2 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # TransitMatters Data Dashboard +![Release](https://img.shields.io/github/v/release/transitmatters/t-performance-dash) ![lint](https://github.com/transitmatters/t-performance-dash/workflows/lint/badge.svg?branch=main) ![build](https://github.com/transitmatters/t-performance-dash/workflows/build/badge.svg?branch=main) ![deploy](https://github.com/transitmatters/t-performance-dash/workflows/deploy/badge.svg?branch=main) diff --git a/modules/predictions/PredictionsDetails.tsx b/modules/predictions/PredictionsDetails.tsx index 6fe9784f8..41f82ed11 100644 --- a/modules/predictions/PredictionsDetails.tsx +++ b/modules/predictions/PredictionsDetails.tsx @@ -1,6 +1,7 @@ 'use client'; import React from 'react'; +import Link from 'next/link'; import dayjs from 'dayjs'; import utc from 'dayjs/plugin/utc'; import { useDelimitatedRoute } from '../../common/utils/router'; @@ -118,6 +119,18 @@ export function PredictionsDetails() {
  • 6-12 min: 150 seconds early to 210 seconds late
  • 12-30 min: 240 seconds early to 360 seconds late
  • +
    +

    + We receive this data in monthly batches from the{' '} + + MassDOT Open Data Portal + + - if recent data is missing, it's likely because it's not yet available. +

    ), },