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: storybook local environment #2038

Merged
merged 19 commits into from
Sep 6, 2023
Merged

fix: storybook local environment #2038

merged 19 commits into from
Sep 6, 2023

Conversation

flagrede
Copy link
Collaborator

@flagrede flagrede commented Aug 22, 2023

Description

Closes: #1974

fix:

  • infinite restart issue on local environment 63758d4
  • Buffer issue in some stories 345f648
  • marketplace stories (previously disabled) 8f653e4

Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • provided a link to the relevant issue or specification
  • provided instructions on how to test
  • reviewed "Files changed" and left comments if necessary
  • confirmed all CI checks have passed

How to test

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items
.

I have...

  • confirmed all author checklist items have been addressed
  • reviewed code correctness and readability
  • verified React components follow DRY principles
  • reviewed documentation is accurate
  • reviewed tests
  • manually tested (if applicable)

@netlify
Copy link

netlify bot commented Aug 22, 2023

Deploy Preview for regen-website ready!

Name Link
🔨 Latest commit 6287cad
🔍 Latest deploy log https://app.netlify.com/sites/regen-website/deploys/64f88aa734dceb00084edf1d
😎 Deploy Preview https://deploy-preview-2038--regen-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@flagrede flagrede changed the title fix: fix storybook fix: storybook local environment Aug 23, 2023
@flagrede flagrede force-pushed the fix-1974-fix-storybook branch from 1cebca4 to 6759b36 Compare August 23, 2023 11:19
@flagrede flagrede requested review from a team and removed request for a team August 23, 2023 11:42
@flagrede flagrede force-pushed the fix-1974-fix-storybook branch from d3cc365 to b4c2252 Compare August 24, 2023 13:33
function getFileType(flags) {
if (events.ItemIsFile & flags) return "file";
if (events.ItemIsDir & flags) return "directory";
+ if (events.MustScanSubDirs & flags) return "directory";
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

For more information about this change see this issue: vitejs/vite#14043
The storybook restart issue in local was related to the dependency fsevents used in chodikar (the file watcher used in storybook). The issue has been fixed in the latest version of fsevents but this version seems incompatible on linux atm so we're patching the dependency with the fix in the meantime.

@flagrede
Copy link
Collaborator Author

There's still an issue with the wallet connection.

@flagrede
Copy link
Collaborator Author

Issue mentioned above was not related to the PR, will be fixed here: #2058

@flagrede flagrede force-pushed the fix-1974-fix-storybook branch from 5ff6831 to daced29 Compare August 31, 2023 16:15
@flagrede
Copy link
Collaborator Author

flagrede commented Sep 5, 2023

New fix here: #2066

@flagrede flagrede force-pushed the fix-1974-fix-storybook branch from daced29 to 0a3d236 Compare September 6, 2023 14:16
@flagrede
Copy link
Collaborator Author

flagrede commented Sep 6, 2023

@regen-network/rnd-dev-team the PR is ready for review again.

@flagrede flagrede force-pushed the fix-1974-fix-storybook branch from 0a3d236 to 6287cad Compare September 6, 2023 14:20
Copy link
Member

@blushi blushi left a comment

Choose a reason for hiding this comment

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

Storybook works back again normally in local dev, thanks!

@flagrede flagrede merged commit 7d46d23 into dev Sep 6, 2023
14 checks passed
@flagrede flagrede deleted the fix-1974-fix-storybook branch September 6, 2023 15:29
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.

Fix storybook issues related to Vite migration
2 participants