-
Notifications
You must be signed in to change notification settings - Fork 34
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
Trip form custom icons #88
Trip form custom icons #88
Conversation
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 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.
I still see the storybook cranking out files to console.log. Would be good to get a fix in place for that.
e.g., when visiting story "Settings Selector Panel Styled":
@storybook/source-loader was applied to a file which does not contain a story. Please check your webpack configuration and make sure to apply @storybook/source-loader only to files containg stories. Related file:
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.
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.
I'd like to see the Storybook warnings (see #79) being pumped out to console.log fixed. The storybook / props obj v. str issue is also something that would be good see to fixed.
That said, let me know if now is not the right time to fix, and I'll switch to approve.
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.
I'm okay approving this now. Ideally w/ a fix to any console.log warnings, but not critical to the lib (think it's all Storybook).
This PR addresses #87 by allowing implements to pass custom icons into
SettingsSelectorPanel
the way OTP-react-redux does, so implementers can optionally use icons in the mode selection pane other than the ones from the OTP-UI icons package. In particular, in OTP-UI icons, the "Take Transit" icon is the TriMet's logo, so with this PR, implementers will be able to change it.This PR also fixes improper knob types used in some storybook stories.