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(StationInformation): show bike/parking info even for non-stations #2346

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

thecristen
Copy link
Collaborator

@thecristen thecristen commented Jan 27, 2025

Summary of changes

Asana Ticket: Stop pages missing facility information

Before, parking info and bike facility info would be suppressed on stop pages representing bus stops or other "not station" stops. Adjusted the logic so this is no longer the case.

Now we can see...

  • Parking and bike storage at ferry docks such as Hingham
image - Parking and bike storage at this bus stop near Watertown Yard image - Covered bike racks at Arlington Heights Busway image

@thecristen thecristen force-pushed the cbj/stop-page-facility-info branch from b7546e4 to 6572c5d Compare January 27, 2025 19:41
@thecristen thecristen marked this pull request as ready for review January 27, 2025 19:41
@thecristen thecristen requested a review from a team as a code owner January 27, 2025 19:41
@@ -128,10 +128,6 @@
margin-top: -.313rem;
}

.u-mt-6 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 👋

@@ -23,7 +23,7 @@ const accessibilityNames: {

const StationFeatures = (features: AccessibilityType[]): JSX.Element => (
<>
<h2 className="text-2xl">Station Features</h2>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curiosity: Did you remove this because it wasn't necessary (and is kind of antipattern-y)? Or because it was wrong?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay - this does change the font size (makes it a bit smaller). Is that intentional as part of this work?

Copy link
Contributor

@joshlarson joshlarson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is actually two changes - one that does what the PR title says, and another unifies the h2 tag styles and changes the appearance of the amenity cards. I'm a bit worried about merging in visual changes after Chase brought up stylistic instability in the most recent retro.

I'm 👍 on the don't-suppress-parking-and-bikes part, so if you wanted to scope this PR down to just that, and push the h2 fixes to a different one, I would happily approve.

Before

Screenshot 2025-01-28 at 9 41 06 AM

After

Screenshot 2025-01-28 at 9 41 12 AM


If there is buy-in from design on the visual changes, then I'm good to merge this, although I do think this could have been split into two PR's.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants