2465 Commits

Author SHA1 Message Date
Andrew Scott
4cb11cc4e7 docs: add note about why module import order is important ()
Fixes 

PR Close 
2021-05-26 14:21:53 -07:00
Joey Perrott
4e9b61aaf9 docs: remove/update broken links in resources appearing on aio ()
Remove or update broken links to resources from the resources and
contributors pages on aio.

Closes 

PR Close 
2021-05-26 14:21:12 -07:00
David Shevitz
bd51762d6e docs: add section on binding to passive events ()
fixes 

PR Close 
2021-05-26 20:06:57 +00:00
David Shevitz
de8a6ae9ed docs: add example that exports a part of an animation for reuse ()
Fixes 

PR Close 
2021-05-26 20:06:28 +00:00
Andrew Kushnir
b2eab977d9 docs: remove entryComponents references from the custom elements guide ()
Since `entryComponents` field is deprecated and no longer used in Ivy, this commit removes `entryComponents` references from the custom elements guide.

Closes .

PR Close 
2021-05-26 20:06:00 +00:00
Igor Minar
38b0e71cb2 docs: move the schematics under Angular Tools menu section ()
In  Alan noted that schematics is currently misplaced and should really be under the Angular Tools menu item.

In that issue, Alan also noted the "Angular Compiler" and "Angular CLI" are not refereced from here.
Since the issue was created "Angular Compiler" has already been moved under "Angular Tools".

Angular CLI is documented throughout the docs, and the "CLI Command Reference" under References is really just a reference
so it seems correctly located.

Fixes 

PR Close 
2021-05-26 20:05:12 +00:00
Igor Minar
40bbcaa12d docs: move and update browser compatibility docs to browser-support guide ()
I simplified the content significantly since most of it is not relevant any more.

Fixes 

PR Close 
2021-05-26 20:04:13 +00:00
Sam Severance
da1a868ec2 docs: add missing await to BannerComponent unit test ()
PR Close 
2021-05-26 20:03:46 +00:00
Sam Severance
caf15da651 docs: fix BannerComponent unit tests ()
remove `async` and `await` from `BannerComponent` test because the
component uses an inline template and styles

create doc region in `banner-external.component.spec.ts` demonstrating
test setup that may fail due to a missing call to `.compileComponents()`
for a component with an external template and stylesheet

PR Close 
2021-05-26 20:03:46 +00:00
Serguei Cambour
0166391402 docs: edit project structure description ()
- improve `app` folder description: an initial skeleton app project, also called angular-tour-of-heroes (in the src subfolder), there is no `angular-tour-of-heroes` in the `src` subfolder.
- an end-to-end test project (in the e2e subfolder) removed as does not exist/was not created
PR Close 
2021-05-26 20:01:08 +00:00
Sam Severance
74ebdf6fdc docs: refactor HeroDetailComponent and unit test ()
remove `@Input()` decorator from `hero` property because the component
is designed to get the hero via a service, not an input binding.

add `HTMLElement` type to `HeroDetailComponent` unit test

PR Close 
2021-05-26 20:00:35 +00:00
Teri Glover
b7721aa630 docs: Edit correction to remove jargon in Release section ()
PR Close 
2021-05-25 22:14:30 +00:00
Teri Glover
8109cba576 docs: Edits to remove jargon ()
PR Close 
2021-05-25 22:14:30 +00:00
Pete Bacon Darwin
850028d000 docs: remove VS 2015 guide ()
This guide is outdated and doesn't appear in the navigation.

Fixes 

PR Close 
2021-05-25 22:14:02 +00:00
Pete Bacon Darwin
c2ed612da3 docs: convert the last my-app components to app-root ()
Most of these were fixed in other PRs but there were are couple of stragglers.
Note that `my-app` components in non-documentation facing code, such as
compliance tests have not been changed.

Fixes 

PR Close 
2021-05-25 22:13:36 +00:00
Andrew Scott
b0581f3117 docs: add link to the style precedence guide in ivy compatibility ()
fixes 

