Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo and adjust phrasing #1035

Merged
merged 1 commit into from
Feb 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}
}
Loading