21087 Commits

Author SHA1 Message Date
David Shevitz
74186c36de docs: remove lightbox gif from Use Directives to Watch the DOM section. ()
This gif is out of date and causing reader confusion.

Fixes 

PR Close 
2021-05-26 15:49:05 -07:00
Andrew Kushnir
e917d57dbb docs: use json pipe in Forms guide instead of a temporary diagnostic field ()
Closes .

PR Close 
2021-05-26 15:47:05 -07:00
Zach Arend
44027c4e0e build: allow node v15 and above for aio ()
Changes the engines rule in aio to accept any node version greater than
or equal to v14. This allows node v15 to work with aio.

addresses 

PR Close 
2021-05-26 14:24:17 -07:00
Andrew Kushnir
516923e3dc docs: clarify when the ngDoBootstrap hook is invoked ()
Closes .

PR Close 
2021-05-26 14:23:45 -07:00
Andrew Scott
bcfe4afda9 docs: clarify that forRoot can be called in other modules ()
The faq on `forRoot` implies that you cannot and should not call `forRoot` for an import
outside the AppModule. This is technically incorrect. This commit clarifies
the statement and refers the reader to the hierarchical injectors guide.

fixes 

PR Close 
2021-05-26 14:23:08 -07:00
mgechev
15726594a9 ci: update the github feature request process action and run on cron ()
- Update to the latest hash
- Set the limit to 100 feature requests
- Run daily at 2pm

PR Close 
2021-05-26 14:22:36 -07:00
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
Andrew Scott
9193ea20e4 docs: clarify providedIn options ()
The list for the possible options of providedIn was not totally clear. This commit ensures each possible value is included explicitly in the docs.

fixes 

PR Close 
2021-05-26 20:10:31 +00:00
Suguru Inatomi
33e1a18530 build(docs-infra): allow only Node.js v14 and above ()
The AIO doc-gen uses JavaScript syntax that requires node.js 14.0.0 or above.

Closes 

PR Close 
2021-05-26 20:07:51 +00:00
Kristiyan Kostadinov
a787f78074 test: clean up internal testing utilities ()
We have some internal proxies for all of the Jasmine functions, as well as some other helpers. This code hasn't been touched in more than 5 years, it can lead to confusion and it isn't really necessary since the same can be achieved using Jasmine.

These changes remove most of the code and clean up our existing unit tests.

PR Close 
2021-05-26 20:07:25 +00: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
14abc68ccf docs(common): rewrite docs for NgForOf#ngForTrackBy ()
Clarify the prupose of the tracking function and document how to create a good one.

Fixes 

PR Close 
2021-05-26 20:05:39 +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
Zach Arend
c110d050f2
release: cut the v12.1.0-next.3 release () 2021-05-26 11:00:17 -07:00
Joey Perrott
acfa0647b7 fix(dev-infra): build with stamping for release builds ()
`ng-dev release build` should always build with version stamping rather than
snapshot stamping.

PR Close 
2021-05-26 17:51:56 +00:00
Zach Arend
6a970167de build: use wombat-dressing-room proxy for publishing releases ()
In the scripts to release latest and next, use the npm proxy for publishing the
release.

PR Close 
2021-05-26 17:51:12 +00:00
Andrew Scott
8228170919 docs: document shallow equality emit for ActivatedRoute ()
fixes 

PR Close 
2021-05-25 22:15:39 +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
6da0c97423 docs: add note about redirects after absolute redirect ()
This commit addresses the documentation portion of .

PR Close 
2021-05-25 22:13:07 +00:00
Zach Arend
83fe721c78 docs: update contributor instructions for installing java ()
For angular contributors, updates the instructions for installing java
in the DEVELOPER.md. Adds more details about which version of java is
requried, and what uses java.

Resolves 

PR Close 
2021-05-25 22:12:38 +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
4a2cc3e451 docs: add explanation of how to use locally created build artifacts in a local project ()
Add explanation of using `ng-dev build-and-link` to test local changes in another project.

Closes 

