Stefanie Fluin
8f9ba62dc3
feat(aio): positioning UX for nav and search
2017-04-15 10:25:24 +01:00
Georgios Kalpakas
2535769a65
feat(aio): allow reloading page from ServiceWorker update notification
2017-04-15 10:23:45 +01:00
Ward Bell
092f0df7a6
test(aio): remove dross from NavMenuComponent spec
2017-04-15 10:22:01 +01:00
Ward Bell
dfc81c3dab
feat(aio): sort search results by area/title
...
Display area names in all caps
Exclude results with no title because they don’t show & can’t be clicked.
Should find these and give their docs a title.
2017-04-15 10:19:32 +01:00
Ward Bell
f09fd6ec16
test(aio): add sidenav tests and refactor related tests
2017-04-12 14:17:14 -07:00
Ward Bell
8cfa58715c
feat(aio): hide side nav in mobile mode
...
Don’t show the side nav in mobile (not side-by-side) view when arriving or navigating.
Only show it by request.
The side nav should continue to appear in wide mode (side-by-side) when navigating from a marketing page to a guide page.
2017-04-12 14:17:14 -07:00
Stefanie Fluin
cc1ed77dd8
consolidated and moved api-list scss
2017-04-12 21:10:05 +01:00
Stefanie Fluin
7d69a91bfe
table updates, live example add, shield logo res
2017-04-12 21:10:05 +01:00
Igor Minar
4a052cd343
build(aio): upgrade to @angular/material#2.0.0-beta.3 ( #15606 )
2017-04-12 12:25:11 -07:00
Stefanie Fluin
2798c1bbec
feat(aio): code block styles with header
2017-04-12 14:29:03 +01:00
Peter Bacon Darwin
04fb29b589
test(aio): add test for escaped newline in CodeComponent
2017-04-11 16:03:21 -07:00
Peter Bacon Darwin
9037593ab8
fix(aio): left align code in aio-code components
2017-04-11 16:03:21 -07:00
Ward Bell
0799f184dc
fix(aio): v2 - when browser lacks service worker, disable sw feature
2017-04-11 14:26:22 -07:00
Ward Bell
c530c5d317
fix(aio): when browser lacks service worker, disable sw feature
2017-04-11 14:26:22 -07:00
Stefanie Fluin
4c566dbfbb
fix(aio): api search input fix and style
2017-04-10 13:47:24 +01:00
Stefanie Fluin
25132bff86
feat(aio): marketing page styles
2017-04-03 15:48:52 -07:00
Ward Bell
309bae0a0b
feat(aio): display “code sample missing” message when no code sample
...
Not having code in a `<code-example>` or `<code-tabs>` is presumed to be an error.
Hides the copy button as well.
2017-04-02 22:37:16 +01:00
Ward Bell
ae70293df3
feat(aio): add DtComponent to view/change the raw contents
2017-04-02 22:15:57 +01:00
Peter Bacon Darwin
928e2543cd
fix(aio): currentNode url should not contain hash or search
2017-04-02 11:41:35 +01:00
Peter Bacon Darwin
92e14a36f9
test(aio): ensure AppComponent.pageId has no search or hash
2017-04-02 11:41:35 +01:00
Peter Bacon Darwin
34a1990c57
fix(aio): trim code blocks before rendering
2017-04-02 11:40:40 +01:00
Peter Bacon Darwin
c8be3960a0
style(aio): fix minor syntax error
2017-04-01 11:49:08 +01:00
Peter Bacon Darwin
759af8b56b
feat(aio): add id to doc-viewer container based on current url
...
This enables page specific styling via CSS.
2017-04-01 11:49:08 +01:00
Ward Bell
97deb01b1f
feat(aio): add about component and data
2017-04-01 07:49:45 +01:00
Stefanie Fluin
7c2ce296d3
feat(aio): add footer background
2017-03-31 11:36:56 -07:00
Stefanie Fluin
9d37d86223
feat(aio): docs landing page with styles, logo res fix
2017-03-31 11:36:56 -07:00
Stefanie Fluin
21ef5a1961
feat(aio): docs landing page with styles, logo res fix
2017-03-31 11:36:56 -07:00
Ward Bell
4c21114087
feat(aio): remove google feedback
2017-03-31 09:37:57 +01:00
Ward Bell
28bf222a6a
feat(aio): add footer links with GoogleFeedbackService ( #15605 )
2017-03-30 14:46:25 -07:00
Stefanie Fluin
43a9619e57
feat(aio): overall margin, code, alert styles
2017-03-29 23:55:43 -07:00
Stefanie Fluin
146b30796e
feat(aio): code blocks, copy bttn, a tag hover
2017-03-29 23:55:43 -07:00
George Kalpakas
3ccbe28d9f
feat(aio): enable activating available ServiceWorker updates ( #15561 )
2017-03-29 23:55:03 -07:00
Ward Bell
9f2acf54bc
feat(aio): refactors AppComponent and its kids + sidenav hiding ( #15570 )
...
-hides sidenav when current doc is not in sidenav menu
-displays top menu on the side as nodes instead of mini top menu
2017-03-29 14:13:40 -07:00
Ward Bell
861953c95c
feat(aio): add LiveExampleComponent ( #15544 )
2017-03-28 14:41:50 -07:00
Peter Bacon Darwin
b7a89cec59
feat(aio): show top-nav with same styling as side-nav when window is narrow
...
Fixes #15490
2017-03-28 11:48:28 +01:00
Peter Bacon Darwin
99951911d5
fix(aio): selectedNodes should work for URLs ending with a slash
...
The mapping was not accounting for the fact that URLs with or without
a trailing slash are actually the same node.
2017-03-28 10:48:51 +01:00
Peter Bacon Darwin
ff82756415
fix(aio): ensure DocumentService doesn't crash on bad JSON
2017-03-28 10:21:46 +01:00
Ward Bell
837ed788f4
feat(aio): add code-example and code-tabs
...
* move embedded components to EmbeddedModule
* add PrettyPrint service; load pretty print js dynamically
* make code-example to syntax highlighting w/ `prettyPrintOne`
* add code-tabs
* Implement copy code button
2017-03-27 12:25:34 +01:00
Peter Bacon Darwin
228238e602
refactor(aio): move SearchService initialisation into SearchBoxComponent
...
The AppComponent really doesn't need to know about the search service.
2017-03-27 09:24:38 +01:00
Stefanie Fluin
4918cd241f
feat(aio): search results and code margins styling
2017-03-25 06:55:59 +00:00
Stefanie Fluin
45983301d5
feat(aio): footer styling
2017-03-25 06:55:59 +00:00
Stefanie Fluin
acf57def13
feat(aio): marketing responsive items and footer
2017-03-25 06:55:59 +00:00
Stefanie Fluin
159c98c202
feat(aio): search result stying, add footer
2017-03-25 06:55:59 +00:00
Peter Bacon Darwin
fc1f6efe0d
build(aio): fix paths to "index" pages
...
Content pages like `tutorial/index.md` were being mapped to `tutorial.index.json`,
which meant that they could only be rendered if you browsed to `/tutorial/index`.
This didn't sit well so now these pages are mapped to `tutorial.json`, which
means that you browser to them via `/tutorial/` or just `/tutorial`.
Fixed #15335
2017-03-21 15:20:28 -05:00
Peter Bacon Darwin
a9e91115bf
build(aio): add version into navigation.json
...
The navigation.json is now passed through the dgeni pipeline.
The source file has been moved to `aio/content/navigation.json`
but the generated file will now appear where the original source file
was found, `aio/src/content/navigation.json`.
Everything inside `aio/src/content` is now generated and ignored by git.
The `processNavigationMap` processor in this commit adds the current version
information to the navigation.json file and verifies the relative urls in
the file map to real documents.
The navigationService exposes the versionInfo as an observable, which the
AppComponent renders at the top of the sidenav.
2017-03-21 15:20:28 -05:00
Peter Bacon Darwin
20aab64c65
test(aio): use MockLogger in AppComponent tests
...
This component sends a lot of messages to the console, which makes the
test run less easy to follow.
2017-03-21 15:20:28 -05:00
Peter Bacon Darwin
4e10faf1eb
build(aio): add version into navigation.json
...
The navigation.json is now passed through the dgeni pipeline.
The source file has been moved to `aio/content/navigation.json`
but the generated file will now appear where the original source file
was found, `aio/src/content/navigation.json`.
Everything inside `aio/src/content` is now generated and ignored by git.
The `processNavigationMap` processor in this commit adds the current version
information to the navigation.json file and verifies the relative urls in
the file map to real documents.
The navigationService exposes the versionInfo as an observable, which the
AppComponent renders at the top of the sidenav.
2017-03-21 15:20:28 -05:00
Ward Bell
a13ddf2e8a
feat(aio): expand nav menu branch of select item on page load
2017-03-21 15:20:28 -05:00
Peter Bacon Darwin
6772c913c7
fix(aio): scroll to hash fragment element on URL change
2017-03-15 16:11:30 -07:00
Stefanie Fluin
637a489996
refactor(aio): indent and org cleanup
2017-03-15 16:11:30 -07:00