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

CLI/Vue: add interactions to vue cli template #18021

Merged

Conversation

italoteix
Copy link
Contributor

Issue: #16722

What I did

Similar to PR #17345. Added interactions to Vue cli template.

How to test

Build cli locally and run repro to select Vue as a framework

  • Is this testable with Jest or Chromatic screenshots?
  • Does this need a new example in the kitchen sink apps?
  • Does this need an update to the documentation?

If your answer is yes to any of these, please make sure to include it in your PR.

@nx-cloud
Copy link

nx-cloud bot commented Apr 21, 2022

☁️ Nx Cloud Report

CI is running/has finished running commands for commit e69896d. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

@yannbf yannbf added feature request cli vue patch:yes Bugfix & documentation PR that need to be picked to main branch addon: interactions labels Apr 22, 2022
@yannbf
Copy link
Member

yannbf commented Apr 22, 2022

Thanks for your contribution @italoteix! Unfortunately it seems like the Vue rendering engine has some sort of delay which ends up impacting the tests that ran in the play function, so they fail. I'm not sure what to do here

lib/cli/src/frameworks/vue/Page.vue Outdated Show resolved Hide resolved
Copy link
Member

@yannbf yannbf left a comment

Choose a reason for hiding this comment

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

This PR is good! It surfaces an issue with the vue2 renderer (might be related to how it handles args before rendering stories), but overall the PR is all good! Thanks @italoteix

@yannbf yannbf merged commit e4fec0b into storybookjs:next Apr 25, 2022
@shilman shilman added the patch:done Patch/release PRs already cherry-picked to main/release branch label May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addon: interactions cli feature request patch:done Patch/release PRs already cherry-picked to main/release branch patch:yes Bugfix & documentation PR that need to be picked to main branch vue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants