-
Notifications
You must be signed in to change notification settings - Fork 5
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
WRQ-22937: Updated storybook to version 8 #791
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feature/enact_v5 #791 +/- ##
=================================================
Coverage 85.13% 85.13%
=================================================
Files 120 120
Lines 4507 4507
Branches 1237 1237
=================================================
Hits 3837 3837
Misses 523 523
Partials 147 147 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
We have the same issue I mentioned on enactjs/sandstone#1588 about native HTML scrollbar on globals list.
Could you please rebase your branch with the latest |
…nto feature/storybook8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* WRQ-22937: Updated storybook to version 8 (#791) * updated storybook to version 8.1.5 * Fixed custom toolbars for acent, hightlight and default skin styles * code review fixes * removed parasite div * code review fixes * eslint fixes * removed unneeded storybook ui props * updated storybook to 8.1.6 and storybook-tils branch to enact_v5 * removed docs configuration and docs information in About story * WRQ-25915: Added custom site icon for sampler app (#793) * added custom site icon for storybook * Apply suggestions from code review * removed manager-head.html --------- Co-authored-by: Stanca <stanca.pop@lgepartner.com> * WRQ-17541: Fix Marquee to not override marqueeDirection (#794) * Fix Marquee to not override marqueeDirection * modify travis.yml to verify * remove null * modify travis.yml to verify 2 * WRQ-29126: Updated storybook to 8.2 (#799) * Updated storybook to 8.2 and applied latest patch version * updatet storybook dependencies to use latest minor version * changed package order --------- Co-authored-by: Mikyung Kim <mikyung27.kim@lge.com> * WRQ-30274: Prepare for merging `feature/enact_v5` to `develop` branch (#803) * WRQ-7108: Remove unnecessary vendor prefixes (#784) * WRQ-7108: Remove unnecessary vendor prefixes Enact-DCO-1.0-Signed-off-by: Jiye Kim (jiye.kim@lge.com) * remove more vendor prefix * remove more vendor prefix Enact-DCO-1.0-Signed-off-by: Jiye Kim (jiye.kim@lge.com) * WRQ-25866: Update package dependencies to fix security vulnerabilities. (#795) * Updated dependencies for agate library. * Updated shrinkwrap * WRP-26873: Fixed partial Panels' transition on horizontal (#757) * Fixed partial transition * Fixed lint warnings * Added code was covered by tests * Added CHANGELOG * Review fixes * Restored style changes * Update CHANGELOG.md * Fixed changelog Enact-DCO-1.0-Signed-off-by: Mikyung Kim (mikyung27.kim@lge.com) * Review fixes * Review fixes * fix Enact-DCO-1.0-Signed-off-by: Mikyung Kim (mikyung27.kim@lge.com) --------- Co-authored-by: Daniel Stoian <63335068+daniel-stoian-lgp@users.noreply.github.com> Co-authored-by: Mikyung Kim <mikyung27.kim@lge.com> * Update dependencies and sampler version to 2.0.11 * WRQ-29884: Change cli branch in travis.yml to master (#800) Enact-DCO-1.0-Signed-off-by: Jiye Kim (jiye.kim@lge.com) * WRQ-29957: Fixed VirtualGridList story to load default values (#801) * WRQ-29884: Change cli branch in travis.yml to master (#800) Enact-DCO-1.0-Signed-off-by: Jiye Kim (jiye.kim@lge.com) * fixed virtualgridlist story to load default values * minor fix --------- Co-authored-by: Jiye Kim <128779942+vJIYEv@users.noreply.github.com> * Update a change log for 2.0.11 * Version value updating * fix travis.yml Enact-DCO-1.0-Signed-off-by: Jiye Kim (jiye.kim@lge.com) * change travis dist from focal to jammy Enact-DCO-1.0-Signed-off-by: Jiye Kim (jiye.kim@lge.com) * remove empty options Enact-DCO-1.0-Signed-off-by: Jiye Kim (jiye.kim@lge.com) * update enact dependencies in package.json Enact-DCO-1.0-Signed-off-by: Jiye Kim (jiye.kim@lge.com) * Updated sampler's npm shrinkwrap --------- Co-authored-by: alexandru-morariu-lgp <84004128+alexandrumorariu@users.noreply.github.com> Co-authored-by: ion-andrusciac-lgp <122601449+ion-andrusciac-lgp@users.noreply.github.com> Co-authored-by: Daniel Stoian <63335068+daniel-stoian-lgp@users.noreply.github.com> Co-authored-by: Mikyung Kim <mikyung27.kim@lge.com> Co-authored-by: taeyoung.hong <taeyoung.hong@lge.com> Co-authored-by: Jenkins <accounts@enactjs.com> --------- Co-authored-by: Daniel Stoian <63335068+daniel-stoian-lgp@users.noreply.github.com> Co-authored-by: Stanca <stanca.pop@lgepartner.com> Co-authored-by: taeyoung.hong <taeyoung.hong@lge.com> Co-authored-by: taeyoung.hong <35059065+hong6316@users.noreply.github.com> Co-authored-by: Jiye Kim <128779942+vJIYEv@users.noreply.github.com> Co-authored-by: alexandru-morariu-lgp <84004128+alexandrumorariu@users.noreply.github.com> Co-authored-by: ion-andrusciac-lgp <122601449+ion-andrusciac-lgp@users.noreply.github.com> Co-authored-by: Jenkins <accounts@enactjs.com>
Checklist
Issue Resolved / Feature Added
Storybook needed to be updated to the latest version
Resolution
Updated list of storybook dependencies and their version to v8.x based on the migration guide https://github.com/storybookjs/storybook/blob/next/MIGRATION.md
Changed configuration based on the storybook v7 and v8 requirements
main.js:
core.builder
information replaced byframework.name
.experimental_indexers
information was added inmain.js
preview.js
:accent
,highlight
anddefault skin styles
need to be declared as globalTypes in order to be updated from the to0lbarcustom-addon/Toolbar.js:
TooltipLinkList
left
property was renamed toicon
, (https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#removals-in-storybookcomponents) but the new property generates a narrow span. I had to move the content insidecustom-addon/ColorPicker
componentWithTooltip component has renamed properties (https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#props-from-withtooltipcomponent-from-storybookcomponents)
custom-addon/ToolbarTab.js - Icon component is deprecated and we do not need a replacement
package.json storybook dev and build commands adapted to v8 naming.
new root container id used by storybook is called "storybook-root". This change breaks enact's logic to apply spotlight related styling in SpotlightRootDecorator https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#change-of-root-html-ids ThemeDecorator already has a rootId prop and can be set from the sampler app to
storybook-root
, but it was not passed to SpotlightRootDecorator. A PR in enact repo is needed also and is attached to the user storymanager.js
: The state and API for the UI layout has changed https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#ui-layout-state-has-changed-shapeAdditional Considerations
Note: although docs is disabled, I left the docs configuration intact in preview.js. It does not affect current configuration and will be needed when we activate docs
Links
WRQ-22937
Comments
Enact-DCO-1.0-Signed-off-by: Daniel Stoian (daniel.stoian@lgepartner.com)