Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions guides/release/tutorial/part-1/component-basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,15 @@ When invoking a component, Ember will replace the component tag with the content

Let's try it out by editing the index template:

```handlebars { data-filename="app/templates/index.hbs" data-diff="-1,-2,+3,+7,-8" }
```handlebars { data-filename="app/templates/index.hbs" data-diff="-1,-2,+3,-7,+8" }
<div class="jumbo">
<div class="right tomster"></div>
<Jumbo>
<h2>Welcome to Super Rentals!</h2>
<p>We hope you find exactly what you're looking for in a place to stay.</p>
<LinkTo @route="about" class="button">About Us</LinkTo>
</Jumbo>
</div>

</Jumbo>
```

## Refactoring Existing Code
Expand All @@ -80,7 +79,7 @@ After saving the changes, your page should automatically reload, and, _voilà_..

Let's do the same for our other two pages as well.

```handlebars { data-filename="app/templates/about.hbs" data-diff="-1,-2,+3,+11,-12" }
```handlebars { data-filename="app/templates/about.hbs" data-diff="-1,-2,+3,-11,+12" }
<div class="jumbo">
<div class="right tomster"></div>
<Jumbo>
Expand All @@ -91,11 +90,11 @@ Let's do the same for our other two pages as well.
AND building Ember applications.
</p>
<LinkTo @route="contact" class="button">Contact Us</LinkTo>
</Jumbo>
</div>
</Jumbo>
```

```handlebars { data-filename="app/templates/contact.hbs" data-diff="-1,-2,+3,+19,-20" }
```handlebars { data-filename="app/templates/contact.hbs" data-diff="-1,-2,+3,-19,+20" }
<div class="jumbo">
<div class="right tomster"></div>
<Jumbo>
Expand All @@ -114,8 +113,8 @@ Let's do the same for our other two pages as well.
<a href="mailto:[email protected]">[email protected]</a>
</address>
<LinkTo @route="about" class="button">About</LinkTo>
</Jumbo>
</div>
</Jumbo>
```

After saving, everything should look exactly the same as before, and all the tests should still pass. Very nice!
Expand Down
8 changes: 4 additions & 4 deletions guides/release/tutorial/part-1/orientation.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ To verify that your installation was successful, run:

```shell
$ ember --version
ember-cli: 6.4.0
ember-cli: 6.7.0
node: 18.20.8
os: linux x64
```
Expand All @@ -37,8 +37,8 @@ We can create a new project using Ember CLI's `new` command. It follows the patt

```shell
$ ember new super-rentals --lang en
installing app
Ember CLI v6.4.0
installing classic-build-app-blueprint
@ember-tooling/classic-build-app-blueprint v6.7.0

Creating a new Ember app in /home/runner/work/super-rentals-tutorial/super-rentals-tutorial/dist/code/super-rentals:
create .editorconfig
Expand Down Expand Up @@ -159,7 +159,7 @@ super-rentals
├── package-lock.json
└── testem.js

16 directories, 37 files
17 directories, 37 files
```

We'll learn about the purposes of these files and folders as we go. For now, just know that we'll spend most of our time working within the `app` folder.
Expand Down
2 changes: 1 addition & 1 deletion guides/release/tutorial/part-1/working-with-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public
│ └── teaching-tomster.png
└── robots.txt

4 directories, 6 files
5 directories, 6 files
```

You can verify that everything is working correctly by navigating to `http://localhost:4200/api/rentals.json`.
Expand Down
13 changes: 13 additions & 0 deletions guides/release/tutorial/part-2/ember-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,19 @@ setBuildURLConfig({
namespace: 'api',
});

/* This is to account for a deprecation that shipped in ember-cli 6.4
with ember-data v5.6 which needs a blueprint update to avoid the
deprecation that is otherwise irrelevant for tutorial purposes.
*/
import { registerDeprecationHandler } from '@ember/debug';
registerDeprecationHandler((message, options, next) => {
if (message.includes('Using WarpDrive with EmberJS requires')) {
return;
} else {
next(message, options);
}
});

if (macroCondition(isDevelopingApp())) {
importSync('./deprecation-workflow');
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/tutorial/part-1/automated-testing/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/tutorial/part-1/automated-testing/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/tutorial/part-1/building-pages/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/tutorial/part-1/building-pages/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/tutorial/part-1/building-pages/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/tutorial/part-1/building-pages/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/tutorial/part-1/component-basics/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/tutorial/part-1/component-basics/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/tutorial/part-1/component-basics/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/tutorial/part-1/component-basics/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/tutorial/part-1/component-basics/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/tutorial/part-1/orientation/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/tutorial/part-2/ember-data/[email protected]
Binary file modified public/images/tutorial/part-2/ember-data/[email protected]
Binary file modified public/images/tutorial/part-2/ember-data/[email protected]
Binary file modified public/images/tutorial/part-2/ember-data/[email protected]
Binary file modified public/images/tutorial/part-2/ember-data/[email protected]
Binary file modified ...ages/tutorial/part-2/provider-components/[email protected]
Binary file modified public/images/tutorial/part-2/route-params/[email protected]
Binary file modified public/images/tutorial/part-2/route-params/[email protected]
Binary file modified public/images/tutorial/part-2/route-params/[email protected]
Binary file modified public/images/tutorial/part-2/route-params/[email protected]
Binary file modified public/images/tutorial/part-2/route-params/[email protected]
Binary file modified public/images/tutorial/part-2/route-params/[email protected]