2182 Commits

Author SHA1 Message Date
Emilio Martinez
94f17e9038 docs: remove misplaced code in Universal guide ()
PR Close 
2018-12-17 09:35:35 -08:00
bmarkov
a72633891b docs: Add Smart UI to UI Components section in resources ()
docs: add Smart UI to UI Components section in resources

PR Close 
2018-12-17 09:34:14 -08:00
zackarychapple
f9545d1b1a docs: adding ngAtlanta 2019 ()
PR Close 
2018-12-14 15:18:55 -08:00
George Kalpakas
5902a4629c build(docs-infra): upgrade cli command docs sources to 02d2ec250 ()
Updating [angular#master](https://github.com/angular/angular/tree/master) from [cli-builds#master](https://github.com/angular/cli-builds/tree/master).
Relevant changes in [commit range](5eef7122c...02d2ec250):

**Modified**
- help/build.json
- help/generate.json
- help/serve.json

Closes 
Closes 
Closes 

PR Close 
2018-12-14 10:18:59 -08:00
Esteban Marin
e3a2ca5ad9 fix(docs-infra): fix top menu item clickable area ()
the clickable region of the top menu item is expanded beyond the focused area, so the clickable area is spans the entire height of the navigation

fixes 

PR Close 
2018-12-13 11:00:34 -08:00
Emmanuel DEMEY
9c7fb0dfe1 docs: add Zenika trainings in resources.json ()
PR Close 
2018-12-12 11:03:09 -08:00
Esteban Marin
fc6dc78fe9 fix(docs-infra): fix top menu item clickable area ()
the clickable region of the top menu item is reduced to the focused area, so no cursor pointer is shown outside the clickable area

fixes 

PR Close 
2018-12-12 10:55:28 -08:00
Lucas
dc1ed3c47e docs: fix ngModel typo in form validation guide ()
Fix typo

PR Close 
2018-12-11 16:22:58 -08:00
Michał Jawulski
3cb6dad6d5 docs: update npm scripts to support angular 7 ()
PR Close 
2018-12-11 11:25:36 -08:00
Isaac Sunkes
16d26e5f38 docs: add webucator to resources ()
Added Angular Training by Webucator to Workshops & Onsite Training section of resources.
PR Close 
2018-12-10 14:20:03 -08:00
Igor Minar
54e4bdb842 docs: remove AngularDart from the version picker ()
At this point it's only confusing people.

PR Close 
2018-12-10 10:29:39 -08:00
George Kalpakas
6316051967 build(docs-infra): upgrade cli command docs sources to 5eef7122c ()
Relevant changes in [commit range](1c01b91c6...5eef7122c):

**Modified**
- help/build.json

PR Close 
2018-12-07 09:24:49 -08:00
George Kalpakas
8973dd5a7e build(docs-infra): upgrade cli command docs sources to 1c01b91c6 ()
Relevant changes in [commit range](a176d127a...1c01b91c6):

**Modified**
- help/build.json
- help/serve.json
- help/test.json
- help/update.json

Closes 
Closes 
Closes 

PR Close 
2018-12-05 13:27:32 -08:00
George Kalpakas
4b5cd721c1 refactor(docs-infra): remove unused custom element ()
PR Close 
2018-12-05 13:26:27 -08:00
George Kalpakas
6abbaaed89 fix(docs-infra): do not use an Angular element in hard-coded FETCH_ERROR document ()
The `FETCH_ERROR` document is used when we are unable to retrieve a
document (except for 404 errors), which includes when there is no
internet connection. Using the `<current-location>` element in the
document's template to show the path of the page we failed to retrieve
assumes that the element's bundle is available (e.g. cached by the SW)
or can be fetched from the server.

When none of these conditions is met, the `DocViewer` is unable to
prepare the document and fails, never showing the `FETCH_ERROR` page to
the user.

Furthermore, the path we are looking to retrieve via
`<current-location>` is essentially the document ID, which we already
have. Thus, loading and instantiating a whole component just for that is
overkill.

This commit addresses both issues by getting rid of the
`<current-location>` component and directly embedding the document ID
into the `FETCH_ERROR` content.

PR Close 
2018-12-05 13:26:27 -08:00
George Kalpakas
dfdc2adbc6 fix(docs-infra): fix sidenav positioning when notification is shown ()
_Before:_
![sidenav-scrollbar-before](https://user-images.githubusercontent.com/8604205/49089078-62519d00-f263-11e8-8369-f39e73dcc239.png)

_After:_
![sidenav-scrollbar-after](https://user-images.githubusercontent.com/8604205/49089077-62519d00-f263-11e8-8a94-0c34044c4ba1.png)

PR Close 
2018-12-05 13:26:27 -08:00
George Kalpakas
fa0c65efe5 build(docs-infra): remove dependency on FontAwesome ()
We were only using two FontAwesome icons (`link` and `twitter`). The
twitter icon is already available as an SVG (used in the topbar) and a
similar link icon is available via 'Material Icons', which we are
already brining in.

This commit removes the dependency on FontAwesome and uses the available
icons instead.

_Before:_
![contributor-info-before](https://user-images.githubusercontent.com/8604205/49089076-61b90680-f263-11e8-8c5f-c52d332e6e64.png)

_After:_
![contributor-info-after](https://user-images.githubusercontent.com/8604205/49089075-61b90680-f263-11e8-9785-b8df15aaacd3.png)

PR Close 
2018-12-05 13:26:27 -08:00
George Kalpakas
271fcb0f3e fix(docs-infra): correctly cache footer image by the SW ()
When using relative paths for CSS resources (such as background images),
`@angular/cli` will move them to the root `dist/` directory (and update
the paths in CSS accordingly). This results in the SW being unable to
cache the resource, because it is not where it expects it to be.

This commit fixes this issue for the footer background image, by using
an absolute path for the URL. (It also removes an unused style that
would have been affected by the same issue.)

PR Close 
2018-12-05 13:26:27 -08:00
George Kalpakas
af952cad62 fix(docs-infra): ensure material icons are cached for offline access ()
In order for 'Material Icons' to work offline, their `.woff2` file needs
to have been cached by the SW. This file is not requested by the
browser, until an element needs to use the icon font.

In order to speed up the initial page load and avoid FOUC, we use
inlined SVGs for all icons in the app shell. As a result, the `.woff2`
file may not be requested, when a user visits angular.io. If they go
offline before visiting a page that does actually use 'Material Icons',
then such icons will not work correctly (e.g. the `error_outline` icon
used in the error page for failed requests due to network
unanvailability).

This commit fixes this, by adding a non-visible element that needs the
'Material Icons' font on the main component. Thids ensures that the
`.woff2` file will always be loaded, even if the page does not use any
material icons.

(Note: The element is inserted lazily to avoid affecting the initial
rendering.)

PR Close 
2018-12-05 13:26:27 -08:00
George Kalpakas
27b196f585 fix(docs-infra): remove hard-coded color from inlined SVG icons ()
This allows the icons to inherit the color of their HTMLElement parent.

PR Close 
2018-12-05 13:26:27 -08:00
George Kalpakas
2adf03e54a fix(docs-infra): inline SVG icons used in page load sensitive UI ()
These icons are part of the app shell and used on every load (on both
desktop and mobile). Inlining them ensures they are rendered asap.

PR Close 
2018-12-05 13:26:26 -08:00
George Kalpakas
dca1535cb5 fix(docs-infra): always fetch Roboto font ()
Previously, we did not load the Roboto font, instead relying on the user
to have it available on their system and falling back to different fonts
otherwise. This resulted in the page being styled slightly differently
for those people that didn't have the font installed locally.

PR Close 
2018-12-05 13:26:26 -08:00
George Kalpakas
b2f73ddb64 fix(docs-infra): do not create an anchor for the file-not-found header ()
PR Close 
2018-12-05 13:26:26 -08:00
George Kalpakas
33977a2ad5 refactor(docs-infra): move minified lunr script to the generated directory ()
PR Close 
2018-12-05 13:26:26 -08:00
George Kalpakas
445f7896c1 build: error when files specified in payload size limits are missing ()
PR Close 
2018-12-05 13:26:26 -08:00
George Kalpakas
7524c99be2 fix(docs-infra): log the successful creation of previews ()
This can help with debugging issues, e.g. with the communication between
the preview server and CI, as it gives a better idea of exactly when was
the preview made available and how long it took.

PR Close 
2018-12-04 19:59:24 -08:00
George Kalpakas
7ad6b0378c ci(docs-infra): manually trigger the preview server webhook ()
With this change, we no longer depend on CircleCI to trigger the webhook
(which it sometimes does with considerable delay or not at all).

This has the added benefit that other jobs will not unnecessarily
trigger webhooks and spam the preview server logs. It is only the
`aio_preview` job's webhook that we care about.

Related to .

PR Close 
2018-12-04 13:59:54 -08:00
volshibenik
931a636bcc docs: fix typo in toh-pt6.md ()
PR Close 
2018-12-03 08:24:19 -08:00
dennisameling
3983d04b1c docs: fix dynamic-component-loader example for Adblock Plus + EasyList ()
Reported issue in  is due to EasyList being selected in ABP. This commit fixes both the image at the bottom of the Dynamic Component Loader example, and the Stackblitz demo.

Fixes 

PR Close 
2018-11-30 13:35:38 -08:00
seunggabi
36e7bf1b7b style: change style css syntax ()
PR Close 
2018-11-29 21:26:53 -08:00
Minko Gechev
2d51579a87 docs: move Minko to Angular ()
Joined the team at Google about a month ago 

PR Close 
2018-11-29 21:21:54 -08:00
Grant Timmerman
419fa172ff docs: move past events on events page ()
Moves events that have already happened to the list of past events.

PR Close 
2018-11-29 21:21:24 -08:00
Jacob Foshee
9e391e010c docs: Minor: insert missing space ()
PR Close 
2018-11-28 11:41:21 -08:00
Amadou Sall
8424f587b0 docs: replace ChromeNoSandbox by ChromeHeadlessCI ()
the custom launcher name should be named ChromeHeadlessCI instead of ChromeNoSandbox.
PR Close 
2018-11-28 11:40:03 -08:00
George Kalpakas
f45aedcbf0 build(docs-infra): upgrade npm-run-all to latest version for security ()
Earlier versions may transitively depend on a malicious version of
`flatmap-stream` (see dominictarr/event-stream#116).

The `aio-builds-setup/` had an older version of `event-stream` (3.3.4),
which did not depend on `flatmap-stream`, but upgraded it anyway.

PR Close 
2018-11-26 12:20:48 -08:00
onlyflix
4001bb44d2 fix(docs-infra): don't call setSearch when not clicking in the searchBox and no searchResults ()
Fix to call locationService.setSearch less often to avoid unnecessary
downloading of favicons

Fixes 

PR Close 
2018-11-26 09:26:34 -08:00
Brandon Roberts
30f12f2887 docs: add forms terms to glossary ()
PR Close 
2018-11-26 09:26:06 -08:00
Alex Eagle
026b7e34b3 build: update yarn version ()
Some engineers were already on Yarn 0.10.x which was permitted by the range in our package.json#engines
However this introduced 'integrity sha512' lines into the yarn.lock files.
Then when engineers use yarn 0.9 (in particular, Bazel did this) then the lock files get tons of meaningless edits.
We could force everyone back to yarn 0.9 but this commit chooses to instead advance everyone past 0.10

PR Close 
2018-11-21 07:46:22 -08:00
Elan Hasson
859da3af50 docs: The note had an indentation and was missing line breaks ()
Fixed the formatting and made Note bold.
PR Close 
2018-11-20 10:43:31 -08:00
George Kalpakas
893c1735dd build(docs-infra): upgrade cli command docs sources to a176d127a ()
Relevant changes in [commit range](b50950b97...a176d127a):

**Modified**

- help/add.json

- help/build.json

- help/config.json

- help/e2e.json

- help/generate.json

- help/lint.json

- help/new.json

- help/run.json

- help/serve.json

- help/test.json

- help/update.json

- help/xi18n.json

Closes 

Closes 

Closes 

Closes 

PR Close 
2018-11-19 09:20:21 -08:00
Alan
a4934a74b6 docs: fix code examples style ()
PR Close 
2018-11-16 12:27:00 -08:00
Igor Minar
4f965ad2a1 test(docs-infra): remove reflect-metadata polyfill from aio tests ()
v7 CLI includes the polyfill automatically whenever JIT compiler is used, so we don't need
to do it explicitly.

PR Close 
2018-11-16 12:17:44 -08:00
Judy Bogart
65943b458f docs: add link to workspace config page ()
PR Close 
2018-11-15 21:19:45 -08:00
Rae Krantz
efa443bba3 docs: fix typo ()
PR Close 
2018-11-13 10:49:35 -08:00
Ferdinand Malcher
f80c6008af docs: Fix wrong quoting in SSR guide ()
PR Close 
2018-11-12 12:52:32 -08:00
Andrew Anikin
b278ea1f09 docs: fix typo in toh-pt0.md ()
PR Close 
2018-11-12 12:51:53 -08:00
Matthew Harris
9729e8f4b9 docs: removed unused pull-left classes from hero form component ()
PR Close 
2018-11-09 10:23:17 -08:00
Frederik Schlemmer
ac1988d8e6 docs: add missing instruction in HTTP section ()
PR Close 
2018-11-09 09:44:11 -08:00
Jonathan Sharpe
edb50a2f51 docs: override code formatting for CLI commands ()
Closes 26614

PR Close 
2018-11-09 09:43:00 -08:00
Alvaro Junqueira
c89045fb77 docs: update links to TC39 and observable proposal ()
Before (404 Not Found):
http://www.ecma-international.org/memento/TC39.htm
After:
https://www.ecma-international.org/memento/tc39-m.htm

PR Close 
2018-11-09 09:41:57 -08:00