ca3b552 | Dylan Hunn | 06 October 2021, 22:46:03 UTC | release: cut the v12.2.9 release (#43749) PR Close #43749 | 06 October 2021, 22:47:55 UTC |
a0cf717 | dario-piotrowicz | 26 September 2021, 14:11:04 UTC | fix(docs-infra): convert button-like elements to actual buttons (#43601) some elements in the aio application are anchors or divs but behave like buttons, it is semantically (and a11y) more correct to convert them to actual button elements instead PR Close #43601 | 06 October 2021, 16:22:05 UTC |
df7fd87 | Kristiyan Kostadinov | 04 October 2021, 09:22:55 UTC | refactor(language-service): fix typo in method name (#43698) The `fineRenameLocations` method should be called `findRenameLocations`. PR Close #43698 | 06 October 2021, 16:21:34 UTC |
c9e21d0 | Pete Bacon Darwin | 06 October 2021, 12:52:33 UTC | build(docs-infra): ensure all overloads are shown in interfaces (#43734) In the API docs, concrete classes do not list the "implementation" overload on a method, since this is not strictly part of its API. We recently fixed the rendering of interfaces to display all the overloads, since there is no "implementation" overload. This commit also fixes the rendering of "pseudo-classes", which are a combination of an interface and a constant. Fixes #43001 PR Close #43734 | 06 October 2021, 16:21:09 UTC |
f45c692 | Alan Agius | 01 October 2021, 10:22:57 UTC | ci: change ownership of `goldens/public-api/manage.js` (#43664) With this change we change ownership of `goldens/public-api/manage.js` from `public-api` to `dev-infra`. This file is a script to manage public-api golden files and therefore it should fall under the dev-infra umbrella. PR Close #43664 | 05 October 2021, 20:36:37 UTC |
c4ecc07 | George Kalpakas | 05 October 2021, 17:13:39 UTC | fix(service-worker): make `ngsw.json` generation deterministic and correct (#43679) Previously, all asset-groups from `ngsw-config.json` were processed in parallel. For each asset-group, we retrieved all files for the current build, filtered out files that were already matched by other asset-groups, determined which of the remaining files belonged to the current asset-group and generated entries for the `ngsw.json` manifest. This process was susceptible to race conditions when there were files that would be matched by multiple asset-groups. This made the generation of the `ngsw.json` manifest non-deterministic and violated the rule that each file would belong to the first asset-group that matched it (based on the asset-groups' order of appearance in `ngsw-config.json`), thus leading to broken ServiceWorker behavior. This commit fixes it by ensuring that the generation process is deterministic and that asset-groups are processed in the proper order. NOTE 1: The generation process has been broken since the beginning, but we have only noticed this recently. This is possibly related to the CLI's switching from a virtual file system host (which has more consistent timing characteristics) to the Node.js built-in `fs.promises` in angular/angular-cli@d3bc530c103849ca83742ab63eea7709d9af613d. NOTE 2: This commit also ensures that files in the `ngsw.json` hash-table are in alphabetic order. Previously, the files were added to the hash-table in blocks corresponding to each asset-group. This change is not necessary (i.e. the order of keys in the hash-table makes no difference in behavior), but it makes it easier to scan for a file (for example, for debugging purposes). PR Close #43679 | 05 October 2021, 20:34:31 UTC |
307da62 | George Kalpakas | 03 October 2021, 09:05:46 UTC | build(docs-infra): ensure `ngsw.json` generation is correct and deterministic (#43687) As explained in #43679, currently the generation of the `ngsw.json` SW manifest is non-deterministic and often incorrect. Until we can update to an `@angular/service-worker` version that includes the fix from PR #43679, we temporarily work-around the issue by re-generating the `ngsw.json` manifest after `ng build` using the `ngsw-config` binary exposed by `@angular/service-worker`. NOTE: This works around the issue, because the [FileSystem][1] class used by the `ngsw-config` binary happens to be synchronous (unlike the implementation provided by the Angular CLI), thus avoiding the race conditions described in #43679. [1]: https://github.com/angular/angular/blob/c721135e370b34c840756bcfb22c8119b4c8c452/packages/service-worker/cli/filesystem.ts#L15 PR Close #43687 | 05 October 2021, 16:49:15 UTC |
fb29da2 | George Kalpakas | 02 October 2021, 21:45:04 UTC | build(docs-infra): update Angular Material to version 12.2.8 (#43687) This commit updates angular.io to the latest stable version of Angular CDK/Material (v12.2.8). NOTE: The payload size changes in styles are not entriely caused by this commit, since the limits where outdated. The actual size changes caused by this commit are ~100B per theme: - `light-theme`: 79217 --> 79320 - `dark-theme`: 79116 --> 79216 PR Close #43687 | 05 October 2021, 16:49:14 UTC |
087c37c | George Kalpakas | 02 October 2021, 21:36:28 UTC | build(docs-infra): update Angular framework to version 12.2.8 (#43687) This commit updates angular.io to the latest stable version of the Angular framework (v12.2.8). Among other benefits, this version also includes the ServiceWorker fix from #43518, which fixes #28114. NOTE: This commit also makes the necessary changes to more closely align angular.io with new apps created with the latest stable Angular CLI. Fixes #28114 PR Close #43687 | 05 October 2021, 16:49:14 UTC |
0437224 | George Kalpakas | 02 October 2021, 18:16:46 UTC | refactor(docs-infra): prefix error messages with Angular version info (#43687) Prefix error messages with the Angular version currently used in the angular.io app. This applies to both errors logged to the console and reported to Google Analytics and makes debugging certain errors easier. PR Close #43687 | 05 October 2021, 16:49:14 UTC |
5344dfe | George Kalpakas | 02 October 2021, 18:14:29 UTC | build(docs-infra): use `$schema` in `ngsw-config.template.json` to provide intellisense (#43687) Add an appropriate `$schema` property in `ngsw-config.template.json` to allow IDEs to provide intellisense about the various fields of the config. PR Close #43687 | 05 October 2021, 16:49:14 UTC |
7f60505 | Wey-Han Liaw | 04 October 2021, 08:25:56 UTC | fix(router): unset attachRef when router-outlet is destroyed to avoid mounting a destroyed component (#43697) Previously, when a router-outlet is conditionally shown with an ngIf, and a sub-route was re-attached via a custom RouteReuseStrategy, router-outlet would try to mount a destroyed component into the view if the router-outlet is destroyed and re-initialized. This commit fixes it by unsetting context.attachRef when router-outlet is destroyed, so when the router-outlet is being initialized again, it no longer sees an attachRef that it needs to mount to the view. Fixes #43696 PR Close #43697 | 05 October 2021, 16:48:41 UTC |
7bc46a8 | dario-piotrowicz | 02 October 2021, 07:16:02 UTC | fix(docs-infra): amend color of code links inside single anchors (#43586) when some auto code links fail to happen they can be added manually with the md ``[`code text`](link)``, these generate anchor elements which contain a code element, such code element does not get the correct text color, this commit fixes such issue PR Close #43586 | 04 October 2021, 23:31:17 UTC |
dc885eb | iRealNirmal | 23 September 2021, 07:14:24 UTC | docs: move angular-compiler-options tsconfig snippets to external file (#43545) Moving angular-compiler-options docs inline code to external file of tsconfig.json and tsconfig.app.json. closes #43336 PR Close #43545 | 04 October 2021, 17:55:05 UTC |
12c1b9f | ultrasonicsoft | 30 September 2021, 20:43:31 UTC | docs: add balram chavan to GDE resources (#43658) PR Close #43658 | 04 October 2021, 17:53:59 UTC |
04f2fd6 | mgechev | 01 October 2021, 18:13:23 UTC | docs: add developer survey 2021 (#43670) PR Close #43670 | 04 October 2021, 17:24:59 UTC |
b4b4410 | JoostK | 27 September 2021, 20:22:39 UTC | fix(core): handle invalid constructor parameters in partial factory declarations (#43619) This commit fixes an oversight in the JIT compilation of partial factory declarations, where the literal `'invalid'` was not accounted for (unlike the AOT linker). Fixes #43609 PR Close #43619 | 01 October 2021, 16:24:31 UTC |
75f74de | Daniel Díaz | 28 September 2021, 23:06:26 UTC | docs: fix typo in AOT compiler (#43640) PR Close #43640 | 01 October 2021, 16:24:01 UTC |
74f71b4 | little-pinecone | 01 October 2021, 11:47:01 UTC | docs: add button type in form array example (#43666) add a button type in the example of creating a dynamic form so that the button that adds the alias control does not submit the entire form PR Close #43666 | 01 October 2021, 16:23:10 UTC |
f3b2c71 | George Kalpakas | 30 September 2021, 15:33:12 UTC | docs: update commit message guidelines to reflect current requirements (#43650) Update the commit message guidelines in `CONTRIBUTING.md` to reflect recent changes in our dev-infra tooling: - Remove the mention of the 100 chars/line limit, since that is [no longer in effect][1]. - Mention Deprecation sections: According to our [Deprecation practices][2], we should document deprecations in the Changelog, which our tooling supports via [DEPRECATED][3] sections in commit messages. Yet this was not mentioned in the commit message guidelines. [1]: https://github.com/angular/angular/blob/a07cb097e9124738880f7978658a2972d25b892e/.ng-dev/commit-message.ts#L7 [2]: https://angular.io/guide/releases#deprecation-practices [3]: https://github.com/angular/dev-infra/blob/b51360a7cc39cb3deb5ae1bf0bfb121fe7ee0a4e/ng-dev/commit-message/parse.ts#L77 PR Close #43650 | 01 October 2021, 15:55:02 UTC |
fa0c57b | xiaohanxu-nick | 30 September 2021, 10:06:59 UTC | docs: fix missing step in get started example (#43646) PR Close #43646 | 01 October 2021, 15:46:02 UTC |
c13f7cd | dario-piotrowicz | 23 September 2021, 18:45:44 UTC | docs: disable erroneous "browser" code links (#43554) fix the keyword "browser" present in code segments being incorrectly generated as a link to "api/animations/browser" by applying the no-auto-link class PR Close #43554 | 01 October 2021, 15:36:08 UTC |
7a6cd88 | dario-piotrowicz | 01 October 2021, 12:40:18 UTC | docs(animations): improve the aio animations introduction (#42885) improve slightly the angular.io animation introduction guide, such improvement are styling, information and clarity related PR Close #42885 | 01 October 2021, 15:34:20 UTC |
d6679e2 | Alex Rickabaugh | 30 September 2021, 20:00:27 UTC | release: cut the v12.2.8 release (#43654) PR Close #43654 | 30 September 2021, 20:02:15 UTC |
ca6bcb7 | Alex Rickabaugh | 30 September 2021, 17:15:56 UTC | Revert "fix(language-service): provide dom event completions (#43299)" This reverts commit c8f8d7d3b12598eef6f2439ff85a56cdcf1cbf92. This commit breaks in IE11, which is still supported by v12, likely due to the usage of `Array.from()`. | 30 September 2021, 17:15:56 UTC |
ca0f057 | Andrew Scott | 24 September 2021, 17:05:12 UTC | test(router): refactor tests to not use deprecated loadChildren (#43578) Many of the tests in the router code use the deprecated loadChildren as a string. This has been deprecated for years and can easily be changed to just a function that returns the module. PR Close #43578 | 29 September 2021, 18:14:09 UTC |
e3e424e | Chris | 08 April 2021, 15:48:02 UTC | docs: clarify description of :host and :host-context selectors (#41332) Fixes #39466 PR Close #41332 | 29 September 2021, 17:00:07 UTC |
7a68cd7 | Daniel Díaz | 28 September 2021, 23:12:53 UTC | docs: fix typo in observables file (#43630) PR Close #43630 | 29 September 2021, 16:59:39 UTC |
59ad399 | Pete Bacon Darwin | 27 September 2021, 15:42:36 UTC | build(docs-infra): ensure all overloads are shown in interfaces (#43614) In the API docs, concrete classes do not list the "implementation" overload on a method, since this is not strictly part of its API. There is already a special case for abstract methods that do not have such an implementation overload. But we were missing the case where the method was part of an interface. In interfaces none of the methods have implementation overloads. Fixes #43001 PR Close #43614 | 29 September 2021, 16:58:48 UTC |
8da56d7 | dario-piotrowicz | 24 September 2021, 21:18:43 UTC | docs: amend wrong links to async pipe (#43576) PR Close #43576 | 29 September 2021, 16:57:59 UTC |
c9cbe6e | Raj Sekhar | 28 September 2021, 17:41:26 UTC | docs: fix broken link to measure performance (#43628) * "Chrome DevTools Network Performance page" was pointing to a broken link, that was giving 404 error * The new link points to the right article where it explains the resource timing & network analysis PR Close #43628 | 28 September 2021, 21:43:47 UTC |
cfca3d0 | Bobby Galli | 27 September 2021, 23:23:06 UTC | docs: fix typos in .vscode/README.md (#43621) PR Close #43621 | 28 September 2021, 21:28:15 UTC |
c1338bf | wszgrcy | 30 July 2021, 02:54:06 UTC | fix(compiler-cli): correctly interpret token arrays in @Injectable `deps` (#43226) When specifying the `deps` array in the `@Injectable` decorator to inject dependencies into the injectable's factory function, it should be possible to use an array literal to configure how the dependency should be resolved by the DI system. For example, the following example is allowed: ```ts @Injectable({ providedIn: 'root', useFactory: a => new AppService(a), deps: [[new Optional(), 'a']], }) export class AppService { constructor(a) {} } ``` Here, the `'a'` string token should be injected as optional. However, the AOT compiler incorrectly used the array literal itself as injection token, resulting in a failure at runtime. Only if the token were to be provided using `[new Optional(), new Inject('a')]` would it work correctly. This commit fixes the issue by using the last non-decorator in the array literal as the token value, instead of the array literal itself. Note that this is a loose interpretation of array literals: if a token is omitted from the array literal then the array literal itself is used as token, but any decorator such as `new Optional()` would still have been applied. When there's multiple tokens in the list then only the last one will be used as actual token, any prior tokens are silently ignored. This behavior mirrors the JIT interpretation so is kept as is for now, but may benefit from some stricter checking and better error reporting in the future. Fixes #42987 PR Close #43226 | 28 September 2021, 21:15:49 UTC |
4cc9c39 | Ricardo Chavarria | 27 September 2021, 20:58:37 UTC | docs: Add Ricardo Chavarria to GDE resources (#43571) update size image update preview docs: replace an avatar with smaller size Change order PR Close #43571 | 27 September 2021, 21:25:57 UTC |
69299f7 | JoostK | 25 September 2021, 14:13:48 UTC | fix(ngcc): do not fail for packages which correspond with `Object` members (#43589) Prior to this commit ngcc stored its package configuration in JavaScript objects, which caused the builtin `Object` members to be found as package configuration. This would subsequently crash as their shape was not as expected. This commit moves away from using raw JavaScript objects in favor of a Map. To code was refactored such that `PartiallyProcessedConfig` is now a class. Fixes #43570 PR Close #43589 | 27 September 2021, 21:21:54 UTC |
9d3c2d5 | Adrien Crivelli | 24 September 2021, 03:46:50 UTC | docs(router): `params` or `queryParams` are not advised against (#43562) According to @atscott: > We no longer speculate about future deprecations. There are no current plans to remove > `params` or `queryParams` and there's no benefit to advising against their use. PR Close #43562 | 27 September 2021, 21:21:11 UTC |
a8e84f6 | Rafael Santana | 27 September 2021, 13:46:19 UTC | docs: close tags properly (#43610) PR Close #43610 | 27 September 2021, 17:54:56 UTC |
dac84dd | enisfr | 24 September 2021, 06:20:22 UTC | docs: links added for each builder schema (#43564) closes #43542 Signed-off-by: enisfr <enisfurkane@gmail.com> docs: links pointed to the schema files. closes angular#43542 docs: tslint removed. closes angular#43542 docs: typo. closes angular#43542 PR Close #43564 | 27 September 2021, 17:51:49 UTC |
c8f8d7d | Andrew Scott | 31 August 2021, 19:28:33 UTC | fix(language-service): provide dom event completions (#43299) Native DOM events were previously not included in the completions because the dom schema registry would filter out events completely. This change updates the registry to include events in the private element->property map and excludes events from lookups outside of the new `allKnownEventsOfElement` function. fixes https://github.com/angular/vscode-ng-language-service/issues/1479 PR Close #43299 | 27 September 2021, 17:45:59 UTC |
28b7f79 | Teri Glover | 30 July 2021, 17:04:15 UTC | docs: Edits to remove jargon (#43000) PR Close #43000 | 27 September 2021, 17:44:22 UTC |
cadef4c | George Kalpakas | 24 September 2021, 13:25:25 UTC | ci: correctly handle commit message with carriage returns in `payload-size.sh` (#43569) Previously, if a commit message contained a carriage return in its header, the `payload-size.sh` script would fail to upload the payload size data to Firebase, because the JSON payload would be messed up when trying to concatenate the commit message headers. See an example [here][1]. This commit avoids this problem by replacing carriage returns before concatenating the commit message headers with the JSON payload string. [1]: https://app.circleci.com/pipelines/github/angular/angular/37437/workflows/d0fa4adf-43bb-464e-a2fd-d87da15226dd PR Close #43569 | 24 September 2021, 17:56:41 UTC |
9a5086e | George Kalpakas | 24 September 2021, 10:45:58 UTC | fix(docs-infra): display deprecation notes for properties (#43566) Previously, deprecation notes for deprecated class/interface properties were not shown in the API docs. This commit fixes it by ensuring that deprecation notes are shown for properites (similar to how it works for methods). PR Close #43566 | 24 September 2021, 17:56:05 UTC |
3cf4135 | George Kalpakas | 21 September 2021, 10:06:52 UTC | fix(service-worker): do not unassign clients from a broken version (#43518) Previously, when a version was found to be broken, any clients assigned to that version were unassigned (and either assigned to the latest version or to none if the latest version was the broken one). A version could be considered broken for several reasons, but most often it is a response for a hashed asset that eiher does not exist or contains different content than the SW expects. See https://github.com/angular/angular/issues/28114#issuecomment-923122967 for more details. However, assigning a client to a different version (or the network) in the middle of a session, turned out to be more risky than keeping it on the same version. For angular.io, for example, it has led to #28114. This commit avoids making things worse when identifying a broken version by keeping existing clients to their assigned version (but ensuring that no new clients are assigned to the broken version). NOTE: Reloading the page generates a new client ID, so it is like a new client for the SW, even if the tab and URL are the same. PR Close #43518 | 24 September 2021, 17:54:22 UTC |
70b194a | George Kalpakas | 21 September 2021, 10:06:51 UTC | test(service-worker): use correct assertion in tests (#43518) Previously, a ServiceWorker test was using the `MockServerState#sawRequestFor()` method. This method, however, only returns a boolean indicating whether a request had been seen, but would not throw an error in either case. Since the intention was to assert that a specific request was made, this commit switches to the correct `MockServerState#assertSawRequestFor()` method. PR Close #43518 | 24 September 2021, 17:54:22 UTC |
d585c78 | Virginia Dooley | 15 September 2021, 22:10:39 UTC | docs: reviewed tag added (#43472) PR Close #43472 | 24 September 2021, 17:51:40 UTC |
62e982d | Virginia Dooley | 15 September 2021, 21:09:19 UTC | docs: review tag added (#43469) PR Close #43469 | 24 September 2021, 17:50:21 UTC |
1c75455 | Joe Martin (Crowdstaffing) | 15 September 2021, 18:12:57 UTC | docs: update review date (#43245) docs: Update review date for last content update. PR Close #43245 | 23 September 2021, 22:40:36 UTC |
406abf2 | Joe Martin (Crowdstaffing) | 13 September 2021, 22:17:22 UTC | docs: add subtopics for internationalization (#43245) Add subtopics for internationalization guide. PR Close #43245 | 23 September 2021, 22:40:36 UTC |
579b05a | Joe Martin (Crowdstaffing) | 14 September 2021, 22:25:58 UTC | docs: update content (#43245) Update content per review. PR Close #43245 | 23 September 2021, 22:40:36 UTC |
035b3f7 | Joe Martin (Crowdstaffing) | 14 September 2021, 22:22:46 UTC | docs: update punctuation (#43245) Update punctuation per review. Co-authored-by: TeriGlover <teriglover@google.com> PR Close #43245 | 23 September 2021, 22:40:36 UTC |
2dfe4ec | Joe Martin (Crowdstaffing) | 14 September 2021, 22:21:07 UTC | docs: update content (#43245) Update content per review. Co-authored-by: TeriGlover <teriglover@google.com> PR Close #43245 | 23 September 2021, 22:40:36 UTC |
38ba02c | Joe Martin (Crowdstaffing) | 14 September 2021, 22:08:24 UTC | docs: update link (#43245) Update link per review. PR Close #43245 | 23 September 2021, 22:40:36 UTC |
3609f90 | Joe Martin (Crowdstaffing) | 14 September 2021, 22:06:02 UTC | docs: update content (#43245) Update content per review. PR Close #43245 | 23 September 2021, 22:40:36 UTC |
73a5b9e | Joe Martin (Crowdstaffing) | 14 September 2021, 22:03:55 UTC | docs: update punctuation (#43245) Update punctuation per review. Co-authored-by: TeriGlover <teriglover@google.com> PR Close #43245 | 23 September 2021, 22:40:35 UTC |
719f2b1 | Joe Martin (Crowdstaffing) | 14 September 2021, 22:02:00 UTC | docs: update grammar (#43245) Update grammar per review. Co-authored-by: TeriGlover <teriglover@google.com> PR Close #43245 | 23 September 2021, 22:40:35 UTC |
ee98c13 | Joe Martin (Crowdstaffing) | 14 September 2021, 21:56:37 UTC | docs: update content (#43245) Update content per review. PR Close #43245 | 23 September 2021, 22:40:35 UTC |
5922763 | Joe Martin (Crowdstaffing) | 14 September 2021, 21:43:36 UTC | docs: update spelling (#43245) Update spelling per review. Co-authored-by: TeriGlover <teriglover@google.com> PR Close #43245 | 23 September 2021, 22:40:35 UTC |
c3f8ee3 | Joe Martin (Crowdstaffing) | 13 September 2021, 22:50:50 UTC | docs: add new internationalization links (#43245) Update link for subtopics of internationalization guide. PR Close #43245 | 23 September 2021, 22:40:35 UTC |
0cf60a8 | Joe Martin (Crowdstaffing) | 13 September 2021, 22:24:00 UTC | docs: add new internationalization links (#43245) Update link for subtopics of internationalization guide. Clean up markdown. PR Close #43245 | 23 September 2021, 22:40:35 UTC |
ffe4b90 | Joe Martin (Crowdstaffing) | 13 September 2021, 22:20:30 UTC | docs: add subtopics for internationalization to PR (#43245) Add subtopics for internationalization guide to PR. PR Close #43245 | 23 September 2021, 22:40:35 UTC |
6cbb79c | Joe Martin (Crowdstaffing) | 13 September 2021, 22:19:32 UTC | docs: add redirect for internationalization (#43245) Add redirect for internationalization guide. Add test for redirect. PR Close #43245 | 23 September 2021, 22:40:35 UTC |
a03b8e4 | Joe Martin (Crowdstaffing) | 13 September 2021, 22:18:24 UTC | docs: add subtopics for internationalization to toc (#43245) Add subtopics for internationalization guide to toc. PR Close #43245 | 23 September 2021, 22:40:35 UTC |
587091d | Joe Martin (Crowdstaffing) | 13 September 2021, 22:17:22 UTC | docs: add subtopics for internationalization (#43245) Add subtopics for internationalization guide. PR Close #43245 | 23 September 2021, 22:40:35 UTC |
2306a32 | Daniel Díaz | 23 September 2021, 21:19:31 UTC | docs(router): fix typo in router event API documentation (#43555) PR Close #43555 | 23 September 2021, 21:45:28 UTC |
e9beccb | Dario Piotrowicz | 22 September 2021, 21:54:39 UTC | docs: fix typo in dynamic forms page (#43543) resolves #43536 PR Close #43543 | 23 September 2021, 21:43:35 UTC |
85a0cb3 | Teri Glover | 03 August 2021, 01:19:29 UTC | docs: Edits to remove jargon (#43023) PR Close #43023 | 23 September 2021, 21:41:17 UTC |
54050e5 | Teri Glover | 26 July 2021, 20:09:48 UTC | docs: Edits to remove jargon (#42965) PR Close #42965 | 23 September 2021, 21:35:54 UTC |
e9e8591 | Teri Glover | 23 July 2021, 19:18:11 UTC | docs: Edits to remove jargon (#42950) PR Close #42950 | 23 September 2021, 21:35:22 UTC |
9bd6fd6 | Teri Glover | 20 September 2021, 22:44:32 UTC | docs: Edits to remove jargon (#42904) PR Close #42904 | 23 September 2021, 21:34:42 UTC |
6e109c7 | Teri Glover | 22 September 2021, 18:00:35 UTC | docs: amend links in content-projection guide (#43009) (#42904) PR Close #43009 PR Close #42904 | 23 September 2021, 21:34:42 UTC |
1849ed1 | Teri Glover | 20 September 2021, 22:44:32 UTC | docs: Edits to remove jargon (#42904) PR Close #42904 | 23 September 2021, 21:34:42 UTC |
0201593 | Teri Glover | 20 July 2021, 23:56:10 UTC | docs: Edits to remove jargon (#42904) PR Close #42904 | 23 September 2021, 21:34:42 UTC |
dad213e | Jessica Janiuk | 22 September 2021, 18:58:36 UTC | release: cut the v12.2.7 release (#43537) | 22 September 2021, 18:58:36 UTC |
19c61bf | dario-piotrowicz | 18 September 2021, 20:22:17 UTC | docs(service-worker): improve service worker guides (#43508) improve slightly the angular.io guides related to service workers, by means of fixes, styling, information and clarity changes PR Close #43508 | 22 September 2021, 17:48:39 UTC |
d588132 | George Kalpakas | 22 September 2021, 08:47:47 UTC | build(docs-infra): upgrade cli command docs sources to eb7fba335 (#43533) Updating [angular#12.2.x](https://github.com/angular/angular/tree/12.2.x) from [cli-builds#12.2.x](https://github.com/angular/cli-builds/tree/12.2.x). ## Relevant changes in [commit range](https://github.com/angular/cli-builds/compare/56c5962df...eb7fba335): **Modified** - help/new.json PR Close #43533 | 22 September 2021, 16:56:54 UTC |
9b7cdae | Daniel Díaz | 21 September 2021, 22:32:21 UTC | docs(http): get rid of not needed space at the end of the sentence (#43528) PR Close #43528 | 22 September 2021, 16:18:08 UTC |
1e03bed | Xiaohanxu1996 | 22 September 2021, 09:59:27 UTC | docs: remove duplicate import from @angular/core (#43530) PR Close #43530 | 22 September 2021, 16:16:05 UTC |
c73e000 | Andrew Scott | 10 September 2021, 15:24:51 UTC | test(compiler-cli): rename test files to be more descriptive (#43419) The test files simply named `spec.ts` are hard to find when searching for files by name. PR Close #43419 | 22 September 2021, 16:01:57 UTC |
9bd17e8 | Andrew Scott | 10 September 2021, 00:47:59 UTC | refactor(compiler-cli): Add test to document use-case for invalid pipe argument nullish coallesce (#43419) Adds a test to the nullish coalescing diagnostic check to serve as self-documentation on how it works with nullish coalescing on pipes that are often misconfigured. This also removes that non null assertion operator, which is incorrect because there _are_ situations where a symbol cannot be retrieved. PR Close #43419 | 22 September 2021, 16:01:57 UTC |
3cc8c7e | George Kalpakas | 19 September 2021, 08:46:48 UTC | fix(docs-infra): add a "skip to content" link for better accessibility (#43460) Add a link at the top of the page that allows skipping directly to the main content area. This allows people using assistive technologies to skip navigation-related parts of the page which are presented before the main content. Related resources: - [www.w3.org](https://www.w3.org/TR/WCAG20-TECHS/G1.html) - [accessibility.oit.ncsu.edu](https://accessibility.oit.ncsu.edu/it-accessibility-at-nc-state/developers/accessibility-handbook/mouse-and-keyboard-events/skip-to-main-content) - [css-tricks.com](https://css-tricks.com/how-to-create-a-skip-to-content-link) --- Example implementations on other websites: - **[accessibility.oit.ncsu.edu](https://accessibility.oit.ncsu.edu/)**: ![accessibility.oit.ncsu.edu](https://user-images.githubusercontent.com/8604205/133285834-db1314e6-ff71-4862-8f80-c8a9f69083d9.png) - **[smile.amazon.com](https://smile.amazon.com/)**: ![smile.amazon.com](https://user-images.githubusercontent.com/8604205/133285854-1163e733-8de3-4244-bc23-5cd5a943001d.png) - **[chase.com](https://chase.com/)**: ![chase.com](https://user-images.githubusercontent.com/8604205/133293396-ade9d95f-56ce-4cdc-8926-b4cd2dc6c3a5.png) - **[css-tricks.com](https://css-tricks.com/)**: ![css-tricks.com](https://user-images.githubusercontent.com/8604205/133285845-702045ee-088a-40f1-bb26-21adebb02505.png) - **[github.com/angular/angular](https://github.com/angular/angular)**: ![github.com/angular/angular](https://user-images.githubusercontent.com/8604205/133921259-9fd759b9-f862-47c3-b069-643912df17a1.png) - **[news.sky.com](https://news.sky.com/)**: ![news.sky.com](https://user-images.githubusercontent.com/8604205/133285863-89946096-5353-4b2b-ab69-eb748bdcfe06.png) - **[youtube.com](https://youtube.com/)**: ![youtube.com](https://user-images.githubusercontent.com/8604205/133921261-a68a12c1-1aea-4ad0-8457-b4eaf8ed3497.png) --- Angular.io implementation: - **[angular.io](https://angular.io/)**: ![angular.io](https://user-images.githubusercontent.com/8604205/133409634-0054625c-d14b-4ebe-bb4c-142cfc524d98.png) Fixes #42936 PR Close #43460 | 21 September 2021, 16:12:40 UTC |
875bbd3 | George Kalpakas | 19 September 2021, 08:46:48 UTC | fix(docs-infra): correctly handle in-page anchor links (#43460) Previously, anchor links that were supposed to point to fragments inside the current page (e.g. `href="#something"`) would end up navigating to the homepage (`/`). This was due to them being resolved relative to the base URL, which is set to `/` (via `<base href="/">`). See also https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base#in-page_anchors. This commit fixes this issue by handling such links specially in `LocationService#handleAnchorClick()` and prepending the current path to the URL. This will also be useful for implementing a "skip to content" link as described in #42936. PR Close #43460 | 21 September 2021, 16:12:40 UTC |
cea9d04 | George Kalpakas | 19 September 2021, 08:46:48 UTC | fix(docs-infra): focus elements when scrolling to them (if focusable) (#43460) When using `ScrollService#scrollToElement()` to scroll to a specific element, also focus the element if it is focusable (i.e. if it has a `focus()` method). This will be useful for implementing a "skip to content" link as described in #42936. PR Close #43460 | 21 September 2021, 16:12:40 UTC |
b07642c | George Kalpakas | 19 September 2021, 08:46:48 UTC | fix(docs-infra): improve accessibility of contributor cards (#43460) Improve the accessibility of contributor cards (in `/about`) by making them easier to navigate via keyboard: - Show the (otherwise hidden) contributor info links on focus. - Make the "View bio" link focusable via keyboard (to give a clearer indication that users can click to view the bio - although technically the click is handled by an ancestor). - Make the flipped cards focusable via keyboard (so it is possible to click them to unflip). PR Close #43460 | 21 September 2021, 16:12:40 UTC |
b9900ce | George Kalpakas | 19 September 2021, 08:46:48 UTC | fix(docs-infra): improve accessibility of button groups (#43460) Improve the accessibility of button groups (such as those seen in `/about` and `/resources` to choose between the different categories) by making them easier to navigate via keyboard: - Make the individual buttons focusable via keyboard. (Previously, they were not focusable - despite being anchor elements, because they were lacking an `href` attribute.) - Give focused buttons a different style. PR Close #43460 | 21 September 2021, 16:12:40 UTC |
aa8e8db | Teri Glover | 22 July 2021, 16:15:03 UTC | docs: Edits to remove jargon (#42928) PR Close #42928 | 20 September 2021, 22:50:59 UTC |
8e283cb | Teri Glover | 21 July 2021, 22:27:49 UTC | docs: Edits to remove jargon (#42918) PR Close #42918 | 20 September 2021, 22:50:15 UTC |
859e53b | Teri Glover | 21 July 2021, 20:26:27 UTC | docs: Edits to remove jargon (#42912) PR Close #42912 | 20 September 2021, 22:49:26 UTC |
2bb4bf1 | Kristiyan Kostadinov | 19 September 2021, 07:30:10 UTC | fix(common): titlecase pipe incorrectly handling numbers (#43476) Fixes that the `titlecase` pipe wasn't picking up numbers which meant that cases like `1st` would be tranformed to `1St`. Fixes #43459. PR Close #43476 | 20 September 2021, 21:56:46 UTC |
defb02f | JoostK | 19 September 2021, 19:01:28 UTC | fix(compiler-cli): handle directives that refer to a namespaced class in a type parameter bound (#43511) The template type-checker has to emit type constructors for the directives that are used in a template, where a type constructor's declaration has to mirror the type parameter constraints as they were originally declared. Therefore, the compiler analyzes whether a type parameter constraint can be recreated, e.g. by generating imports for any type references. Some type references cannot be recreated, in which case the compiler has to fall back to a strategy where the type constructor is created inline in the original source file (which comes with a performance penalty). There used to be an issue for type references to namespaced declarations. The compiler is unable to emit such references such that an inline type constructor should be used as fallback, but this did not happen. This caused the attempt to emit the type reference to fail, as the namespaced declaration cannot be located by the reference emitters. This commit fixes the issue by using a stricter check to determine if a type parameter requires an inline type constructor. The TypeScript reflection host's `isStaticallyExported` logic was expanded to work for any declaration instead of just classes, as e.g. type declarations can also be referenced in a type parameter constraint. Closes #43383 PR Close #43511 | 20 September 2021, 19:56:32 UTC |
2690315 | Virginia Dooley | 17 September 2021, 18:44:36 UTC | docs: reviewed tag added (#43493) PR Close #43493 | 20 September 2021, 17:09:50 UTC |
41d6f3c | Virginia Dooley | 17 September 2021, 17:18:15 UTC | docs: reviewed tag added (#43490) PR Close #43490 | 20 September 2021, 17:09:21 UTC |
6ad1959 | Kristiyan Kostadinov | 19 September 2021, 08:25:53 UTC | docs: fix graphic in safari (#43502) Fixes that the "Loved by millions" graphic doesn't look correctly on Safari. Note that this fix is somewhat repetitive, but I couldn't find a better one. These are the other things I tried: * Setting units on the size of `#angular-logo`. * Setting the size of `#angular-logo` inside the `style` tag. * Setting the size with inline styles. Fixes #43498. PR Close #43502 | 20 September 2021, 17:07:11 UTC |
020f0d3 | dario-piotrowicz | 05 September 2021, 11:48:38 UTC | fix(docs-infra): improve aio contributors page responsiveness (#43355) Improve the aio contributors page responsiveness regarding the browser's font-size so that the page looks good regarding on font-size settings (no cropped or cramped content) PR Close #43355 | 20 September 2021, 16:02:24 UTC |
909c706 | Virginia Dooley | 17 September 2021, 18:23:50 UTC | docs: reviewed tag added (#43492) PR Close #43492 | 17 September 2021, 18:46:09 UTC |
96cb91c | Virginia Dooley | 15 September 2021, 21:45:22 UTC | docs: review tag added (#43471) PR Close #43471 | 17 September 2021, 18:35:42 UTC |
326e379 | Teri Glover | 28 July 2021, 22:27:27 UTC | docs: Edits to remove jargon (#42986) PR Close #42986 | 17 September 2021, 18:35:10 UTC |
4e30381 | Teri Glover | 02 August 2021, 17:26:26 UTC | docs: Edits to remove jargon (#43017) PR Close #43017 | 17 September 2021, 18:10:40 UTC |
4c9346b | Virginia Dooley | 17 September 2021, 17:33:55 UTC | docs: reviewed tag added (#43491) PR Close #43491 | 17 September 2021, 17:57:56 UTC |
84ec3c3 | Mwiku | 15 September 2021, 07:30:56 UTC | docs: describe your change... (#43455) Use the --defaults option when creating the application to make CSS the default styling processor. PR Close #43455 | 17 September 2021, 17:54:24 UTC |
5a888f1 | Teri Glover | 04 August 2021, 16:52:09 UTC | docs: Edits to remove jargon (#43045) PR Close #43045 | 17 September 2021, 16:39:19 UTC |