ibi-group / trimet-mod-otp

5 stars 5 forks source link

refactor(app.js): Migrate to @opentripplanner icons #260

Closed binh-dam-ibigroup closed 4 years ago

binh-dam-ibigroup commented 4 years ago

This PR migrates trimet-mod-otp to use the new @opentripplanner icon sets. What changes (breaking):

Now depends on #265 .

binh-dam-ibigroup commented 4 years ago

Also @landonreed or @evansiroky, I had to regenerate yarn.lock or I would get an error involving the moment package. Let me know if you are luckier regarding that.

landonreed commented 4 years ago

CSS issues:

Destination icon is incorrect (should be double ring)

image

TriMet rose is too large in mode icon

image

Exclusive modes should be centered

image

radio button selections are not blue (here and in date/time)

image

binh-dam-ibigroup commented 4 years ago

That's a caveat of using the OTP-UI library. The default OTP-RR is ported over, so to avoid that you need to compile the desired style into OTP-RR before hand.

landonreed commented 4 years ago

I'm seeing a prop warning when I plan a trip: trip plan

image

landonreed commented 4 years ago

It looks like the arrow for the collapsible div for walking directions doesn't toggle up/down like it should: image

binh-dam-ibigroup commented 4 years ago

@landonreed, I think we have now a pretty good visual parity between the two with my latest changes to https://github.com/opentripplanner/otp-react-redux/pull/150.

image

landonreed commented 4 years ago

@binh-dam-ibigroup, some more styling issues:

binh-dam-ibigroup commented 4 years ago

@landonreed, changes to trip summary, itinerary footer, and leg header in narrative are pushed in this commit in otp-react-redux.

binh-dam-ibigroup commented 4 years ago

@landonreed, the last commit in this branch uses StandardModeIconfound on newplanner.trimet.org.

binh-dam-ibigroup commented 4 years ago

Blocked pending action on https://github.com/opentripplanner/otp-react-redux/pull/171.

binh-dam-ibigroup commented 4 years ago

Blocking, awaiting #265.