-
Notifications
You must be signed in to change notification settings - Fork 59
OTP-UI Icons #150
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
OTP-UI Icons #150
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #150 +/- ##
==========================================
+ Coverage 10.51% 11.04% +0.53%
==========================================
Files 107 91 -16
Lines 3796 3612 -184
Branches 1023 968 -55
==========================================
Hits 399 399
+ Misses 2954 2800 -154
+ Partials 443 413 -30
Continue to review full report at Codecov.
|
|
Just noticed that this PR depends on #147. I'm going to unassign myself until that one gets merged into dev. |
|
There are some components I deleted an need to bring back... I will reassign you when done. |
|
Unassigning myself again until #147 is merged. |
landonreed
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments regarding adding a new ModeIcon component to otp-ui (in place of the use of TriMetLegIcon in this repo).
|
@landonreed per a suggestion by @evansiroky, I removed the |
|
@landonreed and @evansiroky, I have updated the opentripplanner/otp-ui packages and updated the examples for custom icon sets accordingly, so you can review. |
landonreed
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@binh-dam-ibigroup, this looks good. I'll condition my approval on merging #164 into this branch.
refactor(icons): move example custom icons into own file
evansiroky
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
Codecov Report
@@ Coverage Diff @@
## dev #150 +/- ##
==========================================
+ Coverage 10.51% 11.04% +0.52%
==========================================
Files 107 91 -16
Lines 3796 3614 -182
Branches 1023 968 -55
==========================================
Hits 399 399
+ Misses 2954 2802 -152
+ Partials 443 413 -30
Continue to review full report at Codecov.
|
landonreed
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @binh-dam-ibigroup. I say let's get this merged and start our final review of this.
|
🎉 This PR is included in version 1.0.0-beta.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This PR removes icons from lib/components/icons and uses those from the OTP-UI icons package instead. The PR also removes unused narrative profile components.
EDITS: Please see the Remarks section below for edits and testing notes.
Remarks
otp-react-redux/example.js
Line 30 in 02fef27
MyModeIconvariable passed to variousModeIconprops, howeverModeIconprops will take effect pending a change inSettingsSelectorPanelin Add classic icons otp-ui#119.(Note that the bus and walk icon sizes are pending OTP release per fix(icons): Adjust relative size of bus and walk icons otp-ui#105 to address this comment) Beware, visual changes taking place! (see screenshots below)
screenshot if using LineItinerary
