-
-
Notifications
You must be signed in to change notification settings - Fork 144
fix: Remove ember-cli-string-helpers #1672
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
fix: Remove ember-cli-string-helpers #1672
Conversation
89ce028
to
5aeda19
Compare
This PR can be merged (CI will get green) once #1671 is merged. |
d522b5f
to
ffd89a8
Compare
I'm bumping into surprising amount of hurdles. This bundles multiple fixes along the way of the core of removing It always goes down to something like:
And I can't figure out why it can't find said package in the app bundle when doing the embroider specific build. For non-embroider builds this works ok. |
Anywho: Ready for review @SergeAstapov |
@@ -1,32 +1,26 @@ | |||
{{#if this.media.isMobile}} |
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.
@MichalBryxi did this leak somehow as pr title only says about ember-cli-string-helpers
?
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.
Ah sorry, yes. First this PR needs to be merged: #1676
- This pulls @ember/string 3.1.1 into dependent project and that causes a lot of issues - Since we have `capitalize` in @ember/string, we can just call that in our internal helper - Also bumped internal version of @ember/string to v4.x Fixes ember-learn#1666
- As per [ember-tether documentation](https://github.com/yapplabs/ember-tether) in testing mode we have to make sure that the portal is attached to correct DOM scope > Tether works by appending tethered elements to the <body> tag. Unfortunately, this moves your content outside of the Ember application rootElement during acceptance testing. This breaks event dispatch and action handling, including traditional Ember test helpers like click. This fixes all tests that fail because search popup can't be find.
9260297
to
3ea95ac
Compare
Ok so now this PR works. It only does:
Ready for merge @SergeAstapov |
Yay \o/ |
Core
capitalize
in @ember/string, we can just call that in our internal helperAlso bumped internal version of @ember/string to v4.x-> I could not make it work, next stepFixed tests
Fixes #1666