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

Addon-Docs: Fix Ember extractArgTypes #10525

Merged
merged 2 commits into from Aug 2, 2020

Conversation

jguze
Copy link

@jguze jguze commented Apr 22, 2020

Issue: #10524

What I did

Modified the return type of extractArgTypes. Seems somewhere in the @next package, it now expects a list of items rather than an object with a rows property.

This also fixes the broken docs examples in the Ember live example.

You can now see the props:
image

…to simply the list of rows instead of an object with a rows parameter
@stale
Copy link

@stale stale bot commented May 13, 2020

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!

@ddoria921
Copy link
Contributor

@ddoria921 ddoria921 commented Jul 11, 2020

@jguze I ran into the same issue. I applied the same fix you did locally and it worked. Although for me I kept getting an empty row at the bottom of the prop table. Did you run into this?
Screen Shot 2020-07-11 at 1 06 30 AM

shilman
shilman approved these changes Aug 2, 2020
Copy link
Member

@shilman shilman left a comment

LGTM. there's actually a bug, but will update it in a follow-on PR!

@shilman shilman changed the title Addon-Docs: Ember - Modified the return object of extractArgTypes in the ember framework Addon-Docs: Fix Ember extractArgTypes Aug 2, 2020
@shilman shilman merged commit 64e6639 into storybookjs:next Aug 2, 2020
7 of 14 checks passed
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

3 participants