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

Implement 'create from React component' logic #24774

Closed
astone123 opened this issue Nov 22, 2022 · 3 comments · Fixed by #24881
Closed

Implement 'create from React component' logic #24774

astone123 opened this issue Nov 22, 2022 · 3 comments · Fixed by #24881
Assignees
Labels
CT Issue related to component testing

Comments

@astone123
Copy link
Contributor

astone123 commented Nov 22, 2022

Implement all of the server-side logic that we need for Create from React Component feature. This should include

  • React component spec file template (see packages/data-context/src/codegen/templates/vue-component/vue-component.ejs for example)
  • Query that takes a path to a file and returns a list of React components in that file, using react-docgen to parse the file

See the Create from React Component tech brief for guidance

Figma designs for reference

@astone123 astone123 added the CT Issue related to component testing label Nov 22, 2022
@baus
Copy link
Collaborator

baus commented Nov 22, 2022

@astone123 astone123 self-assigned this Nov 23, 2022
@cypress-bot cypress-bot bot added stage: needs review The PR code is done & tested, needs review stage: review and removed stage: in progress stage: needs review The PR code is done & tested, needs review labels Nov 29, 2022
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Dec 5, 2022

The code for this is done in cypress-io/cypress#24881, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Dec 6, 2022

Released in 12.0.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v12.0.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Dec 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CT Issue related to component testing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants