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

Object content #31

Open
DB-Alex opened this issue Apr 20, 2020 · 7 comments
Open

Object content #31

DB-Alex opened this issue Apr 20, 2020 · 7 comments

Comments

@DB-Alex
Copy link

DB-Alex commented Apr 20, 2020

Is there a way to output the real object instead of "Object"

Now I need to add JSON.stringify to debug

Screenshot 2020-04-20 at 13 07 56

@usulpro
Copy link
Member

usulpro commented Apr 21, 2020

Hey @alexvandervegt
Haven't you noticed those small triangle icons at the left of each line?

image

You can use them to expand any nesting objects

@usulpro
Copy link
Member

usulpro commented Apr 21, 2020

In general I see the problem. This addon is using "actions panel" from addon-actions to output logs. But probably in the next version we'll need to switch to own panel to provide better DX

@usulpro usulpro closed this as completed Apr 21, 2020
@DB-Alex
Copy link
Author

DB-Alex commented Apr 23, 2020

I did see the triangles.

But i do not get information. When i expand them i just see "Object"

@usulpro
Copy link
Member

usulpro commented Apr 23, 2020

Hm... are you passing regular js array? could you test it with something simple?

@DB-Alex
Copy link
Author

DB-Alex commented Apr 23, 2020

It is an object

@usulpro usulpro reopened this Apr 23, 2020
@usulpro
Copy link
Member

usulpro commented Apr 23, 2020

will need to check it.
@alexvandervegt what versions of Storybook and addon are you using?

@DB-Alex
Copy link
Author

DB-Alex commented Apr 23, 2020

Both latest stable

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

No branches or pull requests

2 participants