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

Angular: Filter out args whose argType are missing a control or action #14779

Merged
merged 2 commits into from May 2, 2021

Conversation

ThibaudAV
Copy link
Contributor

@ThibaudAV ThibaudAV commented May 1, 2021

Issue: TODO

What I did

Only keeps args with a control or an action in argTypes

In order to avoid that private properties found by compodoc are used in agrs

How to test

  • 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 May 1, 2021

Nx Cloud Report

CI ran the following commands for commit 97631ce. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch

Status Command
#000000 nx run-many --target=prepare --all --parallel --max-parallel=15

Sent with 💌 from NxCloud.

@ThibaudAV ThibaudAV marked this pull request as ready for review May 1, 2021 17:51
@ThibaudAV ThibaudAV requested a review from a team May 1, 2021 17:51
Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

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

LGTM! 💯

@shilman shilman changed the title Angular: only keeps args with a control or an action in argTypes Angular: Filter out args whose argType are missing a control or action May 2, 2021
@shilman shilman merged commit f4a4bcf into next May 2, 2021
@shilman shilman deleted the angular/clean-args branch May 2, 2021 08:23
@ThibaudAV
Copy link
Contributor Author

@shilman I had noted all these issues that are related to this topic. and I hope "solved" with this 🤞

#14627
#14519
https://github.com/storybookjs/storybook/issues/14520

#14732
#11613

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants