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 grabbing a user's storybook config #2002

Merged
merged 2 commits into from
Mar 16, 2021
Merged

Conversation

jtoar
Copy link
Contributor

@jtoar jtoar commented Mar 15, 2021

We have the wrong var name for grabbing the user's storybook config (redwood.web.storybook instead of redwood.web.storybookConfig). Nothing breaks (since node just thinks that the file doesn't exist), but the feature also doesn't work.

storybookConfig: string

We named it storybookConfig because we expect to add a storybookPreview. I just forgot to propagate the change:

@jtoar jtoar added bug/confirmed We have confirmed this is a bug topic/storybook labels Mar 15, 2021
@jtoar jtoar self-assigned this Mar 15, 2021
@github-actions
Copy link

github-actions bot commented Mar 15, 2021

📦 PR Packages

Click to Show Package Download Links

https://rw-pr-redwoodjs-com.s3.amazonaws.com/2002/create-redwood-app-0.27.1-628bef5.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2002/redwoodjs-api-0.27.1-628bef5.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2002/redwoodjs-api-server-0.27.1-628bef5.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2002/redwoodjs-auth-0.27.1-628bef5.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2002/redwoodjs-cli-0.27.1-628bef5.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2002/redwoodjs-core-0.27.1-628bef5.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2002/redwoodjs-dev-server-0.27.1-628bef5.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2002/redwoodjs-eslint-config-0.27.1-628bef5.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2002/redwoodjs-eslint-plugin-redwood-0.27.1-628bef5.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2002/redwoodjs-forms-0.27.1-628bef5.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2002/redwoodjs-internal-0.27.1-628bef5.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2002/redwoodjs-prerender-0.27.1-628bef5.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2002/redwoodjs-router-0.27.1-628bef5.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2002/redwoodjs-structure-0.27.1-628bef5.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2002/redwoodjs-testing-0.27.1-628bef5.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2002/redwoodjs-web-0.27.1-628bef5.tgz

Install this PR by running yarn rw upgrade --pr 2002:0.27.1-628bef5

@cypress
Copy link

cypress bot commented Mar 15, 2021



Test summary

11 0 1 0


Run details

Project RedwoodJS Framework
Status Passed
Commit a87e29d ℹ️
Started Mar 16, 2021 8:40 PM
Ended Mar 16, 2021 8:42 PM
Duration 02:39 💡
OS Linux Ubuntu - 20.04
Browser Chrome 89

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@jtoar jtoar marked this pull request as ready for review March 15, 2021 01:00
@jtoar jtoar requested a review from peterp March 15, 2021 01:00
Copy link
Contributor

@jangxyz jangxyz left a comment

Choose a reason for hiding this comment

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

perfect!

@peterp peterp added this to the next release milestone Mar 16, 2021
@peterp peterp merged commit 39712a8 into main Mar 16, 2021
@thedavidprice thedavidprice deleted the ds-fix-storybook-user-config branch March 17, 2021 04:54
dac09 added a commit to dac09/redwood that referenced this pull request Mar 22, 2021
…r-rwt-link

* 'main' of github.com:redwoodjs/redwood: (26 commits)
  Router: Fix auth (redwoodjs#2038)
  Steps towards a11y for Redwood Router (redwoodjs#1817)
  Router: <Set wrap={}> (redwoodjs#1898)
  Pass event and context into getCurrentUser (redwoodjs#1908)
  Implement Redwood API side Logger (redwoodjs#1937)
  Fixed path on windows to allow for pages under subdirectories (redwoodjs#2022)
  Add experimental ESBuild for api side (redwoodjs#1948)
  Upgrade to Prisma 2.19.0 (Prisma Migrate GA) (redwoodjs#2021)
  Fix lint breaking when deleting a side (redwoodjs#2017)
  Refactor: Converted Prisma.ts to js (redwoodjs#1958)
  Fix issue with verify email redirect using Auth0 (redwoodjs#1990)
  add GitHub Action CodeQL Analysis (redwoodjs#1951)
  fix: correct var name for grabbing user config (redwoodjs#2002)
  Create functions to fs calls (redwoodjs#2007)
  Return signup Output (redwoodjs#1992)
  Add makeExecSchema options (redwoodjs#1964)
  upgrade gotrue-js to 0.9.29 (redwoodjs#2011)
  Azure Active Directory Auth: Adding try-catch block on callback to capture empty key (redwoodjs#2010)
  withCellHOC: Fix TS error (redwoodjs#1967)
  Update error message in tasks/publish-local to point to tasks/run-local-npm when Verdaccio isn't running (redwoodjs#2004)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/confirmed We have confirmed this is a bug topic/storybook
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants