Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

AP-714 Use storybook docs #81

Merged
merged 15 commits into from
Sep 3, 2019
Merged

AP-714 Use storybook docs #81

merged 15 commits into from
Sep 3, 2019

Conversation

justinanastos
Copy link
Contributor

@justinanastos justinanastos commented Aug 26, 2019

I'd like a cursory "let's get this out ASAP" review please. Leave all the comments you want, but please mark them as non-blocking (FYI, NBD) if they are not critical.


I had to call node in a funky way to allocate enough memory for storybook to build.

See storybookjs/storybook#7092 and storybookjs/storybook#7743

@justinanastos justinanastos force-pushed the justin/storybook-docs branch 5 times, most recently from b9d92ff to b5b2e94 Compare August 26, 2019 20:19
@justinanastos justinanastos changed the title [WIP] Use storybook docs [WIP] AP-714 Use storybook docs Aug 26, 2019
@justinanastos justinanastos force-pushed the justin/storybook-docs branch 3 times, most recently from 2c5f934 to 141d5c6 Compare August 29, 2019 00:01
@justinanastos justinanastos added the skip-release Preserve the current version when merged label Aug 29, 2019
@justinanastos justinanastos force-pushed the justin/storybook-docs branch from 141d5c6 to 8114dd6 Compare August 29, 2019 21:46
@justinanastos justinanastos force-pushed the justin/storybook-docs branch from c60b02a to 917c8ce Compare August 30, 2019 11:59
@justinanastos justinanastos changed the title [WIP] AP-714 Use storybook docs AP-714 Use storybook docs Aug 30, 2019
@justinanastos justinanastos marked this pull request as ready for review August 30, 2019 11:59
@justinanastos justinanastos force-pushed the justin/storybook-docs branch 3 times, most recently from 31f8cf6 to efb405b Compare August 30, 2019 15:20
@justinanastos
Copy link
Contributor Author

Remove all use of css={} in stories! They don't work with the new storybook renderer

@justinanastos justinanastos force-pushed the justin/storybook-docs branch from efb405b to cef5a94 Compare August 30, 2019 19:21
While these seem cool, they fail in two places:

1. They aren't tested with Chromatic besides the default

    Well, nothing is tested with Chromatic now, but they will be when this
    PR lands

2. They aren't very discoverable

    For example, @danimann didn't know tables supported `density`. This is
    where our docs will shine.

Lastly, the types aren't compatible with the new storybook betas so
good-bye 👋
…-typescript

We're not using anything special that we can't get out of the box with
@storybook/preset-typescript, so let's use it
The new storybook docs don't work with using `jsx` as the render pragma.
Therefore, let's just use the less appealing `<ClassNames>` for now.
@justinanastos justinanastos force-pushed the justin/storybook-docs branch from cef5a94 to 651567e Compare August 30, 2019 19:21
@justinanastos justinanastos merged commit 7aae7d9 into master Sep 3, 2019
@justinanastos justinanastos deleted the justin/storybook-docs branch September 3, 2019 11:52
@apollo-bot2
Copy link
Collaborator

🚀 PR was released in v2.3.0 🚀

@apollo-bot2 apollo-bot2 added the released This issue/pull request has been released. label Sep 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
released This issue/pull request has been released. skip-release Preserve the current version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants