Ember: Fix @storybook/ember#23435
Conversation
5384547 to
6bfb7c0
Compare
12c1990 to
ab9606d
Compare
|
With storybookjs/ember-cli-storybook#183, I updated the sandbox template to ember 4.12 and it worked. |
|
@francois2metz Thank you for putting the effort here 🙏 . Looking forward to this PR to be merged 👍 |
|
Small bump to get this merged soon! 🙏 Thanks for contributing @francois2metz ! |
|
Hi @sebasjimenez10, @esbanarango and thanks! Could you test to see if it's working for you? |
|
I did try locally from a fresh storybook clone with Node18 and Ember4. I followed the steps described in the description. A few notes:
|
|
I retried from a fresh clone, using Node16 and got the same results. |
1e9eee0 to
8a5401f
Compare
|
The code changes relating to the core & sandboxes all look 👍 to me. I can't really say anything meaningful about the ember changes. |
|
We actually got it working on https://ui.pix.fr using https://github.com/1024pix/pix-ui/blob/928360355e9b4a63a48a42606373af66d01208b8/package.json#L62 :) |
8a5401f to
01656ce
Compare
061f87d to
c3d59e5
Compare
|
@francois2metz I got CI green in #25162. If you can update this PR with those changes, we should be able to get this one green |
|
I fixed the template names and it worked. Nothing that I can understand. |
|
It's greeeeeeeeeeeeeeeeeeeen 🥳 🎉 |
shilman
left a comment
There was a problem hiding this comment.
Great job @francois2metz !! Thanks so much for bearing with us on this one 😅
|
thanks @shilman. I would love to backport this PR on the 7.x branch. What do you think? |
|
@shilman is it not possible to get this backported to 7.x? I'm assuming a stable 8 release is still quite a while away. |
|
Yeah, a backport to v7 sounds nice and we can have a stable sb@v7 with an stable ember version. But also:
I think it makes more sense to improve the DX for working with sb@8 at ember and aim at for a good experience once that hits a final release (given there is low capa from ember side, this might be converging on either schedules). That is a very sober view on the practical side of things, which I see very realistic - I'm still with you on how that looks and rest assured my perfectionistic artistic sense is hammering this message into me, too 😬 |
|
@chasegiunta we typically only patch very small, non-disruptive changes and I would say this doesn't qualify. Fortunately, we're shooting for an 8.0 release at end of Feb, so it isn't too far out at this point. |



Closes #20653
What I did
This PR fixes the ember addon on the latest 7.0 release. It was also broken on the 6.0.0 release since #17843.
The code has been updated to install ember with the webpack builder and the patch #17843 has been reverted.
To make thinks easier to test, I added two sandbox templates for ember 3 and ember 4.
How to test
Well, that's the fun part
Ember 3
yarn task --task dev --template ember/3-js --start-from=installsandbox/ember-3-jsember-auto-importto^2.0.0.ember-qunitto^6.0.0.yarnyarn add @storybook/ember-cli-storybookyarn build && yarn storybookEmber 4
yarn task --task dev --template ember/default-js --start-from=installChecklist
MIGRATION.MD
Maintainers
ci:normal,ci:mergedorci:dailyGH label to it to run a specific set of sandboxes. The particular set of sandboxes can be found incode/lib/cli/src/sandbox-templates.ts["cleanup", "BREAKING CHANGE", "feature request", "bug", "documentation", "maintenance", "dependencies", "other"]🦋 Canary release
This pull request has been released as version
0.0.0-pr-23435-sha-bd98198e. Install it by pinning all your Storybook dependencies to that version.More information
0.0.0-pr-23435-sha-bd98198efix-ember-3.28bd98198e1692544911)To request a new release of this pull request, mention the
@storybookjs/coreteam.core team members can create a new canary release here or locally with
gh workflow run --repo storybookjs/storybook canary-release-pr.yml --field pr=23435