-
Notifications
You must be signed in to change notification settings - Fork 877
Conversation
7a1ba4f
to
f7d6a62
Compare
aaf39de
to
65a5f89
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At least toh 1,2,3,7 have problems with the headers not showing the entire path. In the pt7 is on the tabs at the end and perhaps it is not a good idea to add them, will clutter the header like hell.
@@ -20,7 +20,7 @@ block qs-src-online-and-local | |||
<span if-docs="ts">takes a _metadata_ object. The metadata object</span> describes how the HTML template and component class work together. | |||
|
|||
The `selector` property tells Angular to display the component inside a custom `<my-app>` tag in the `index.html`. | |||
+makeExample('index.html','my-app','index.html (inside <body>)')(format='.') | |||
+makeExample('src/index.html','my-app','index.html (inside <body>)')(format='.') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this say src/index.html (inside <body>)
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, because in the quickstart you are looking at the plunker.
@@ -110,25 +110,32 @@ block core-files | |||
Focus on the following three TypeScript (`.ts`) files in the **`/app`** folder. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the /src
folder. You can also specify it more if you want.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Whenever a new Typescript, HTML or CSS file is created, it should go inside the `src/` directory (unless noted otherwise). | ||
This is the folder containing your app itself. | ||
|
||
Outside `src/` are files meant to support your app, like configuration files and external dependencies. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not wrong, but this sentence and then a table with files, I thought for a minute that the list of files were the ones meant to be outside src/
. There needs to be another sentence or something to present the table.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed by changing the paragraph order.
.children | ||
.file app.component.ts | ||
.file app.module.ts | ||
.file src |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason, the tree doesn't show as we expect to.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, not only src, is screwed up completely.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
@@ -69,13 +71,13 @@ code-example(language="sh" class="code-shell"). | |||
Create a `Hero` class with `id` and `name` properties. | |||
For now put this near the top of the `app.component.ts` file, just below the import statement. | |||
|
|||
+makeExample('toh-1/ts/app/app.component.ts', 'hero-class-1', 'app.component.ts (Hero class)')(format=".") | |||
+makeExample('toh-1/ts/src/app/app.component.ts', 'hero-class-1', 'app.component.ts (Hero class)')(format=".") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the header needs to be updated. Well, all of them in the file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
You can read about moving your existing project to this structure in | ||
[the QuickStart repo update instructions](https://github.com/angular/quickstart#updating-to-a-newer-version-of-the-quickstart-repo). | ||
* `app/` has been moved to `src/app/` | ||
* `src/app/main.ts` has been moved to `src/main.ts` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't be better to say:
app/main.ts
is not at src/main.ts
or something like that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
* `src/app/main.ts` has been moved to `src/main.ts` | ||
* `index.html`, `styles.css` and `tsconfig.json` have been moved inside `src/` | ||
* `systemjs.config.js` now imports `main.js` instead of `app`. | ||
* There is a new `bs-config.json` file at root to configure `lite-server` to serve `src/` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sentence needs rewording, too many "to"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reworded
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored by someone other than the pull request submitter. We need to confirm that they're okay with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the |
1 similar comment
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored by someone other than the pull request submitter. We need to confirm that they're okay with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the |
47ebe4d
to
cec1f33
Compare
* boilerplate, gulpfile, quickstart * move ts files up to cookbooks * move rest of ts files * fix tsconfig, default build task, json file * fix js examples * fix webpack example * remove a2docs.css references * fix aot examples * fix webpack run task * fix cb-i18n * fix upgrade examples * fix unit tests * fix comment in deployment index * removed unused typings.json * fix plunkers * fix js example paths * fix ts quickstart/setup prose * add src folder note to setup * broadly replace app/ -> src/app/ * broadly replace main.ts * broadly replaced index.html * broadly replace tsconfig * replace systemjs * fix filetrees * Minor prose fixes to aot, i18n cookbooks * remove char harp was complaining about * update new reactive forms example * fix quickstart jade error * fix mistakes uncovered by CI * fix bad filename errors * edit style guide 04-06 rule to use src * add changelog * Incorporate Jesus's feedback * fix snippet headers in toh1/2 * chore: tweak changelog and setup text
Should be merged together with angular/quickstart#362.