-
Notifications
You must be signed in to change notification settings - Fork 2
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
Improve style-namespace
helper
#9
Improve style-namespace
helper
#9
Conversation
So I think this looks good. The one thing is this is still reliant on ember-cli-styles/packages/namespace/addon/utils/process-style-type.js Lines 18 to 20 in 4ead8b0
I'm not sure what the long-term support, or support in general, is for that API. |
Well, if it works on Ember 4 right now, it's going to work until at least Ember 5. 😄 We can think what to do when Ember 5 starts approaching. 😃 |
hahaha!! fair point |
@boris-petrov Left a couple of comments. Also, could we switch the commits to be conventional commits, and reference the issue number where applicable? I haven't added a |
Also, let's add this use case to the acceptance tests. |
@webark - I changed the commit messages, is this what you mean by "conventional commits" and reference the issue? I don't see the comments that you've added, where is that? Also, can you point me where exactly I should add a test? I see only "tests" in the dummy app but I'm not sure how that whole thing works. |
can you not see the three comments attached to lines of the changes in the PR? |
Nope. Perhaps try adding them again? |
weird. I just "assigned" this to you.. can you see the review comments now? |
No... can you send me a screenshot of the comments? 😄 |
🤦 I had forgotten to hit submit. sorry @boris-petrov |
And for the test, you can set up a new route in the dummy app, use the differing component name, and then set up an acceptance test to verify it. Cause that process isn't laid out currently, you could add it to the ember-cli-styles/packages/namespace/tests/acceptance/unique-component-paths-test.js Lines 11 to 15 in 1a536fd
ember-cli-styles/packages/namespace/tests/dummy/app/unique-component-paths/template.hbs Line 1 in 1a536fd
Line 1 in 1a536fd
Line 2 in 1a536fd
this is the path of how that test is setup. |
@webark - I believe I did everything you requested! Thanks for the links for the tests - I wouldn't have figured it out on my own. I've added a passing test and I've split the other changes in different PRs. |
…le-namespace; fixes #5
@boris-petrov this has been released. |
Thank you! |
1 similar comment
Thank you! |
Fixes #5
cc @webark
As I mentioned in #5 this fixes the issue for me. Please tell me if this is completely wrong and that it should not be used like that.