PR Close 
2021-05-25 22:11:03 +00:00
Joey Perrott
f1d12bf749 build: properly handle whether builds should be stamped for release ()
Properly build snapshot or release stamped versions of the builds based
on the provided context from the ng-dev toolset.

PR Close 
2021-05-25 22:11:03 +00:00
Joey Perrott
4afad03312 feat(dev-infra): add ng-dev build-and-link command ()
Add a command to build the release output without stamping for release
and link via `yarn link` the generated builds to a project provided.

PR Close 
2021-05-25 22:11:03 +00:00
Joey Perrott
f424aa3f0f feat(dev-infra): add support for determining if builds should be stamped ()
Add support for the build process to determine if the generated builds
should be stamped for release.

PR Close 
2021-05-25 22:11:03 +00:00
Andrew Scott
9f50495f28 docs: update date pipe api reference to indicate it is a pure pipe ()
This note was included in  but the PR was closed without being merged.

Fixes 

PR Close 
2021-05-25 22:10:32 +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
iRealNirmal
3d9062dad7 fix(forms): Add float number support for min and max validator ()
Added float number support for minValidator and maxValidator

Closes 

PR Close 
2021-05-25 20:31:09 +00:00
iRealNirmal
3a6af8e629 fix(platform-browser): update started state on reset ()
This commit fixes the state of variable _started on call of reset method.

Earlier behaviour was on call of `reset()` method we are not setting back
`_started` flag's value to false and it created various issue for end user
which were expecting this behaviour as per name of method.

We provided end user `reset()` method, but it was empty method and on call
of it wasn't doing anything. As end user/developer were not able to
reuse animation not animation after call of reset method.

In this PR on call of `reset()` method we are setting flag `_started` value to false
which can be accessed by `hasStarted()`.

Resolves 

PR Close 
2021-05-25 20:28:41 +00:00
Kapunahele Wong
d7768c61ad docs: edit copy for tick() in testing and api docs ()
Fixes 

PR Close 
2021-05-25 18:03:32 +00:00
Joey Perrott
594e63315e feat(dev-infra): add release notes generation to ng-dev ()
Adds tooling to create ad-hoc release note entries via `ng-dev release notes`.

PR Close 
2021-05-25 18:00:04 +00:00
Joey Perrott
a9584c929b refactor(dev-infra): move the release notes into its own directory under release ()
Move the release notes tooling under its own directory under release rather than
within publish, in preparation to have a release note generation command for ad-hoc
release note generation.

PR Close 
2021-05-25 18:00:04 +00:00
Igor Minar
f74fd64523 fix(docs-infra): increase the opacity of background-color for inline code blocks ()
I intentionally did not change the font size as discussed in 
because the current
font size is already about the same as the normal text size.

Fixes 

PR Close 
2021-05-25 17:59:26 +00:00
Andrew Scott
3fe8762376 docs: clarify location.subscribe behavior ()
`Location.go` does not trigger the browser's `popstate` event because
the Angular Router uses `pushState` and `replaceState`. This can be
confusing when calling `Location.go` and using `Location.subscribe`.
This commit clarifies the behavior of `Location.subscribe` and points
developers to the `onUrlChanges` subscription instead.

Fixes 

PR Close 
2021-05-25 17:57:52 +00:00
Paul Gschwendtner
c3cbfc22e0 fix(dev-infra): format command incorrectly prints outdated files ()
When `ng-dev format --check` is run, the ng-dev tool prints out
all files that are out-of-date. We recently updated the format
tool to also capture `stderr` for failed files. This broke the
console message as we did not unwrap the `FormatFailure` to
their file path when printing the "ng-dev format" fix command.

PR Close 
2021-05-25 17:57:01 +00:00
Andrew Scott
ef33806480 docs: add small clarity around navigationCancel ()
Add small clarity to sentence in documentation for navigation cancel event
to indicate that router guards returning false or urlTree is only one of
several reasons a NavigationCancel event happens.

fixes 

PR Close 
2021-05-25 17:55:22 +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