Skip to content

Commit

Permalink
Merge branch 'main' into updated-baseline-speeds
Browse files Browse the repository at this point in the history
  • Loading branch information
devinmatte authored Feb 17, 2025
2 parents a1fd9c6 + f3fcf6f commit 199196f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
15 changes: 7 additions & 8 deletions common/components/notices/BetaSlowZoneDataNotice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@ export const BetaSlowZoneDataNotice: React.FC = () => {
<h3 className="text-sm font-medium text-yellow-800">Green Line Slow Zones are in Beta</h3>
<div className="mt-2 text-sm text-yellow-700">
<p>
Due to the variable nature of service on the Green Line, we aren't able to detect slow
zones as easily as on the heavy rail lines. Additionaly, we are only monitoring slow
zones for stops serviced by the D line since that is the only line which is entirely
grade-separated.
</p>
<p>
We're working on improving the data and we plan to add slow-zone tracking for other
branches, but that will require additional information on traffic patterns.
Due to the variable nature of service on the Green Line, we can't detect slow zones as
easily as with heavy rail lines. Additionally, we only monitor the D branch as it is
the only{' '}
<a className="underline" href="https://en.wikipedia.org/wiki/Grade_separation">
grade-separated
</a>{' '}
branch
</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion common/types/basicWidgets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export class PercentageWidgetValue extends BaseWidgetValue implements WidgetValu
if (this.value === undefined) return '...';
return (
<p className="text-sm">
<WidgetText isLarge={isLarge} text={`${Math.round(100 * this.value).toString()}`} />{' '}
<WidgetText isLarge={isLarge} text={`${Math.round(100 * this.value).toString()}`} />
<UnitText isLarge={isLarge} text={this.getUnits()} />
</p>
);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,4 @@
"@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.0c3f3b7.0"
},
"proxy": "http://localhost:5000"
}
}

0 comments on commit 199196f

Please sign in to comment.