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 story warnings and console dumps #90

Merged
merged 3 commits into from
Mar 19, 2020

Conversation

binh-dam-ibigroup
Copy link
Collaborator

This PR fixes #79 by rendering changing the Storybook story structure as follows:

  • Each component has one story.
  • In each story, the component is rendered in plain style and with the TriMet mock style.
  • In components.story, each component is defined only once and rendered using a story file-level decorator.

The PR also fixes a warning in one story for the FromToLocationPicker component.

There are no changes to the code of the components themselves.

The new layout in Storybook is illustrated with the screenshots below.
image

image

…hat renders both plain and styl

DateTimeSelector story was also combined into components.story. Fix warning in
from-to-location-picker.
@evansiroky evansiroky removed their assignment Mar 19, 2020
Copy link
Member

@fpurcell fpurcell left a comment

Choose a reason for hiding this comment

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

Works great! Ship It.

@fpurcell fpurcell merged commit 8bfcd39 into opentripplanner:master Mar 19, 2020
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.

Storybook: warnings and console.log dump
3 participants