PR Close 
2021-05-25 22:12:14 +00:00
Joey Perrott
bdd3cca9ab docs: update wording for angular libraries mapping peer dependencies ()
Update the wording for Angular Libraries mapping of peer dependencies to make
it clearer that only the parts of @angular/* that the library depends on
should be marked as peer dependencies.

Closes 

PR Close 
2021-05-25 22:09:51 +00:00
Pete Bacon Darwin
063d1789c2 docs: move "Browser Support" page in navigation tree ()
Closes 

PR Close 
2021-05-25 22:09:25 +00:00
Andrew Scott
2ff5bfe139 docs: fix documentation of guard execution order ()
The current documentation of the `CanDeactivate`, `CanActivate`, and
`CanActivateChild` guard execution order is incorrect. This commit
corrects the documentation. For reference, see https://stackblitz.com/edit/angular-canactivatechild-nqp1f7

Fixes 

PR Close 
2021-05-25 17:54:52 +00:00
Igor Minar
dc6bff10ac docs: clarify the definition of the bundle bundget defaults with strict mode ()
Previously we didn't clarify that the stricter defaults have no impact on existing
projects, and we also didn't define the default values for bundle budgets.

Fixes 

PR Close 
2021-05-25 17:54:05 +00:00
David Shevitz
1955dbb048 docs: remove references to CheckAlways and CheckOnce ()
Fixes 

PR Close 
2021-05-25 17:53:23 +00:00
Alan Agius
d15a6a3a71 docs: update web-worker syntax ()
With this change we update the worker initialization syntax to reflect that used in Angular CLI 12.

Closes 

PR Close 
2021-05-25 17:52:58 +00:00
Andrew Scott
29e5d509aa docs: clarify expectations for ActivatedRoute observables ()
https://github.com/angular/angular/issues/16261#issuecomment-748289240

A couple important things to note about the behavior:

* The component is destroyed, meaning that all of its members will be destroyed as well, including any subscriptions to the route params
* This _does not_ mean that any `finalize` operators or `complete` on the subscription is called. This only happens if the source completes or you unsubscribe from the subscription. The documentation doesn't state that the `Router` will do this, though I can still understand why the behavior is confusing.

You can play around with these scenarios here:
https://stackblitz.com/edit/rxjs-hmpizx
* `complete` the source without unsubscribe: `next`, `complete` and `finalize` are all called, even when `complete` is called before the `next` from the `delay`
* `unsubscribe` from subscription without `complete` on the source: `finalize` happens, but the `complete` of the subscription does not, and neither does `next`

So even if the `Router` were to call `complete` on all of the `Observables` on an `ActivatedRoute`, you would see that any subscriptions with a `delay` operator would still get called.

resolves 

PR Close 
2021-05-25 17:52:32 +00:00
Zach Arend
1c3fe69f92 docs: change Zeit -> Vercel ()
In the deployment guide on AIO, change the Zeit company name to Vercel.
This is because Zeit rebranded to Vercel. Also update link to point to
Vercel's page about angular.

Fixes 

PR Close 
2021-05-25 02:43:38 +00:00
Igor Minar
44c8f46131 docs: fix ng-for link in structural-directives.md ()
Correctly the reference to ng-for as `NgForOf` so that we get the word linked to the API page.

`NgFor` is not a JavaScript symbol so the docs infra doesn't autolink to the API page unless
we use the correct symbol name - `NgForOf`.

PR Close 
2021-05-25 02:43:12 +00:00
David Shevitz
1040697787 docs: remove sentence about how the not reloading the page. ()
Fixes 

PR Close 
2021-05-24 15:42:42 -07:00
Sam Severance
29ece98744 docs: asynchronous test spy method ()
fixes two `HeroService` tests that were synchronously
testing an asynchronous spy method

PR Close 
2021-05-24 15:18:43 -07:00
twerske
080211264f docs: remove kapunahele ()
PR Close 
2021-05-24 15:18:17 -07:00
Sam Severance
ad12b31c27 docs: unsubscribe from observables ()
Add rxjs `first` operator in `DashboardHeroComponent` unit
tests to ensure unsubscription from observables

PR Close 
2021-05-24 15:16:52 -07:00
Zach Arend
cb48bde35d docs: in toh-pt5, navigate back to home page after going to /heroes ()
This fixes an issue in part 5 of the Tour of Heroes tutorial on
angular.io. At the end of the `Add RouterOutlet` section, the reader navigates to
`"/heroes"`. The next section, `Add a navigation link`, instructs the user to click ona link on the dashboard page to navigate to the heroes page. This is problematic because the previous section instructed the reader to navigate to the heroes page, not the dashboard. It assumes, the reader is on the dashboard page.

Fixes issue by instructing the reader to navigate back to the dashboard
after navigating to `"/heroes"` in the `Add RouterOutlet` section.

resolves 

PR Close 
2021-05-24 19:27:24 +00:00
George Kalpakas
c820066d98 docs: align code in product-example.component.*.ts files ()
This commit aligns the code in `product-alerts.component.ts` with
[product-alerts.component.1.ts][1], since both files are supposed to
represent the same component in different points in time. It also makes
the necessary changes in the respective templates.

This is a follow-up to .

[1]: e86a1d3441/aio/content/examples/getting-started/src/app/product-alerts/product-alerts.component.1.ts (L18)

PR Close 
2021-05-24 19:26:26 +00:00
Pete Bacon Darwin
e16778d371 docs: fix multicasting observable example ()
The example did not allow the async sequence to be cancelled
after the first timeout had completed.

Fixes 

PR Close 
2021-05-24 18:17:34 +00:00
Madleina Scheidegger
037792e8f6 docs: Update madleinas.jpg to fit size requirements ()
PR Close 
2021-05-24 18:16:26 +00:00
Madleina Scheidegger
1e39cb7bca docs: add madleinas to contributors ()
PR Close 
2021-05-24 18:16:26 +00:00
Joey Perrott
32b8832d61 docs: include source code styling section in docs style guide ()
Include a source code styling section in the style guide for docs,
indicating to follow the Angular style guide where possible and
defining hexidecimal style guidance.

Closes 

PR Close 
2021-05-24 17:38:02 +00:00
mgechev
c03280fd54 docs: update the intro image in the devtools guide ()
The original image had an extra tooltip which was distracting and
unnecessary.

PR Close 
2021-05-24 14:47:31 +00:00
Alan Agius
d7a1da9d4f docs: fix incorrect point in universal-in-action ()
Previously it was mentioned that "Clicking a hero on the Heroes page does nothing.", this is not correct however since this link is implemented using `routerLink`.

Closes 

PR Close 
2021-05-24 14:47:06 +00:00
chenyunhsin
3293dd34ca docs: add missing Product interface to example ()
Fixes 

PR Close 
2021-05-21 22:14:47 +00:00
Joey Perrott
4d56c10584 docs: move helpful alert regarding built-in directives to more logical place ()
Moving the helpful alert expressing that built-in directives use public APIs
to be under the heading about built-in directives generally makes the content
in the alert more related to its surroundings than its previous location within
the ng-for section.

Closes 

PR Close 
2021-05-21 22:13:03 +00:00
iRealNirmal
03825cfab6 docs: updated animation docs intro section and example ()
This commit updates the animation docs and provides better clarity for open-close component with it also added click event in open-close.component

Closes 

PR Close 
2021-05-21 18:09:26 +00:00
iRealNirmal
34cd4dc852 docs: add Angular 12 support information ()
Added angular 12 suppport information in release document

Closes 

PR Close 
2021-05-21 18:08:09 +00:00
Sam Severance
62becc88f9 fix(docs-infra): fix example compilation issues ()
Fix an issue that prevented the Http (tests) StackBlitz
and Testing (tests) StackBlitz from compiling.

Resolves 

PR Close 
2021-05-21 18:07:44 +00:00
Teri Glover
d2a89dbbd9 docs: edits to remove jargon ()
PR Close 
2021-05-20 23:06:02 +00:00
Teri Glover
57540f0e75 docs: edit to remove jargon ()
PR Close 
2021-05-20 23:06:02 +00:00
David Shevitz
99f5b872e1 docs: add new tutorial that explains how to use the UrlMatcher for custom route matching ()
PR Close 
2021-05-20 23:05:32 +00:00
mgechev
c9bc88757b docs: embed the devtools video in the corresponding guide ()
Allow people consume the content in a video format.

PR Close 
2021-05-20 16:55:16 +00:00
mgechev
132e418a30 docs: update the status of roadmap projects ()
- Move Angular DevTools as completed
- Move optional NgModules as active

PR Close 
2021-05-19 09:19:06 -07:00
David Shevitz
5b9a36cf95 docs: move all existing router documentation into a single location and add two new topics: an overview and a reference ()
PR Close 
2021-05-18 15:39:38 -07:00
Sumit Arora
991f8523b3 docs: adding angular devtools documentation ()
This PR adds user guide for Angular DevTools explaining the basics of
the component explorer and the profiler.

PR Close 
2021-05-18 11:18:35 -07:00
Sam Severance
63383c186d docs: use ValidationErrors interface in Form validation examples ()
PR Close 
2021-05-18 10:14:02 -07:00