2370 Commits

Author SHA1 Message Date
Dylan Hunn 4ad5858eb9 docs: add dylhunn to contributors (#41936)
PR Close #41936
2021-05-04 21:06:31 -07:00
Hugo Mejia eda431410a docs: attributes for 'label' and 'input' elements were mixed up (#41827)
A label should be 'for' an input, and an 'input' should have an 'id'.

PR Close #41827
2021-05-04 08:32:18 -07:00
Talha Azhar 62512d259a docs: fix text jargon from DI notes (#41928)
PR Close #41928
2021-05-04 08:08:48 -07:00
Kapunahele Wong 729d8df920 docs: improve accessibility of form-validation example (#41283)
PR Close #41283
2021-05-03 14:25:12 -07:00
Mikhail ee860366c9 docs(forms): reduce ambiguity in forms data flow wording (#41900)
PR Close #41900
2021-05-03 10:01:15 -07:00
Mathias Schäfer 7e9ef4d257 docs: Update link to Testing Angular online book (#41906)
The book has moved to a its own domain.
PR Close #41906
2021-04-30 14:34:49 -07:00
Igor Minar 6b5f15528c fix(docs-infra): switch over to img[loading=lazy] for front page images (#34900)
This should speed up the perceived loading latency as the image loading won't block rendering.

https://addyosmani.com/blog/lazy-loading/

PR Close #34900
2021-04-30 14:16:24 -07:00
Wojciech Okoński 5bae16da48 docs(docs-infra): fix handling of client-side errors in networking (#36608)
Previously example for handling client-side errors in networking didn't work when there was no Internet connection.
Caught error is ProgressEvent in such case, not ErrorEvent and error.error.message is undefined.

PR Close #36608
2021-04-29 13:51:43 -07:00
Sam Severance 6aa61d540f docs: correct toh router tutorial (#41859)
* `SelectivePreloadingStrategyService` is already provided in the root
   module, so it should not be added to `AppRoutingModule` providers
   array

PR Close #41859
2021-04-29 10:05:31 -07:00
Teri Glover ecf9a12ce4 docs: Edits to remove jargon (#41536)
PR Close #41536
2021-04-28 15:11:33 -07:00
Keen Yee Liau fca8d7ae92 docs: remove tslint, codelyzer & protractor from dev deps (#41826)
TSLint and Codelyzer were deprecated in v11.
Protractor is no longer installed by default in new projects in v12.

PR Close #41826
2021-04-28 14:33:12 -07:00
Kapunahele Wong 3aa6d8fd90 docs: imrpove accessibility of lifecycle hooks example (#41071)
PR Close #41071
2021-04-28 14:26:35 -07:00
Amadou Sall c78baccf8d docs: remove the section "Using components vs services from other modules" (#41835)
This section states that "Importing a module with services means that you will have a new instance of that service". This is only true for lazy-loaded `NgModules`. For non-lazy-loaded modules, my understanding is that the providers arrays are flattened into the root injector meaning that importing a module with a service doesn't create a new instance of that service.

PR Close #41835
2021-04-27 10:16:51 -07:00
Kapunahele Wong 7756ead0bf docs: add metadata documentation to httpClient (#41706)
PR Close #41706
2021-04-26 15:17:52 -07:00
Chau Tran 072a0bf30a docs: add chau tran to GDE resources (#41817)
PR Close #41817
2021-04-26 15:16:41 -07:00
Pete Bacon Darwin aa578f56bf docs: fix links to docs with ambiguous paths (#41788)
These docs were linking directly to docs that have ambiguous paths.
These changes ensure that these links are not affected by the
disambiguation processing of those docs.

PR Close #41788
2021-04-26 12:12:01 -07:00
Kapunahele Wong 8ea1927910 docs: improve accessibility of architecture example (#41314)
PR Close #41314
2021-04-26 09:13:51 -07:00
Kapunahele Wong 619f774dbd docs: make inputs-outputs example more accessible (#41288)
PR Close #41288
2021-04-26 09:12:19 -07:00
Kapunahele Wong f31277879a docs: improve accessibility of http example (#41057)
PR Close #41057
2021-04-26 09:11:08 -07:00
Sam Severance 163c076f97 docs: Indicate HttpClientModule being imported (#41749)
PR Close #41749
2021-04-23 11:38:35 -07:00
Aristeidis Bampakos ad2d239b13 docs: ident the library shematics guide properly (#41755)
PR Close #41755
2021-04-22 08:41:03 -07:00
Kapunahele Wong b9818f99ba docs: add instructions for opting into latest Language Service (#41600)
PR Close #41600
2021-04-21 17:29:07 -07:00
Pete Bacon Darwin 8f3e5a5982 build(docs-infra): update docs examples to Angular v11.2.10 (#41689) (#41716)
This commit updates the docs examples to Angular v11.2.10. See the [diff between 11.0.1 and 11.2.10 (FW) and 11.2.9 (CLI)][1].

The changes are fairly trivial including:

- Removal of `emitDecoratorMetadata` from tsconfig.json files, where no JIT compilation is required.
- Setting `enableI18nLegacyMessageIdFormat` to `false` for CLI based applications - the i18n example was already migrated away from legacy message IDs.

[1]: https://github.com/cexbrayat/angular-cli-diff/compare/11.2.9..11.0.1

PR Close #41689

PR Close #41716
2021-04-20 13:13:09 -07:00
Pete Bacon Darwin 81260c4009 refactor(docs-infra): tidy up systemjs boilerplate for upgrade examples (#41689) (#41716)
The ngUpgrade examples mostly rely upon SystemJS configuration.
This commit tidies up how these examples are built and tested so that
it will be easier to migrate them to work with Angular 11.2.x

PR Close #41689

PR Close #41716
2021-04-20 13:13:09 -07:00
Daniel Díaz 7459f6d705 docs: rewrites animation query () method use (#41710)
PR Close #41710
2021-04-20 09:40:30 -07:00
unknown c6dde4cd8c docs: add Material Design for Bootstrap to UI Component resources (#41702)
PR Close #41702
2021-04-20 09:39:16 -07:00
Oluwole Majiyagbe 866b30972b docs: add API CMS capability to Angular App resources (#40924)
PR Close #40924
2021-04-20 09:37:52 -07:00
Bendik Skarpnes 2a136e2eda docs: fix styling issues in example CSS (#41222)
PR Close #41222
2021-04-19 14:15:46 -07:00
Pierre Portejoie 7a153f78aa docs: fix tutorial indicating the app is working when an error is actually displayed (#40732)
PR Close #40732
2021-04-19 14:14:59 -07:00
Amadou Sall 8f6c166aea docs: add missing preposition in the animations guide (#41697)
PR Close #41697
2021-04-19 08:35:12 -07:00
George Kalpakas b84088aa3a docs: replace hair space with regular space in creating-libraries.md (#41690)
This commit replaces a [hair space][1] with a regular space in
`creating-libraries.md`.
(You can see the hair space "in action" in the "Schematics for
Libraries" link right above the [Publishing your library][2] section.

[1]: https://en.wikipedia.org/wiki/Template:Hair_space
[2]: https://v10.angular.io/guide/creating-libraries#publishing-your-library

PR Close #41690
2021-04-19 08:29:46 -07:00
George Kalpakas 710a336648 docs: add missing backticks in schematics-for-libraries.md (#41681)
PR Close #41681
2021-04-19 08:26:36 -07:00
Kirk Larkin e174407829 docs: correct appUnless desc re true/false (#41656)
PR Close #41656
2021-04-19 08:23:12 -07:00
George Kalpakas 43f95b9e40 docs: fix broken links to CLI wiki in the "Component styles" guide (#41516)
Fixes #41362

PR Close #41516
2021-04-19 08:22:21 -07:00
va-stefanek 161f61116e docs: change link to the styles configuration guide (#41516)
PR Close #41516
2021-04-19 08:22:21 -07:00
Eduard Bondarenko 095bb520ff docs: move lazy loading section to the best practices section (#41378)
PR Close #41378
2021-04-16 17:27:01 -07:00
Gérôme Grignon be73f7b0fb docs: add mention to CSS styles for hero-detail (#41214)
PR Close #41214
2021-04-16 17:26:30 -07:00
sovtara 3c49671baf docs: fix the property name in the example (#41410)
AppHighlight directive from the example doesn't have myHighlight attribute.
It only has appHighlight property. So we should use appHighlight instead of myHighlight.

PR Close #41410
2021-04-16 17:25:40 -07:00
Dharmen Shah 69b25ad8f0 docs: separate steps for github actions (#41594)
PR Close #41594
2021-04-16 17:25:03 -07:00
Dharmen Shah c0d85f510e docs: add github actions in CI story (#41594)
PR Close #41594
2021-04-16 17:25:02 -07:00
Teri Glover 21d3084512 docs: edits to remove jargon and abbreviations (#41530)
PR Close #41530
2021-04-15 16:00:54 -07:00
Teri Glover 6c43a949b8 docs: update copy in schematics.md (#41521)
PR Close #41521
2021-04-15 14:38:07 -07:00
Michael Hladky b616f731b2 docs: add rx-angular to resources.json (#39291)
PR Close #39291
2021-04-14 15:50:45 -07:00
pavlenko 04235fa079 docs: replace Codelyzer recommendation with Angular-ESLint in accessibility guide (#41294)
Replace Codelyzer recommendation with Angular-ESLint in accessibility guide since that tool is deprecated and was removed from the Angular CLI.

Closes #41573

PR Close #41294
2021-04-13 13:06:18 -07:00
aschaap 9cda866703 docs: change (+) operator to Number function to match code (#41570)
PR Close #41570
2021-04-12 21:08:22 -07:00
aschaap 4795c5e7d8 docs(docs-infra): fix (+) not accepting null error by using Number instead (#41570)
Fix unexpected error when following the tutorial (when going through it with stricter type checking enforced). While (+) converts a string to an integer, it does not account for the possibility that `this.route.snapshot.paramMap.get('id')` could return null (type: string | null). Since this null case is not a practical outcome, it is a matter of types; switching from (+) to the `Number` function eliminates this issue, making the tutorial more robust.
PR Close #41570
2021-04-12 21:08:22 -07:00
aschaap 332653d353 docs: replaced erroneous instances of HeroDetailsComponent with HeroDetailComponent (#41569)
PR Close #41569
2021-04-12 21:07:36 -07:00
Nishu Goel a0ce686ec4 docs: add Nishu Goel to GDE list (#41347)
PR Close #41347
2021-04-12 21:06:02 -07:00
Alan Cohen db90ba40eb docs: change ActivatedRouteStub code sample to work with strictNullChecks on (#41559)
convertToParamMap() does not accept undefined.
Fix code sample so it can be used in strict mode without requiring changes.

PR Close #41559
2021-04-12 21:01:40 -07:00
Sagar Pandita 04ef24d87b docs: remove 'ui-jar' from Resources (#41552)
This commit removes 'ui-jar' from Resources, since it is not
compatible with the latest versions of Angular.

Fixes #41030

PR Close #41552
2021-04-12 10:05:51 -07:00