Skip to content

docs(addon-info): lock addon-info to 3.2.12#147

Merged
jeff-phillips-18 merged 1 commit intopatternfly:masterfrom
priley86:fix-storybook
Jan 4, 2018
Merged

docs(addon-info): lock addon-info to 3.2.12#147
jeff-phillips-18 merged 1 commit intopatternfly:masterfrom
priley86:fix-storybook

Conversation

@priley86
Copy link
Member

lock addon-info to 3.2.12 to temporarily address 3.2.18 issues

What:
There is currently a bug when resizing the addon panel:
knobs-panel-broke

This appears to be due to some conflicts with 3.2.18 and some of the newer 3.3 packages now being pulled in semantically.

I first attempted to update all @storybook packages to 3.3.3, however it seems there a few issues which need to be resolved first. I commented on those here and here.

Locking addon-info temporarily seems to resolve the resize issue noted in the giphy above and avoids the new 3.3.3 issues presented upstream.

Once 3.3.3 issues are resolved, we should be able to update all @storybook packages along with removing our currently deprecated usage of the addon-info component.

Link to Storybook:
Working storybook built by these updates is here:
https://rawgit.com/priley86/patternfly-react/fix-storybook-sb/index.html

Additional issues:
nope

@priley86
Copy link
Member Author

cc: @cdcabrera @jeff-phillips-18

@ohadlevy
Copy link
Member

ohadlevy commented Jan 2, 2018 via email

@priley86
Copy link
Member Author

priley86 commented Jan 4, 2018

@ohadlevy i too am very excited about the 3.3 features, have been following those ;)

I think the main problem is the second issue I noted about propTypes and imported constants. It looks like the way we are currently structured is not supported by addon-info/react-docgen. Hopefully they get a fix soon. I just +1'd this issue which has a workaround if we want to use it cc: @sharvit...
reactjs/react-docgen#150

the first issue (around .env) warnings can be resolved by simply creating a new empty .env file. Seems pretty harmless, but I still wanted to complain to them about it 😄

@jeff-phillips-18 jeff-phillips-18 merged commit 00e9ad6 into patternfly:master Jan 4, 2018
@jgiardino jgiardino removed the review label Jan 4, 2018
@priley86 priley86 mentioned this pull request Feb 14, 2018
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.

4 participants