Skip to content

Tutorial Updates #2086

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

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
a44d2df
[CRON] Wednesday Dec 11, 2024
ember-tomster Dec 11, 2024
bb7ce08
[CRON] Thursday Dec 12, 2024
ember-tomster Dec 12, 2024
8d4c59d
[CRON] Friday Dec 13, 2024
ember-tomster Dec 13, 2024
090a9eb
[CRON] Saturday Dec 14, 2024
ember-tomster Dec 14, 2024
5ede7a8
[CRON] Sunday Dec 15, 2024
ember-tomster Dec 15, 2024
defd20b
[CRON] Saturday Dec 21, 2024
ember-tomster Dec 21, 2024
9d703da
[CRON] Sunday Dec 22, 2024
ember-tomster Dec 22, 2024
e0cc277
[CRON] Monday Dec 23, 2024
ember-tomster Dec 23, 2024
b71de31
[CRON] Wednesday Dec 25, 2024
ember-tomster Dec 25, 2024
b0d055b
[CRON] Sunday Dec 29, 2024
ember-tomster Dec 29, 2024
cc74d08
[CRON] Monday Dec 30, 2024
ember-tomster Dec 30, 2024
1f52943
[CRON] Tuesday Dec 31, 2024
ember-tomster Dec 31, 2024
13e4b8c
[CRON] Friday Jan 03, 2025
ember-tomster Jan 3, 2025
98a5de8
[CRON] Saturday Jan 04, 2025
ember-tomster Jan 4, 2025
cef6bb6
[CRON] Friday Jan 10, 2025
ember-tomster Jan 10, 2025
eb6d1fa
[CRON] Saturday Jan 11, 2025
ember-tomster Jan 11, 2025
6f9ecd9
[CRON] Thursday Jan 23, 2025
ember-tomster Jan 23, 2025
5dcb76a
[CRON] Friday Jan 24, 2025
ember-tomster Jan 24, 2025
0805cbe
[CRON] Sunday Jan 26, 2025
ember-tomster Jan 26, 2025
0203473
[CRON] Monday Jan 27, 2025
ember-tomster Jan 27, 2025
2cb9d27
[CRON] Tuesday Jan 28, 2025
ember-tomster Jan 28, 2025
3edc9f8
[CRON] Wednesday Jan 29, 2025
ember-tomster Jan 29, 2025
dccc1b9
Upgrade puppeteer
ember-tomster Apr 8, 2025
bdd4e30
[CRON] Thursday Apr 10, 2025
ember-tomster Apr 10, 2025
294a9a0
[CRON] Tuesday Apr 15, 2025
ember-tomster Apr 15, 2025
6aaa1a5
[CRON] Wednesday Apr 16, 2025
ember-tomster Apr 16, 2025
01fed39
[CRON] Monday Apr 21, 2025
ember-tomster Apr 21, 2025
cb89b67
[CRON] Tuesday Apr 22, 2025
ember-tomster Apr 22, 2025
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
14 changes: 7 additions & 7 deletions guides/release/tutorial/part-1/orientation.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ To verify that your installation was successful, run:

```shell
$ ember --version
ember-cli: 6.0.1
node: 18.20.5
ember-cli: 6.3.1
node: 18.20.8
os: linux x64
```

Expand All @@ -38,13 +38,11 @@ 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.0.1
Ember CLI v6.3.1

Creating a new Ember app in /home/runner/work/super-rentals-tutorial/super-rentals-tutorial/dist/code/super-rentals:
create .editorconfig
create .ember-cli
create .eslintignore
create .eslintrc.js
create .github/workflows/ci.yml
create .prettierignore
create .prettierrc.js
Expand All @@ -53,9 +51,11 @@ Creating a new Ember app in /home/runner/work/super-rentals-tutorial/super-renta
create .template-lintrc.js
create .watchmanconfig
create README.md
create /home/runner/work/super-rentals-tutorial/super-rentals-tutorial/dist/code/super-rentals/eslint.config.mjs
create app/app.js
create app/components/.gitkeep
create app/controllers/.gitkeep
create app/deprecation-workflow.js
create app/helpers/.gitkeep
create app/index.html
create app/models/.gitkeep
Expand Down Expand Up @@ -123,6 +123,7 @@ super-rentals
│ ├── templates
│ │ └── application.hbs
│ ├── app.js
│ ├── deprecation-workflow.js
│ ├── index.html
│ └── router.js
├── config
Expand All @@ -144,8 +145,6 @@ super-rentals
├── .editorconfig
├── .ember-cli
├── .eslintcache
├── .eslintignore
├── .eslintrc.js
├── .gitignore
├── .prettierignore
├── .prettierrc.js
Expand All @@ -155,6 +154,7 @@ super-rentals
├── .watchmanconfig
├── README.md
├── ember-cli-build.js
├── eslint.config.mjs
├── package.json
├── package-lock.json
└── testem.js
Expand Down
7 changes: 6 additions & 1 deletion guides/release/tutorial/part-2/ember-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,17 +334,22 @@ Let's start customizing the things that didn't work for us by default. Specifica

The first thing we want to do is have our builder respect a configurable default host and/or namespace. Adding a namespace prefix happens to be pretty common across Ember apps, so EmberData provides a global config mechanism for host and namespace. Typically you will want to do this either in your store file or app file.

```js { data-filename="app/app.js" data-diff="+5,+6,+7,+8,+9" }
```js { data-filename="app/app.js" data-diff="+6,+7,+8,+9,+10" }
import Application from '@ember/application';
import Resolver from 'ember-resolver';
import loadInitializers from 'ember-load-initializers';
import config from 'super-rentals/config/environment';
import { importSync, isDevelopingApp, macroCondition } from '@embroider/macros';
import { setBuildURLConfig } from '@ember-data/request-utils';

setBuildURLConfig({
namespace: 'api',
});

if (macroCondition(isDevelopingApp())) {
importSync('./deprecation-workflow');
}

export default class App extends Application {
modulePrefix = config.modulePrefix;
podModulePrefix = config.podModulePrefix;
Expand Down
5 changes: 3 additions & 2 deletions public/downloads/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ div,
span,
a,
button {
font-family: Lato, "Open Sans", "Helvetica Neue", "Segoe UI", Helvetica,
Arial, sans-serif;
font-family:
Lato, "Open Sans", "Helvetica Neue", "Segoe UI", Helvetica, Arial,
sans-serif;
line-height: 1.5;
}

Expand Down
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/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.
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.
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.
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]
Binary file modified public/images/tutorial/part-1/orientation/[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 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]
Loading