George Kalpakas
76f8ae31ad
test(aio): fix tests and update testing infra ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
103846a51d
build(aio): update tslint and codelyzer ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
George Kalpakas
0a536af093
build(aio): fix deployment script ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
George Kalpakas
4f29287399
build(aio): upgrade `@angular/cli` to `6.0.0-rc.4` ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
George Kalpakas
62e6c1f43a
build(aio): upgrade `@angular/*` to `6.0.0-rc.4` ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
George Kalpakas
c3c513ed9e
build(aio): remove redundant flags from cli commands ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
George Kalpakas
ed495bc9f1
build(aio): switch to `webpack-cli` for IE polyfills ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
George Kalpakas
a3de5f8f20
build(aio): upgrade `rxjs` to `6.0.0-turbo-rc.4` ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
47d3acdc49
build(aio): reorder entries in package.json ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
acbfb9eb4d
build: fix angular.json that was missing keys due to cli bugs ( #23234 )
...
https://github.com/angular/angular-cli/issues/10225
https://github.com/angular/angular-cli/issues/10226
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
d35f84a167
build(aio): update to @angular/material@6.0.0-rc.1 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
87e9f333d4
build(aio): update to @angular/material@5.2.4 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
fc5af69fb2
build(aio): update to @angular/cli@6.0.0-rc.2 + project layout update ( #23234 )
...
project layout was updated using:
yarn ng update @angular/cli --migrate-only --from=1.7.3
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
81ccb718b1
build(aio): upgrade to @angular/*@6.0.0-rc.3 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Igor Minar
0c56dfadef
build(aio): upgrade to @angular/*@6.0.0-rc.2 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
George Kalpakas
99f8e10809
ci(aio): fix `aio-monitoring` tests ( #23390 )
...
Previously, we were running the e2e tests from master against
`https://angular.io ` (deployed from the stable branch). Often the e2e
tests from master do not apply to the stable branch, since the app has
deviated slightly.
This commit fixes this by stop running the full e2e tests against the
deployed versions, but a smaller set of "smoke tests", which check basic
functionality that is less likely to change between versions.
PR Close #23390
2018-04-17 13:45:38 -07:00
George Kalpakas
d665d9a18c
refactor(aio): rename directory (tests/deployment-config --> tests/deployment) ( #23390 )
...
PR Close #23390
2018-04-17 13:45:38 -07:00
George Kalpakas
8b2101be9f
refactor(aio): rename spec file ( #23390 )
...
PR Close #23390
2018-04-17 13:45:38 -07:00
George Kalpakas
0d56cee9e1
refactor(aio): rename yarn script (deployment-config-test --> redirects-test) ( #23390 )
...
PR Close #23390
2018-04-17 13:45:38 -07:00
Anuj
010a4efa8c
docs(aio): Fixed typo in 'comparing observables -> Observabled compared ( #23407 )
...
to arrays' section.
PR Close #23407
2018-04-17 13:43:45 -07:00
Eyal Cherevatzki
c3280b2c2f
docs(aio): change `HeroService` to `MessagesComponent` ( #23397 )
...
Someone probably forgot to change this when coping the sentence from a previous section.
PR Close #23397
2018-04-16 09:01:58 -07:00
Eyal Cherevatzki
d11b249d36
docs(aio): change `HeroDetailsComponent` to `HeroDetailComponent` ( #23397 )
...
For the sake of consistency, change `HeroDetailsComponent` to `HeroDetailComponent`.
PR Close #23397
2018-04-16 09:01:58 -07:00
Vani
9c29127723
docs: document how to enable service worker using ng add command ( #23348 )
...
PR Close #23348
2018-04-16 08:57:13 -07:00
Tiep Phan
fd1c39ce42
docs: update lifecycle hooks section in cheatsheet ( #23320 )
...
PR Close #23320
2018-04-15 23:44:44 -07:00
systemallica
896811df64
docs(aio): add missing word in the Component metadata section ( #23384 )
...
PR Close #23384
2018-04-15 23:36:55 -07:00
Brandon Roberts
490772e680
docs(aio): Update file tree to match Angular CLI V6 structure ( #23367 )
...
PR Close #23367
2018-04-13 14:19:16 -07:00
George Kalpakas
08325aaffc
feat(service-worker): add support for configuring navigations URLs ( #23339 )
...
The ServiceWorker will redirect navigation requests that don't match any
`asset` or `data` group to the specified index file. The rules for a
request to be classified as a navigation request are as follows:
1. Its `mode` must be `navigation`.
2. It must accept a `text/html` response.
3. Its URL must match certain criteria (see below).
By default, a navigation request can have any URL except for:
1. URLs containing `__`.
2. URLs to files (i.e. containing a file extension in the last path
segment).
While these rules are fine in many cases, sometimes it is desirable to
configure different rules for the URLs of navigation requests (e.g.
ignore specific URLs and pass them through to the server).
This commit adds support for specifying an optional `navigationUrls`
list in `ngsw-config.json`, which contains URLs or simple globs
(currently only recognizing `!`, `*` and `**`).
Only requests whose URLs match any of the positive URLs/patterns and
none of the negative ones (i.e. URLs/patterns starting with `!`) will be
considered navigation requests (and handled accordingly by the SW).
(This is an alternative implementation to #23025.)
Fixes #20404
PR Close #23339
2018-04-13 13:13:36 -07:00
George Kalpakas
d1e716b2cb
docs(service-worker): minor fixes/improvements ( #23339 )
...
PR Close #23339
2018-04-13 13:13:36 -07:00
Rafael
639d52fe71
refactor: ensure all 'TODO's are consistent ( #23252 )
...
PR Close #23252
2018-04-13 13:11:01 -07:00
George Kalpakas
eac36d7e1a
test(aio): fix `DocViewerComponent` tests ( #23359 )
...
Obsolete assertions left over from #23249 .
PR Close #23359
2018-04-13 08:06:19 -07:00
George Kalpakas
0224f1aaf3
refactor(aio): remove file that should not be tracked ( #23359 )
...
PR Close #23359
2018-04-13 08:06:19 -07:00
Rob Wormald
74b203a55e
docs(elements): add ng-add docs to elements guide ( #23350 )
...
PR Close #23350
2018-04-13 00:50:04 -07:00
Amit Portnoy
c2a53bbf61
fix(aio): remove additional 'googlebot' reference ( #23249 )
...
according to https://developers.google.com/search/reference/robots_meta_tag
googlebot is only used as a google specific override of 'robots'- there's no need for override in this case
PR Close #23249
2018-04-13 00:35:29 -07:00
Suguru Inatomi
3bd682f432
docs(aio): Add link to Japanese localization ( #20630 )
...
PR Close #20630
2018-04-13 00:26:12 -07:00
Juan Camilo Giraldo Chaverra
221ae6998a
docs(aio): fix typo on AOT compiler section
2018-04-13 00:06:26 -07:00
Michael Huang
f958293205
docs(aio): update text InMemoryWebApiModule to HttpClientInMemoryWebApiModule ( #23285 )
...
PR Close #23285
2018-04-12 23:17:19 -07:00
Jeremy Attali
993eeababb
docs: fix typo in injected variable name ( #23315 )
...
The service injected is `ValueService`, however the name of the variable
does not reflect that. It's actually confusing since it's the name of
the `class` being created.
PR Close #23315
2018-04-12 23:16:52 -07:00
Pete Bacon Darwin
aae437cb1e
build(aio): implement rules to prevent short parameter names ( #22759 )
...
PR Close #22759
2018-04-12 00:06:49 -07:00
Pete Bacon Darwin
fa11d7822c
build(aio): create minLength content rule ( #22759 )
...
This rule can be used to ensure that properties contain a minimum
number of characters.
PR Close #22759
2018-04-12 00:06:49 -07:00
Pete Bacon Darwin
1619160c8a
build(aio): implement rules to prevent headings in content ( #22759 )
...
* No headings are allowed in `description` and `shortDescription`
* Only heading level 3 is allowed in `usageNotes`
PR Close #22759
2018-04-12 00:06:49 -07:00
Pete Bacon Darwin
7a8c58162c
build(aio): create noMarkdownHeadings content rule ( #22759 )
...
This content rule can check what markdown headings
appear in content properties.
PR Close #22759
2018-04-12 00:06:49 -07:00
Pete Bacon Darwin
e0ae74d40e
build(aio): add checkContentRules processor ( #22759 )
...
This processor will enable us to write rules about
how the content should appear, such as:
* no headings in markdown content
* only one sentence per line
* no single character parameter names
* etc.
PR Close #22759
2018-04-12 00:06:49 -07:00
Igor Minar
7e8cee6b61
build: fix aio size tracking, we need to use node_modules local to aio ( #23328 )
...
This fixes an issue introduced by 4f0cae0676
which removed firebase from the root node_modules.
PR Close #23328
2018-04-11 23:14:23 -07:00
Igor Minar
ee145790d7
build(aio): fix scripts/test-production.sh file permission issue
...
it needs to be executable for CI tests to run.
2018-04-10 18:26:10 -07:00
JiaLi.Passion
30a6861fd0
build: update zone.js to 0.8.26 to fix some regression bugs ( #23227 )
...
PR Close #23227
2018-04-09 15:16:40 -07:00
Judy Bogart
1fac5f4eb1
docs: recommend best practice for providers ( #22934 )
...
PR Close #22934
2018-04-06 21:49:34 -07:00
Rob Wormald
eb9968ab2a
docs(elements): use Angular Elements naming in nav ( #23213 )
...
PR Close #23213
2018-04-05 16:32:57 -07:00
Anuj Jain
b5f41f2c35
docs: fixed live example for the lifecycle hooks. ( #23201 )
...
PR Close #23201
2018-04-05 16:29:38 -07:00
George Kalpakas
3b607e60e9
refactor(aio): remove unused images ( #23018 )
...
PR Close #23018
2018-04-05 10:12:09 -07:00
George Kalpakas
b874501025
docs(aio): update `live-example` docs in authors style guide ( #23018 )
...
PR Close #23018
2018-04-05 10:12:09 -07:00
George Kalpakas
ce43e96d49
ci(aio): upload the preview before checking the bundle sizes ( #23123 )
...
This makes the preview available even if the bundle sizes are out of
limits.
PR Close #23123
2018-04-05 10:10:59 -07:00
George Kalpakas
79cecf9a5e
fix(aio): update trusted GitHub teams (angular-core --> team) ( #23181 )
...
PR Close #23181
2018-04-05 10:07:13 -07:00
Pete Bacon Darwin
381da1af45
build(aio): move "optional" and "default" to end of param description ( #23062 )
...
PR Close #23062
2018-04-05 09:25:15 -07:00
Igor Minar
5db9ab12c0
docs: fix skipTemplateCodeGen -> skipTemplateCodegen typo in the AOT compiler guide
2018-04-04 23:12:28 -07:00
Igor Minar
bf88c5c9f8
build: configure angular-cli projects to use yarn by default ( #23149 )
...
PR Close #23149
2018-04-04 17:47:47 -07:00
Pete Bacon Darwin
6dd8f6efe4
docs(aio): remove invalid nav item ( #23175 )
...
The `custom-elements` guide page was renamed to `elements` in ff34d5ea7
.
That commit also added a new nav item for the renamed file, so this item is
no longer valid.
PR Close #23175
2018-04-04 14:32:14 -07:00
Pete Bacon Darwin
5b6e59cfb3
build(aio): fail the doc-gen if the nav is invalid ( #23175 )
...
PR Close #23175
2018-04-04 14:32:14 -07:00
JiaLi.Passion
c560423b52
build: upgrade zone.js ( #23108 )
...
PR Close #23108
2018-04-04 08:24:02 -07:00
Vani
4506230fbb
docs: update contents to recommend new way of defining providers ( #23076 )
...
PR Close #23076
2018-04-03 12:32:59 -07:00
Vani
5671ae6a58
docs: add tree-shakable providers doc ( #23027 )
...
PR Close #23027
2018-04-03 12:32:39 -07:00
Matias Niemelä
18ac228a27
docs: change examples within services to be tree-shakeable ( #23070 )
...
PR Close #23070
2018-04-03 10:48:52 -07:00
Igor Minar
62e6e21895
build(aio): update to rxjs@6.0.0-rc.0 ( #23106 )
...
-rw-r--r-- 1 iminar primarygroup 2774 Mar 30 17:23 dist/announcement-bar.module.94664978458f4bcdad0e.chunk.js
-rw-r--r-- 1 iminar primarygroup 8081 Mar 30 17:23 dist/api-list.module.0080b5cc2e6a0e0cb4e0.chunk.js
-rw-r--r-- 1 iminar primarygroup 3963 Mar 30 17:23 dist/code-example.module.a71be2c11f00a30159ae.chunk.js
-rw-r--r-- 1 iminar primarygroup 29367 Mar 30 17:23 dist/code-tabs.module.91c45e5c6e7bc37a7ae3.chunk.js
-rw-r--r-- 1 iminar primarygroup 18647 Mar 30 17:23 dist/common.ba5d418531a81244d32a.chunk.js
-rw-r--r-- 1 iminar primarygroup 6719 Mar 30 17:23 dist/contributor-list.module.3f67eb8916b4b5d9553b.chunk.js
-rw-r--r-- 1 iminar primarygroup 1009 Mar 30 17:23 dist/current-location.module.5b1b839219a3afa4821c.chunk.js
-rw-r--r-- 1 iminar primarygroup 10037 Mar 30 17:23 dist/expandable-section.module.e990983253a804b8680b.chunk.js
-rw-r--r-- 1 iminar primarygroup 1642 Mar 30 17:23 dist/file-not-found-search.module.3ebb2c728ee873e1124f.chunk.js
-rw-r--r-- 1 iminar primarygroup 1971 Mar 30 17:23 dist/inline.966da76300859bd75965.bundle.js
-rw-r--r-- 1 iminar primarygroup 5905 Mar 30 17:23 dist/live-example.module.db0fa04009ecb3863ec8.chunk.js
-rw-r--r-- 1 iminar primarygroup 565539 Mar 30 17:23 dist/main.4962a0cf09dd39042cdb.bundle.js
-rw-r--r-- 1 iminar primarygroup 40272 Mar 30 17:23 dist/polyfills.60722fb8dd6546cb465e.bundle.js
-rw-r--r-- 1 iminar primarygroup 14886 Mar 30 17:23 dist/prettify.04d149a0484032073703.chunk.js
-rw-r--r-- 1 iminar primarygroup 4840 Mar 30 17:23 dist/resource-list.module.7d9223ca5f7ae5ce9d48.chunk.js
-rw-r--r-- 1 iminar primarygroup 54001 Mar 30 17:23 dist/worker-basic.min.js
PR Close #23106
2018-04-03 10:00:23 -07:00
jenniferfell
a4bf5621ed
docs: add reference to ng add in tutorial and quick reference ( #23130 )
...
PR Close #23130
2018-04-03 07:38:47 -07:00
Judy Bogart
ff34d5ea7a
docs: add custom elements documentation ( #22966 )
...
PR Close #22966
2018-04-02 14:13:46 -07:00
Igor Minar
43d62029f0
build(aio): update to angular@6.0.0-rc.1 ( #23101 )
...
-rw-r--r-- 1 iminar primarygroup 2774 Mar 30 15:01 dist/announcement-bar.module.94664978458f4bcdad0e.chunk.js
-rw-r--r-- 1 iminar primarygroup 8081 Mar 30 15:01 dist/api-list.module.0080b5cc2e6a0e0cb4e0.chunk.js
-rw-r--r-- 1 iminar primarygroup 3963 Mar 30 15:01 dist/code-example.module.a71be2c11f00a30159ae.chunk.js
-rw-r--r-- 1 iminar primarygroup 29367 Mar 30 15:01 dist/code-tabs.module.91c45e5c6e7bc37a7ae3.chunk.js
-rw-r--r-- 1 iminar primarygroup 18647 Mar 30 15:01 dist/common.ba5d418531a81244d32a.chunk.js
-rw-r--r-- 1 iminar primarygroup 6719 Mar 30 15:01 dist/contributor-list.module.3f67eb8916b4b5d9553b.chunk.js
-rw-r--r-- 1 iminar primarygroup 1009 Mar 30 15:01 dist/current-location.module.5b1b839219a3afa4821c.chunk.js
-rw-r--r-- 1 iminar primarygroup 10037 Mar 30 15:01 dist/expandable-section.module.e990983253a804b8680b.chunk.js
-rw-r--r-- 1 iminar primarygroup 1642 Mar 30 15:01 dist/file-not-found-search.module.3ebb2c728ee873e1124f.chunk.js
-rw-r--r-- 1 iminar primarygroup 1971 Mar 30 15:01 dist/inline.966da76300859bd75965.bundle.js
-rw-r--r-- 1 iminar primarygroup 5905 Mar 30 15:01 dist/live-example.module.db0fa04009ecb3863ec8.chunk.js
-rw-r--r-- 1 iminar primarygroup 567849 Mar 30 15:01 dist/main.b630be1eaedf8196652b.bundle.js
-rw-r--r-- 1 iminar primarygroup 40272 Mar 30 15:01 dist/polyfills.60722fb8dd6546cb465e.bundle.js
-rw-r--r-- 1 iminar primarygroup 14886 Mar 30 15:01 dist/prettify.04d149a0484032073703.chunk.js
-rw-r--r-- 1 iminar primarygroup 4840 Mar 30 15:01 dist/resource-list.module.7d9223ca5f7ae5ce9d48.chunk.js
-rw-r--r-- 1 iminar primarygroup 54001 Mar 30 15:01 dist/worker-basic.min.js
PR Close #23101
2018-03-30 17:29:39 -07:00
Igor Minar
3df811767e
build(aio): upgrade to rxjs@6.0.0-beta.4 ( #23101 )
...
PR Close #23101
2018-03-30 17:29:39 -07:00
Igor Minar
9c7805be2f
build(aio): pin aio to typescript ~2.7.2 ( #23101 )
...
PR Close #23101
2018-03-30 17:29:39 -07:00
George Kalpakas
6cb1adf105
ci(aio): add monitoring for angular.io ( #22483 )
...
This commit configures a periodic job to be run on CircleCI, performing several
checks against the actual apps deployed to production (https://angular.io ) and
staging (https://next.angular.io ).
Fixes #21942
PR Close #22483
2018-03-30 15:26:50 -07:00
George Kalpakas
a9e05ac82f
fix(aio): fix SW routing RegExp to allow redirecting `/api/animate` URLs ( #22483 )
...
PR Close #22483
2018-03-30 15:26:50 -07:00
George Kalpakas
120673a3ac
refactor(aio): move deployment config tests and helpers around ( #22483 )
...
This commit prepares the ground for adding different types of tests.
PR Close #22483
2018-03-30 15:26:50 -07:00
George Kalpakas
8c10df30d7
fix(aio): wait for the app to stabilize before registering the SW ( #22483 )
...
This commit also waits for the app to stabilize, before starting to
check for ServiceWorker updates. This avoids setting up a long timeout,
which would prevent the app from stabilizing and thus cause issues with
Protractor.
PR Close #22483
2018-03-30 15:26:50 -07:00
Judy Bogart
de0b13d41d
docs: update for hero service name change ( #22920 )
...
PR Close #22920
2018-03-29 09:20:04 -07:00
Judy Bogart
07d33d4e5a
docs: fix operator name ( #22920 )
...
PR Close #22920
2018-03-29 09:20:04 -07:00
Judy Bogart
9f7bd8f618
docs: update text around changed obs examples ( #22920 )
...
PR Close #22920
2018-03-29 09:20:04 -07:00
Teamop
7de13b60d6
style(aio): fix typo in the scrollbar ( #23064 )
...
PR Close #23064
2018-03-29 08:57:41 -07:00
Alex Rickabaugh
e1ea7ed019
docs: update examples for tree-shakeable providers ( #22961 )
...
PR Close #22961
2018-03-28 07:53:04 -07:00
Veres Lajos
0ebdb3d12f
style: typo fix amendments ( #22975 )
...
PR Close #22975
2018-03-27 14:51:53 -04:00
Veres Lajos
de90314304
style: typos fixed - https://github.com/vlajos/misspell-fixer ( #22975 )
...
PR Close #22975
2018-03-27 14:51:53 -04:00
Victor Berchet
4bd3a65764
fix(aio): mark the 'titlecase' pipe as pure ( #22959 )
...
PR Close #22959
2018-03-23 16:28:05 -04:00
Alberto Piras
16f021c319
docs(aio): fix TS warning error - filter expects a boolean function param ( #22954 )
...
PR Close #22954
2018-03-23 13:07:57 -04:00
Igor Minar
3a30f5d937
build(aio): remove rxjs-compat dependency from examples ( #22872 )
...
we should not longer need it.
PR Close #22872
2018-03-23 12:53:58 -04:00
Igor Minar
0f88fc73db
build(aio): update examples to angular-in-memory-web-api@0.6.0 ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
George Kalpakas
01d2dd2a3a
refactor(aio): switch to pipeable RxJS operators ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
George Kalpakas
da76db9601
build(aio): upgrade `rxjs` to `6.0.0-beta.1` ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
George Kalpakas
91503e538e
test(aio): minor improvements ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
George Kalpakas
53227abe7b
build(aio): upgrade `rxjs` to `6.0.0-beta.0` ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
George Kalpakas
768100516f
build(aio): upgrade `@angular/*` to `6.0.0-rc.0` ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
Igor Minar
328511be8e
build(aio): update to typescript@2.7.2 ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
Igor Minar
56e545735c
build(aio): update to @angular/core@6.0.0-beta.8 ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
Igor Minar
07e9969cb7
build(aio): update to @angular/cli@1.7.3 ( #22872 )
...
PR Close #22872
2018-03-23 12:53:58 -04:00
Jinhyuk Kim
f461f43d72
docs: fix a typo in aot compiler guide ( #22876 )
...
PR Close #22876
2018-03-21 13:20:51 -07:00
Igor Minar
3cc5c2e4d0
build: update to rxjs@6.0.0-beta.0 ( #22887 )
...
PR Close #22887
2018-03-20 15:26:49 -07:00
Igor Minar
5f1be9b89b
ci: temporarily disable two styleguide example tests ( #22887 )
...
these tests started failing with 6.0.0-beta.0 upgrade because of a weird issue when used with rxjs v6 with rxjs-compat
PR Close #22887
2018-03-20 15:26:49 -07:00
Igor Minar
4648597d14
build(aio): temporarily pin elements to 6.0.0-beta.8 ( #22573 )
...
the next step will be to update all of aio to 6.0.0-rc.0
PR Close #22573
2018-03-19 21:51:51 -07:00
Igor Minar
b43f8bc7d3
feat(core): upgrade rxjs to 6.0.0-alpha.4 ( #22573 )
...
PR Close #22573
2018-03-19 21:51:51 -07:00
Igor Minar
c445314239
ci: temporarily disable tests that depend on angular-in-memory-web-api ( #22573 )
...
angular-in-memory-web-api is not yet compatible with rxjs v6 and rxjs v6 backwards compatibility package is not yet ready to be used.
PR Close #22573
2018-03-19 21:51:51 -07:00
George Kalpakas
e5fcf650f8
build(aio): temporarily use RxJS from root `node_modules/` when using local packages ( #22573 )
...
PR Close #22573
2018-03-19 21:51:51 -07:00
Igor Minar
243c86cd04
ci: improve logging when running aio/examples e2e tests ( #22854 )
...
PR Close #22854
2018-03-18 14:03:26 -07:00
Andrew Seguin
fe21437232
feat(elements): fix payload size ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
cf3ff7d219
feat(elements): another polyfill solution ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
d72f44556d
feat(elements): rebase ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
167fdf745c
feat(elements): rename API to createCustomElement ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
87f60bccfd
feat(elements): injector create ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
46efd4b938
feat(elements): George's comments ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
19368085aa
feat(elements): provide type, not factory; remove config need ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
44f637a88b
feat(elements): fix test ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
863aff1a77
feat(elements): add polyfill for elements es5 shim ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
400460cc93
feat(aio): update payload size ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
7c9b411777
feat(aio): migrate embedded comp to elements ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
22b96b9690
feat(elements): add support for creating custom elements ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Victor Berchet
0ebd577db4
refactor(compiler): Drop support for the deprecated `<template>`. Use `<ng-template>` instead ( #22783 )
...
BREAKING CHANGE:
The `<template>` tag was deprecated in Angular v4 to avoid collisions (i.e. when
using Web Components).
This commit removes support for `<template>`. `<ng-template>` should be used
instead.
BEFORE:
<!-- html template -->
<template>some template content</template>
# tsconfig.json
{
# ...
"angularCompilerOptions": {
# ...
# This option is no more supported and will have no effect
"enableLegacyTemplate": [true|false]
}
}
AFTER:
<!-- html template -->
<ng-template>some template content</ng-template>
PR Close #22783
2018-03-15 14:52:22 -07:00
Judy Bogart
02e6ac2117
docs: incorporate suggestions and corrections from gkalpak ( #21569 )
...
PR Close #21569
2018-03-15 14:48:35 -07:00
Judy Bogart
04ca77e38e
docs(aio): update architecture section ( #21569 )
...
PR Close #21569
2018-03-15 14:48:35 -07:00
Pete Bacon Darwin
19e6b8dad5
build(aio): fix `addNotYetDocumentedProperty` processor ( #22770 )
...
It was running too late and so was being confused by the
description being split into `shortDescription` and `description`
properties.
Closes #22748
PR Close #22770
2018-03-15 11:37:31 -07:00
Pete Bacon Darwin
d509bd6849
build(aio): improve the API Pipe pages ( #22702 )
...
This change adds:
* an impure badge for Pipes that are marked as `pure: false`
* a pipe specific overview that shows the syntax for using a pipe in a template.
* an "input value" section describing the type of the value that the pipe expects.
* a "pipe params" section describing any additional params that a pipe expects.
PR Close #22702
2018-03-14 14:21:11 -07:00
Matias Niemelä
f5a98f41fe
fix(core): remove core animation import symbols ( #22692 )
...
This patch removes the deprecated support for animation
symbol imports from @angular/core.
BREAKING CHANGE: it is no longer possible to import
animation-related functions from @angular/core. All
animation symbols must now be imported from @angular/animations.
PR Close #22692
2018-03-14 12:23:51 -07:00
Suguru Inatomi
9df13add5d
docs(aio): add ng-japan 2018 to events ( #22750 )
...
ng-japan 2018 will be held at June 16 in Tokyo, Japan!
https://ngjapan.org/en.html
PR Close #22750
2018-03-14 10:59:55 -07:00
Pete Bacon Darwin
049757b237
fix(aio): constrain error logging to improve reporting ( #22713 )
...
The `Logger.error()` method now only accepts a single `Error` parameter
and passes this through to the error handler.
This allows the error handler to serialize the error more accurately.
The various places that use `Logger.error()` have been updated.
See #21943#issuecomment-370230047
PR Close #22713
2018-03-14 10:52:11 -07:00
Ward Bell
1f9734315d
docs: testing - highlight dispatchEvent ( #22726 )
...
PR Close #22726
2018-03-14 10:21:41 -07:00
Pete Bacon Darwin
6f0dad1710
build(aio): render doc-gen issues in overview dump ( #22675 )
...
Related to #22138
PR Close #22675
2018-03-14 10:20:30 -07:00
Pete Bacon Darwin
48636f3e85
build(aio): compute stability and deprecate `@stable` tag ( #22674 )
...
Closes #22635
PR Close #22674
2018-03-13 19:55:00 -07:00
Pete Bacon Darwin
cd58c0a6d9
build(aio): remove unwanted overview headings ( #22681 )
...
PR Close #22681
2018-03-12 11:23:47 -07:00
Pete Bacon Darwin
38fef1588d
build(aio): move "see also" block to export-base template ( #22681 )
...
This makes it easier for all the API docs to display "see also" links
in a consitent manner.
PR Close #22681
2018-03-12 11:23:46 -07:00
Alex Eagle
1e6cc42a01
test: migrate remaining public-api tests to Bazel ( #22639 )
...
We now create npm packages to cover all the public api assertions in tools/public_api_guard.
We no longer depend on ts-api-guardian from npm - it is now stale since the repository was archived.
There is no longer a gulp task to enforce or accept the public API, this is in CircleCI as part of running all bazel test targets.
PR Close #22639
2018-03-09 09:11:40 -08:00
Kapunahele Wong
2ca77d80ec
docs: refactor revert() and call to lifecylce hook, edit doc to changes ( #22094 )
...
PR Close #22094
2018-03-08 10:58:42 -08:00
Kapunahele Wong
065bcc5aad
docs: add HeroService to code tabs and fix headers ( #22373 )
...
PR Close #22373
2018-03-07 18:20:53 -08:00
yerkebulan
505ae752b6
docs(aio): update deprecated Http reference to HttpClientModule, remove Http reference because another context is used ( #21984 )
...
docs(aio): change HttpClientModule reference to HttpClient
docs(aio): capitalize Http to HTTP
docs(aio): fix typo mistake in 'universal' guide
docs(aio): gets rid of the parentheses and the "e.g." in 'universal' guide
PR Close #21984
2018-03-06 15:03:54 -08:00
Pete Bacon Darwin
b3d1761825
build(aio): compute and display short descriptions in methods ( #22583 )
...
Previously only export docs were displaying a short description.
Now methods in classes and interfaces also compute and render
the short description.
Closes #22500
PR Close #22583
2018-03-06 11:05:21 -08:00
Ward Bell
d0db9ded90
docs: fix cli-quickstart doc and specs ( #22338 )
...
* tests were broken
* incorrect instructions.
* didn't match current CLI template for new project
PR Close #22338
2018-03-06 09:41:53 -08:00
Pete Bacon Darwin
94bc277b1b
fix(aio): tidy up embedded ToC styling ( #22570 )
...
The spacing didn't work well when the screen was narrow.
PR Close #22570
2018-03-05 21:25:09 -08:00
Pete Bacon Darwin
8ea4c57174
fix(aio): reposition and shrink the API badges ( #22570 )
...
Closes #22130
PR Close #22570
2018-03-05 21:25:09 -08:00
Pete Bacon Darwin
53b0fe8144
feat(aio): allow template to position embedded ToC ( #22570 )
...
Previously the doc-viewer would insert an embedded `<aio-toc>` element
into the DOM directly after the H1 element. Now it will not do this
if there is already a such element in the doc contents.
This allows the content-author/template-developer to position the ToC
for specific cases.
PR Close #22570
2018-03-05 21:25:09 -08:00
Pete Bacon Darwin
58932c7f38
build(aio): indicate whether properties are read-only in API pages ( #22584 )
...
PR Close #22584
2018-03-05 10:15:37 -08:00
Pete Bacon Darwin
5bb9f64218
fixup! feat(aio): allow template to position embedded ToC ( #22565 )
...
PR Close #22565
2018-03-05 10:14:16 -08:00
Pete Bacon Darwin
405d97431f
fixup! feat(aio): allow template to position embedded ToC ( #22565 )
...
PR Close #22565
2018-03-05 10:14:16 -08:00
Pete Bacon Darwin
41064fcb36
fix(aio): reposition and simplify github links ( #22565 )
...
Closes #22379
PR Close #22565
2018-03-05 10:14:16 -08:00
Pete Bacon Darwin
b80fd6be58
build(aio): render whether API classes and members are abstract ( #22563 )
...
Closes #22537
PR Close #22563
2018-03-05 10:13:43 -08:00
SangKa.Z
3aea8fd5f3
docs(aio): fix table header ( #22553 )
...
PR Close #22553
2018-03-05 10:13:16 -08:00
Pete Bacon Darwin
b64139650c
build(aio): class API template once again extends export-base ( #22534 )
...
PR Close #22534
2018-03-05 10:12:55 -08:00
Pete Bacon Darwin
1d2bdcb4d0
build(aio): render param descriptions for function exports ( #22534 )
...
Closes #22501
PR Close #22534
2018-03-05 10:12:55 -08:00
Pete Bacon Darwin
12be311618
fix(aio): remove all links from toc titles ( #22533 )
...
The previous approach just removed the first `a` tag that
was found, but now that the header-link anchor is not at
the start of the heading, it could fail.
Closes #22493
PR Close #22533
2018-03-05 10:12:35 -08:00
Pete Bacon Darwin
0e311e3918
build(aio): improve accuracy of code auto-linking ( #22494 )
...
The new version of `dgeni-packages/typescript` no longer strips
out "namespaces" from types, which was part of the problem of
not autolinking correctly to `HttpEventType.Response`.
Another part of the problem was that we did not include `.`
characters when matching potential code blocks for auto-linking,
which precluded properties of enums from being linked.
Finally, members we not being given a `path` property, which is
needed to effectively autolink to them. This is now set in
the `simplifyMemberAnchors` processor.
Closes #21375
PR Close #22494
2018-03-01 08:11:19 -08:00
Pete Bacon Darwin
997b30a093
build(aio): move link disambiguation from `getLinkInfo` to `getDocFromAlias` ( #22494 )
...
The disambiguation needs to be done earlier so that the auto-link-code
post-processor can benefit from it.
PR Close #22494
2018-03-01 08:11:19 -08:00
Pete Bacon Darwin
94707fe795
build(aio): initialise `exampleMap` correctly ( #22502 )
...
The `exampleMap` needs to hold an hash object for each
of the `collectExamples.exampleFolders` paths.
Previously these hash objects were only created if there
was actually an example file the hash's respective
example folder. This could cause crashes during
`yarn docs-watch` (and so also `yarn sync-and-serve`)
if no examples were read in for a particular run of
the doc-gen.
PR Close #22502
2018-03-01 08:10:15 -08:00
Kapunahele Wong
c82cef8bc6
docs: fix dynamic component loader example ( #22181 )
...
closes #21903
PR Close #22181
2018-02-28 10:46:37 -08:00
Pete Bacon Darwin
7d65356ae3
build(aio): add `@usageNotes` tag def for API docs ( #22401 )
...
PR Close #22401
2018-02-28 10:43:27 -08:00
Pete Bacon Darwin
11f30fc351
style(aio): add newline between test blocks ( #22401 )
...
PR Close #22401
2018-02-28 10:43:27 -08:00
Pete Bacon Darwin
b107131f8a
build(aio): split the description property in API docs ( #22401 )
...
* The first paragraph is now split off into the `shortDescription` property.
* Usage of `howToUse` and `whatItDoes` have been updated.
* The "Overview" heading for class is removed as it is self-evident
* The original horizontal rule styling below the main heading is removed as not part of the new design
Closes #22385
PR Close #22401
2018-02-28 10:43:27 -08:00
Pete Bacon Darwin
11264e2174
fix(aio): remove heading border ( #22401 )
...
PR Close #22401
2018-02-28 10:43:27 -08:00
Pete Bacon Darwin
b924ce3a62
build(aio): add processor to migrate legacy tags `@whatItDoes` and `@howToUse` ( #22401 )
...
See https://github.com/angular/angular/issues/22135#issuecomment-367632372
PR Close #22401
2018-02-28 10:43:27 -08:00
Pete Bacon Darwin
e75f0cee18
build(aio): deprecate `@howToUse` and `@whatItDoes` tags ( #22401 )
...
See https://github.com/angular/angular/issues/22135#issuecomment-367632372
PR Close #22401
2018-02-28 10:43:27 -08:00
Pete Bacon Darwin
83b32a0a0a
build(aio): render heading anchors on the right
...
This approach simplifies the styling needed considerably.
Previously, we had to make room on the left for heading that
are in visual containers. Also we had to apply a `float:right`
when on narrow screens as the gutter not available then.
This float didn't render nicely if the heading text was longer
than could be rendered on a single line.
Closes #22131
2018-02-27 18:32:32 -08:00
George Kalpakas
142117f6bb
fix(aio): do not show Properties/Methods sections if only internal members ( #22471 )
...
PR Close #22471
2018-02-27 15:17:22 -08:00
Jason Aden
79656e7f96
docs(aio): add Observable and Rx docs ( #21423 )
...
PR Close #21423
2018-02-27 11:24:31 -08:00
George Kalpakas
d100f1b187
build(aio): fix API docs breadcrumbs ( #22446 )
...
This also prevents some extra `<a>` elements inserted by the browser's
trying to fix the HTML structure, which also fixes the `.header-link`
added in ToC.
Fixes #22387
Closes #22437
PR Close #22446
2018-02-27 07:08:07 -08:00
Pete Bacon Darwin
4bd3e5f92f
build(aio): do not render "constructor()" heading in API docs ( #22380 )
...
Closes #22363
PR Close #22380
2018-02-27 07:07:16 -08:00
haoRchen
3f3be429c9
style(aio): updated padding-right for the .alert class in _heading-anchors.scss ( #22431 )
...
The h3 element is overflowing over its surrounding div element. Modified padding-right to align consistently with the remainder of div contents.
fixes : #22407
PR Close #22431
2018-02-26 17:52:29 -08:00
haoRchen
7e4c13f2de
style(aio): added padding-left to h3 in _subsection.scss ( #22431 )
...
The h3 element is overflowing over its surrounding div element. Modified padding-left to align consistently with the remainder of div contents.
fixes : #22407
PR Close #22431
2018-02-26 17:52:29 -08:00
Olivier Combe
82a791223c
docs: update i18n guide for projects that don't use the cli ( #21767 )
...
PR Close #21767
2018-02-26 17:51:58 -08:00
Pete Bacon Darwin
ef99126aea
test(aio): move forgotten e2e test to the correct folder ( #22445 )
...
PR Close #22445
2018-02-26 17:50:42 -08:00
Pete Bacon Darwin
c10c831b8e
build(aio): render subclasses + see-also block in the main flow ( #22445 )
...
Closes #22386
PR Close #22445
2018-02-26 17:50:42 -08:00
Ward Bell
a7e1f236ff
docs: testing guide for CLI ( #20697 )
...
- updates tests
- heavy prose revisions
- uses HttpClient (with angular-in-memory-web-api)
- test HeroService using `HttpClientTestingModule`
- scrub away most By.CSS
- fake async observable with `asyncData()`
- extensive Twain work
- different take on retryWhen
- remove app barrels (& systemjs.extras) which troubled plunker/systemjs
- add dummy export const to hero.ts (plunkr/systemjs fails w/o it)
- shrink and re-organize TOC
- add marble testing package and tests
- demonstrate the "no beforeEach()" test coding style
- add section on Http service testing
- prepare for stackblitz
- confirm works in plunker except excluded marble test
- add tests for avoidFile class feature of CodeExampleComponent
PR Close #20697
2018-02-26 13:40:23 -08:00
Pete Bacon Darwin
1f599818bd
build(aio): fix rendering of callable and constructable interface members ( #22428 )
...
Closes #22136
PR Close #22428
2018-02-26 13:35:15 -08:00
Pete Bacon Darwin
5a32d7e36f
build(aio): render default value for optional parameters ( #22435 )
...
Closes #22134
PR Close #22435
2018-02-26 13:34:38 -08:00
Pete Bacon Darwin
1ea41d48d3
build(aio): render whether parameters are optional ( #22435 )
...
Closes #22134
PR Close #22435
2018-02-26 13:34:38 -08:00
Pete Bacon Darwin
25a43041d2
build(aio): group API members by type in overview ( #22438 )
...
Now the overview groups the members in the following order:
* static properties
* static methods
* constructor
* instance properties
* instance members
Closes #22132
PR Close #22438
2018-02-26 13:34:04 -08:00
Jamie Krug
c593d69ce7
docs(aio): fix doc typo referring to `httpOptions` ( #22456 )
...
The variable name mention should match the actual tutorial code.
PR Close #22456
2018-02-26 13:32:44 -08:00
hariharanjv
1dcbc12fd3
docs(aio): Essential JS 2 url updated ( #19739 )
...
PR Close #19739
2018-02-23 11:18:11 -08:00
ROOT\hariharanjv
ae2e85e8ef
docs(aio): Essential JS 2 UI Components. ( #19739 )
...
PR Close #19739
2018-02-23 11:18:11 -08:00
Matias Niemelä
b2f366b3b7
fix(animations): only use the WA-polyfill alongside AnimationBuilder ( #22143 )
...
This patch removes the need to include the Web Animations API Polyfill
(web-animations-js) as a dependency. Angular will now fallback to using
CSS Keyframes in the event that `element.animate` is no longer supported
by the browser.
In the event that an application does use `AnimationBuilder` then the
web-animations-js polyfill is required to enable programmatic,
position-based access to an animation.
Closes #17496
PR Close #22143
2018-02-22 16:07:53 -08:00
Kapunahele Wong
9eecb0b27f
docs: fix deployment sample path ( #22048 )
...
PR Close #22048
2018-02-22 13:40:57 -08:00
Kapunahele Wong
022ad4a420
docs: fix ngmodules-jsmodules pre-req ( #22316 )
...
closes #22157
PR Close #22316
2018-02-22 11:20:47 -08:00
Kapunahele Wong
a4f9e8180b
docs: edit styleguide recommendation on components as elements ( #22074 )
...
Change recommendation on using attributes for components since there are use cases including the use of <button mat-button> in MD
Closes #19401 .
PR Close #22074
2018-02-22 11:20:21 -08:00
Marco Alvarado
b42921bbd2
docs(aio): updates directive event hooks real capabilities ( #16654 )
...
Minor documentation update to include event hooks that were assumed to only work on components.
Closes angular/angular#10221
PR Close #16654
2018-02-21 14:51:04 -08:00
zhilich
722dec11b0
docs(aio): Wrong code example. Form status field was added later in the guide. ( #21275 )
...
PR Close #21275
2018-02-21 11:06:47 -08:00
Kapunahele Wong
1c1cbba04b
docs: add ngStyle to cheat sheet ( #22070 )
...
PR Close #22070
2018-02-20 16:08:15 -08:00
Ro Savage
3b692a55a7
docs(aio): fix incorrect quote mark usage ( #22335 )
...
PR Close #22335
2018-02-20 15:42:55 -08:00
Oussama Ben Brahim
69a0578e00
docs(aio): fix the css of the heroes component's buttons ( #22333 )
...
Fixes #22222
PR Close #22333
2018-02-20 15:41:56 -08:00
Pascal Zwick
b5ca275590
docs(aio): Fix name of component ( #22332 )
...
PR Close #22332
2018-02-20 15:41:35 -08:00
Stephen Fluin
519f022b02
docs(aio): update installed mobile tool list ( #22331 )
...
PR Close #22331
2018-02-20 15:41:15 -08:00
Jeff Cross
f6120c09e7
docs(aio): add Nx and Angular Enterprise Playbook to resources ( #22321 )
...
PR Close #22321
2018-02-20 10:09:33 -08:00
Johannes Hoppe
28b23f954c
docs(aio): add angular-buch to resources ( #22163 )
...
adds a link to the website of our book. second version of the text. thanks!
PR Close #22163
2018-02-18 15:12:13 -08:00
Johannes Hoppe
ad17e5e791
docs(aio): add angular-buch to resources ( #22163 )
...
adds a link to the website of our book. many thanks for reviewing this
PR Close #22163
2018-02-18 15:12:13 -08:00
George Kalpakas
4ec40c6ab2
fix(aio): improve announcement-bar layout with wide logos ( #22272 )
...
PR Close #22272
2018-02-18 13:16:30 -08:00
Joe Eames
80d424798e
docs(aio): added ngconf announcement ( #22272 )
...
PR Close #22272
2018-02-18 13:16:30 -08:00
George Kalpakas
978f97cc59
test(aio): increase `docs-test` timeouts to prevent flakes on Travis ( #22261 )
...
PR Close #22261
2018-02-16 14:46:23 -08:00
Oussama Ben Brahim
f1a063298e
feat(core): set preserveWhitespaces to false by default ( #22046 )
...
Fixes #22027
PR Close #22046
2018-02-16 09:06:14 -08:00
Stefanie Fluin
7078fbffb4
fix(aio): improve printing styles ( #19651 )
...
printfix
PR Close #19651
2018-02-15 09:52:32 -08:00
Matias Niemelä
ba9cd5bbc4
Revert "fix(aio): improve printing styles ( #19651 )"
...
This reverts commit b54ad053f9
.
2018-02-14 22:55:24 -05:00
Stefanie Fluin
b54ad053f9
fix(aio): improve printing styles ( #19651 )
...
printfix
PR Close #19651
2018-02-14 18:49:58 -05:00
Pat
f4697f351e
docs: typo - components should be possessive ( #22172 )
...
PR Close #22172
2018-02-14 15:06:52 -05:00
Kapunahele Wong
3a0b5a928c
docs(aio): fix extraneous divs ( #22069 )
...
PR Close #22069
2018-02-14 15:02:36 -05:00
Oussama Ben Brahim
eb48750705
docs(aio): fix typo in "preserveWhitespaces" example ( #22182 )
...
Fixes #22147
PR Close #22182
2018-02-12 15:57:42 -08:00
mgmarlow
7f9b1b78f6
docs(aio): add angular-playground to resources ( #22042 )
...
PR Close #22042
2018-02-12 14:30:58 -08:00
Johannes Hoppe
1e9484673d
docs(aio): add angular.schule to resources ( #22164 )
...
adds a link to our website. many thanks for reviewing this
PR Close #22164
2018-02-12 10:01:23 -08:00
Suguru Inatomi
88bec238ac
fix(aio): remove broken span closing tag ( #22146 )
...
PR Close #22146
2018-02-12 10:01:10 -08:00
yerkebulan
a57df4ee20
docs(aio): put structural directives back in the nav ( #21856 )
...
PR Close #21856
2018-02-12 10:00:14 -08:00
Pete Bacon Darwin
5fc77c90cb
fix(aio): do not rewrite /styleguide URL in Service Worker ( #22085 )
...
This URL needs to be redirected via the server, so
we must exclude it from being rewitten.
Closes #22078
PR Close #22085
2018-02-09 13:10:35 -08:00
Mikhail Burshteyn
c3484450b8
docs: fix typo in http.md ( #22058 )
...
PR Close #22058
2018-02-09 13:10:23 -08:00
Pete Bacon Darwin
fbef94a8ee
feat(aio): enable data driven homepage announcements ( #22043 )
...
PR Close #22043
2018-02-09 13:10:11 -08:00