Uh oh!
There was an error while loading. Please reload this page.
Update table dependencies - #814
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| return config; | ||
| } | ||
| }; No newline at end of file |
There was a problem hiding this comment.
Storybook 6 brings totally new configuration files and opinions. Making it work with our own needs..
There was a problem hiding this comment.
@Marc-Andre-Rivet For any package using Storybook >=6, I imagine we now have to add
config.resolve.alias['dash-table']=path.resolve(__dirname,'./../src/dash-table')but specific to the path/package name?
There was a problem hiding this comment.
Yes. But the table is the only project using storybook.
| cy.visit(`http://localhost:8080?mode=${AppMode.Markdown}`); | ||
| // wait for highlight.js to highlight code | ||
| DashTable.getCellById(0, 'markdown-code-blocks').within(() => cy.get('code.language-python span.hljs-title')); | ||
| DashTable.getCellById(0, 'markdown-code-blocks').within(() => cy.get('code.language-python')); |
There was a problem hiding this comment.
highlight.js 10 does not wrap the code in a span anymore, updating the test
| return config; | ||
| } | ||
| }; No newline at end of file |
There was a problem hiding this comment.
@Marc-Andre-Rivet For any package using Storybook >=6, I imagine we now have to add
config.resolve.alias['dash-table']=path.resolve(__dirname,'./../src/dash-table')but specific to the path/package name?
Just some maintenance work -- lest we fall behind and it becomes harder to maintain it up to date.