You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Change Tutorial JavaScript code blocks to use Class Syntax #540
We'd love to have a volunteer for this! Please see Octane MVP for instructions about where to make your PR. Please only volunteer for this issue if you can open a PR with at least part of the work by the end of the next day. Thanks for your help!
To-do
For this issue, we should only make "class syntax" changes to the code blocks within guides/release/tutorial markdown files. Later PRs will fix up the written explanations to go with them. Here's an example of converting to Class syntax:
changed the title [-]Change JavaScript code blocks in the Tutorial to Class Syntax[/-][+]Change JavaScript code blocks in the Tutorial to use Class Syntax[/+]on Mar 1, 2019
changed the title [-]Change JavaScript code blocks in the Tutorial to use Class Syntax[/-][+]Change Tutorial JavaScript code blocks to use Class Syntax[/+]on Mar 1, 2019
Regarding tests, go ahead and open a PR against Octane and we’ll figure out test failures later. We aren’t running CI against that branch yet, due to unfinished redirects
Reacted by Moacir P. de Sá Pereira, Rajasegar Chandran and Mathieu Godart
Activity
[-]Change JavaScript code blocks in the Tutorial to Class Syntax[/-][+]Change JavaScript code blocks in the Tutorial to use Class Syntax[/+][-]Change JavaScript code blocks in the Tutorial to use Class Syntax[/-][+]Change Tutorial JavaScript code blocks to use Class Syntax[/+]muziejus commentedon Mar 1, 2019
I volunteer. Is that sufficient warning to ensure I don't stomp on someone else's work?
jenweber commentedon Mar 1, 2019
Yep! Thanks for the help! Let me know if you have any questions along the way.
jamescdavis commentedon Mar 1, 2019
I volunteer to CR this when the PR is opened. @muziejus, please ping me on the PR.
muziejus commentedon Mar 1, 2019
My one question so far, I think, is about whether I should also be adding decorators?
looks odd to me. It wouldn't be much...
rajasegar commentedon Mar 1, 2019
@muziejus Yes i think, should be
muziejus commentedon Mar 1, 2019
OK, I'll add decorators then.
Another question: tests fail on broken links outside of my realm… and the one inside my realm seems unfixable:
jenweber commentedon Mar 1, 2019
Adding decorators would be awesome!
jenweber commentedon Mar 1, 2019
Regarding tests, go ahead and open a PR against Octane and we’ll figure out test failures later. We aren’t running CI against that branch yet, due to unfinished redirects
Add class syntax to tutorial code blocks. (ember-learn#540)
Add decorators to tutorial code blocks. (ember-learn#540)
rajasegar commentedon Mar 1, 2019
I figured out the test case failures, those are addressed here
#552
Add @classnames decorator to tutorial code blocks (ember-learn#540)
Follow through on glimmerizing components ember-learn#540
Merge pull request #551 from muziejus/octane
muziejus commentedon Mar 6, 2019
@jenweber With the merged PR #551, I think this is now closed?
acorncom commentedon Mar 14, 2019
@muziejus it looks like it, thanks!