-
Notifications
You must be signed in to change notification settings - Fork 4
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
Deprecation warning: You modified translatedString twice in a single render. This was unreliable in Ember 1.x and will be removed in Ember 2.0 #200
Conversation
erangeles
commented
Oct 6, 2015
Conflicts: tests/unit/components/sl-translate-test.js
2 failing tests, please do not review yet. |
Reviewed 4 of 4 files at r1. Comments from the review on Reviewable.io |
@notmessenger fixed failing tests, ready to be reviewed. |
Review status: 1 of 4 files reviewed at latest revision, 4 unresolved discussions, all commit checks successful. addon/components/sl-translate.js, line 59 [r5] (raw file):
addon/components/sl-translate.js, line 68 [r5] (raw file):
addon/components/sl-translate.js, line 70 [r5] (raw file): tests/dummy/app/controllers/demo.js, line 8 [r5] (raw file): Comments from the review on Reviewable.io |
"Update Values" button in demo app is not updating values in the template Review status: 1 of 4 files reviewed at latest revision, 4 unresolved discussions, all commit checks successful. Comments from the review on Reviewable.io |
for tracking purposes. |
…ervers, removed uneeded tests
Review status: 1 of 5 files reviewed at latest revision, 4 unresolved discussions, some commit checks failed. addon/components/sl-translate.js, line 59 [r5] (raw file): addon/components/sl-translate.js, line 68 [r5] (raw file): addon/components/sl-translate.js, line 70 [r5] (raw file): tests/dummy/app/controllers/demo.js, line 8 [r5] (raw file): Comments from the review on Reviewable.io |
Once you have made all of the modification to addon/components/sl-translate.js take another look at it and see if we still need as many moving pieces as well have to accomplish our goals. I feel like we might be able to simplify it further but it's hard to get a sense of given the number of comments I made that will result in code changes. Will need to see it afterwards to get a better picture. Reviewed 1 of 3 files at r2, 1 of 4 files at r6, 1 of 1 files at r9. addon/components/sl-translate.js, line 38 [r8] (raw file): addon/components/sl-translate.js, line 43 [r8] (raw file): addon/components/sl-translate.js, line 99 [r8] (raw file): addon/components/sl-translate.js, line 106 [r8] (raw file): addon/components/sl-translate.js, line 137 [r8] (raw file): addon/components/sl-translate.js, line 158 [r8] (raw file): addon/components/sl-translate.js, line 79 [r9] (raw file): addon/components/sl-translate.js, line 84 [r9] (raw file): tests/unit/components/sl-translate-test.js, line 42 [r9] (raw file): tests/unit/components/sl-translate-test.js, line 48 [r9] (raw file): tests/unit/components/sl-translate-test.js, line 63 [r9] (raw file): tests/unit/components/sl-translate-test.js, line 125 [r9] (raw file): Comments from the review on Reviewable.io |
Reviewed 2 of 4 files at r6. Comments from the review on Reviewable.io |
Reviewed 1 of 1 files at r7, 1 of 1 files at r8. Comments from the review on Reviewable.io |
Conflicts: tests/unit/components/sl-translate-test.js
forthcoming test push. |
Reviewed 2 of 2 files at r14. addon/components/sl-translate.js, line 45 [r14] (raw file): tests/unit/components/sl-translate-test.js, line 45 [r14] (raw file): Think this entire test needs to be revisited, but will do so in #208 tests/unit/components/sl-translate-test.js, line 63 [r14] (raw file): Then there would be a test case to test the Comments from the review on Reviewable.io |
… recommendation from pr
Review status: 3 of 7 files reviewed at latest revision, 3 unresolved discussions, all commit checks successful. addon/components/sl-translate.js, line 45 [r14] (raw file): tests/unit/components/sl-translate-test.js, line 45 [r14] (raw file): tests/unit/components/sl-translate-test.js, line 63 [r14] (raw file): Comments from the review on Reviewable.io |
There needs to a test that asserts that Reviewed 3 of 4 files at r15, 2 of 2 files at r18. package.json, line 39 [r15] (raw file): tests/unit/components/sl-translate-test.js, line 45 [r15] (raw file): tests/unit/components/sl-translate-test.js, line 137 [r18] (raw file): Comments from the review on Reviewable.io |
package.json, line 57 [r18] (raw file):
which we need to research the impact of. Comments from the review on Reviewable.io |
…to 2.1, added testing for willRender lifecycle hook, refactored sl-translate to accept int keys
addition of "this.setTranslatedString() is called when the willRender() event occurs." test. Review status: 4 of 7 files reviewed at latest revision, 4 unresolved discussions, some commit checks pending. package.json, line 39 [r15] (raw file): package.json, line 57 [r18] (raw file): tests/unit/components/sl-translate-test.js, line 45 [r15] (raw file): tests/unit/components/sl-translate-test.js, line 137 [r18] (raw file): Comments from the review on Reviewable.io |
Reviewed 3 of 3 files at r19, 1 of 1 files at r20. tests/unit/components/sl-translate-test.js, line 159 [r19] (raw file): Comments from the review on Reviewable.io |
Review status: 6 of 7 files reviewed at latest revision, 1 unresolved discussion, some commit checks pending. tests/unit/components/sl-translate-test.js, line 159 [r19] (raw file): Comments from the review on Reviewable.io |
Reviewed 1 of 1 files at r21. Comments from the review on Reviewable.io |
Deprecation warning: You modified translatedString twice in a single render. This was unreliable in Ember 1.x and will be removed in Ember 2.0
@notmessenger the "build" badge on our github repo is failing. I click on it and it says the build is passing in the 'build history' tab. not sure why the build badge isnt reflecting that. |
@erangeles Because it looks at the default branch of the repo (which is master) and only updates itself when there is a push to the branch, which there hasn't been in some time. At some point between when there last was and the status was checked either there was a build failure due to either code or to the CI environment having an issue (most likely the case). When the EmberCLI-1.13.6 branch gets merged into master this should become resolved. |