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: PreFare Polish - Inside shuttle #1941

Merged
merged 11 commits into from
Dec 18, 2023

Conversation

hannahpurcell
Copy link
Contributor

@hannahpurcell hannahpurcell commented Dec 8, 2023

Notion

  • "You Are Here" diamond becomes red octagon if affected
  • Gap between map and issue text is reduced to exactly 32px for all layouts where map is below issue text
  • “All shuttles buses are accessible” is regular font weight for two-screen takeover, not for single-pane

Edit: Actually, this PR covered many issues for other other notion tasks. Including links and screenshots.

Fixed emphasis margin and "you are here" icon
Screenshot 2023-12-11 at 1 49 34 PM

@hannahpurcell hannahpurcell requested review from a team and jzimbel-mbta and removed request for a team December 8, 2023 16:52
Copy link

github-actions bot commented Dec 8, 2023

Coverage of commit 99db1fb

Summary coverage rate:
  lines......: 44.1% (2731 of 6186 lines)
  functions..: 41.2% (995 of 2417 functions)
  branches...: no data found

Files changed coverage rate: n/a

Download coverage report

Copy link

Coverage of commit cbd26c8

Summary coverage rate:
  lines......: 44.1% (2731 of 6186 lines)
  functions..: 41.2% (995 of 2417 functions)
  branches...: no data found

Files changed coverage rate: n/a

Download coverage report

Copy link

Coverage of commit 1049414

Summary coverage rate:
  lines......: 44.1% (2731 of 6186 lines)
  functions..: 41.2% (995 of 2417 functions)
  branches...: no data found

Files changed coverage rate: n/a

Download coverage report

Copy link
Member

@jzimbel-mbta jzimbel-mbta left a comment

Choose a reason for hiding this comment

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

Truly awed and humbled by the math that's going on here. I can't say I completely follow all of the steps involved in scaling/positioning everything, but I don't see any obvious issues!

🌈 :shipit:

Copy link

Coverage of commit 8a01af5

Summary coverage rate:
  lines......: 44.1% (2731 of 6186 lines)
  functions..: 41.2% (995 of 2417 functions)
  branches...: no data found

Files changed coverage rate: n/a

Download coverage report

@hannahpurcell hannahpurcell merged commit 6832349 into prefare-alerts Dec 18, 2023
2 checks passed
@hannahpurcell hannahpurcell deleted the hp/prefare-polish-inside-shuttle branch December 18, 2023 19:32
hannahpurcell added a commit that referenced this pull request Feb 2, 2024
* feat: Pre-Fare alerts 2.0 CandidateGenerator (#1765)

* [feature] Pre-fare alert 2.0 frontend left screen (#1787)

* feat: Pre-Fare alerts 2.0 serializer (#1785)

* feat: Disruption Diagram - Frontend (#1825)

* [tweak] Disruption diagram maths (#1830)

* In LocationContext, tag stop sequences by their routes (#1832)

* tweak: PreFare simulations (#1837)

* [feature] Prefare alerts 2.0 audio (#1824)

* feat: Disruption Diagram - Backend (#1828)

* feat(WIP): Disruption diagram backend. Working for Blue Line and other basic scenarios only atm.

* fix: Update location context stop sequences field in TrainCrowdingTest (#1895)

* test: D. diagram unit test for RL trunk statio closure with home stop at Ashmont (#1894)

* Added padding-top to layout when there is no banner. (#1902)

* Cm/govt ctr gl affected pill fix (#1898)

* Cm/adjust diagram size positioning (#1896)

* Changed label to display on a single line. (#1899)

* Tweaked resizer logic so it maxHeight matches the card height on page. (#1905)

* Removed bolding of 'to' from arrow labels. (#1908)

* Fixed icon display when current stop is affected. (#1903)

* feat: Consistent description of disrupted stop ranges throughout pre-fare alerts (#1912)

* Adjusted Ashmont/Braintree destination to proper formatting (#1917)

* Refactor disruption diagram SVG (#1914)

* Log alert ID and screen's home stop when disruption diagram logic fails (#1920)

* polish: Recalculate dimensions in hook (#1921)

* Added audio column to GL & PreFare in admin table (#1916)

* Draw D. diagrams for multi-line alerts when home stop narrows it to 1 line (#1922)

* fix: PreFare Polish - Inside shuttle (#1941)

* fix: Pre-fare polish - Boundary alerts banner (#1945)

* fix: Pre-fare polish -- Text only resizes for bypassed stations (#1946)

* fix: Pre-fare polish -- Station closed takeover text wrapping (#1947)

* Downstream shuttle endpoint should be a circle (#1948)

* Label splitting logic was buggy (#1949)

* Prefare format in config is "Ashmont & Braintree" not "Ashmont/Braintree" (#1954)

* Sub-header for takeover alert is now regular weight (#1955)

* fix: Prefare alerts polish -- Fix GL headsign in various cases (#1957)

* fix: Prefare polish -- Use FreeText to prevent station text wrapping in subheaders (#1956)

* fix: Prefare polish -- Alerts that break assumptions use the fallback case (#1958)

* fix: Prefare polish -- Reorder audio with alerts before subway status (#1962)

* fix: Prefare polish -- New abbreviation rule (#1961)

* fix: Prefare Alerts polish -- RL headsigns for branch-only alerts (#1967)

* fix: Prefare alerts polish -- Screenplay sim sizing / page layout (#1966)

* fix: Prefare polish -- "via" diagram labels need abbreviating (#1968)

---------

Co-authored-by: Christian Maddox <christian.maddox93@gmail.com>
Co-authored-by: Jon Zimbel <jzimbel@mbta.com>
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