webiny-js icon indicating copy to clipboard operation
webiny-js copied to clipboard

Storybook Dialogs are outdated

Open Andrei199991 opened this issue 6 years ago • 2 comments

So, one day I decided to use Webiny Dialogs in order to make an awesome UI for Access Tokens. I immediately copy-pasted the example from our Storybook.

But to my dismay, I was unable to use Dialogs because the imports could not be resolved. For example, DialogHeaderTitle doesn't exist in @webiny/ui/Dialog.

I then inspected the source code and realised that the docs were outdated... 😫

image

Note: This might not be the only outdated component. Someone has to go through and check all of them. 😄

This is:

  • Bug

Specifications

  • OS: Windows 10
  • Browser: Chrome

Expected Behavior

We should see the correct components in the docs. Check the source code.

Actual Behavior

We see the unexisting components such as DialogHeaderTitle in the Code Storybook section.

Steps to Reproduce the Problem

Try importing the currently shown example (which includes the DialogHeaderTitle component), you'll immediately get an error.

Possible Solution

@Pavel910 Perhaps all it takes to solve this issue is redeploying Storybook 😎

Andrei199991 avatar Apr 09 '20 12:04 Andrei199991

Please reopen this issue once you add more information and updates here. If this is not the case and you need some help, feel free to seek help from our Slack Community or ping one of the reviewers. Thank you for your contributions!

adrians5j avatar Oct 14 '20 01:10 adrians5j

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

webiny-bot avatar Dec 13 '20 07:12 webiny-bot