George Kalpakas
f16587e9b7
refactor(docs-infra): update main.ts
in Tour-of-Heroes examples to match latest CLI ( #36483 )
...
Update the `main.ts` files in Tour-of-Heroes examples to match what
would be generated by the latest CLI.
PR Close #36483
2020-04-16 09:43:42 -07:00
George Kalpakas
4f9991534e
style(docs-infra): clean up Tour-of-Heroes examples ( #36483 )
...
I noticed these minor styling issues while aligning the `universal`
examples with the `toh-pt6` example (in a subsequent commit).
PR Close #36483
2020-04-16 09:43:42 -07:00
George Kalpakas
35ab6acab3
test(docs-infra): fix unit tests and run them for specific docs examples on CI ( #36143 )
...
Previously, only e2e tests were run for docs examples on CI. As a
result, unit tests (which are included in the zipped archives we provide
for users to download and play with the examples locally) were often
outdated and broken.
This commit configures specific docs examples that have meaningful unit
tests to run them on CI (via the `run-example-e2e.js` script). Where
necessary, the unit tests are fixed to ensure they pass and reflect the
changes in the corresponding component/service.
This commit also removes some auto-generated unit tests that are not
meaningful (e.g. make trivial assertions, such that a component instance
is truthy) and are often broken anyway (e.g. because the corresponding
component has been changed in ways that make the tests fail).
PR Close #36143
2020-04-06 15:31:08 -07:00
George Kalpakas
c9fd8e39f3
build(docs-infra): update project structure to cli@9 6/12 (index.html
) ( #36015 )
...
Update `index.html` (mostly remove empty line).
PR Close #36015
2020-03-18 10:00:01 -07:00
Kristina Gocheva
b04c3cce09
docs: fix logging upon search in example tutorial ( #34806 )
...
When no errors are thrown but empty array is returned we should log different message.
PR Close #34806
2020-01-21 13:08:15 -05:00
ajitsinghkaler
1217c6b7cc
docs: replace class hero to interface wherever class properties not used ( #34022 )
...
Fixes #21186
PR Close #34022
2019-11-25 11:37:39 -05:00
Kapunahele Wong
8f084d7214
docs: clarify toh ( #28571 )
...
PR Close #28571
2019-07-22 09:46:27 -07:00
Michael Head
1315d23aa4
docs: increase color contrast on elements in tutorial
...
This increases the color contrast of elements in the tutorial (parts 1-6)
in order to meet WCAG 2.0 AA standards.
2019-05-31 15:23:32 -07:00
janith
c79bffaacb
docs: remove gender prefixes from examples ( #29972 )
...
PR Close #29972
2019-05-20 16:42:59 -07:00
LHearen
1e5012b2cc
docs: fix shadow variable in tutorial example ( #28499 )
...
PR Close #28499
2019-02-04 14:54:53 -05:00
Tomas Veras
6bd20e8b2f
docs: add missing type when handling errors in hero service. ( #28256 )
...
PR Close #28256
2019-01-22 09:43:43 -08:00
seunggabi
36e7bf1b7b
style: change style css syntax ( #27253 )
...
PR Close #27253
2018-11-29 21:26:53 -08:00
Frederik Schlemmer
ac1988d8e6
docs: add missing instruction in HTTP section ( #25715 )
...
PR Close #25715
2018-11-09 09:44:11 -08:00
Nikhil Sharma
0d972d9bbf
docs: update hero search component to use input event ( #26440 )
...
PR Close #26440
2018-11-08 11:29:10 -08:00
Alexander Teplyashin
b95089db20
docs: replace unused variable by _ ( #26768 )
...
replace unused variable by _ to keep the code consistent between examples
PR Close #26768
2018-10-30 13:49:52 -04:00
Vani
c7e2930f25
docs: fix issues related to tutorial. ( #24445 )
...
PR Close #24445
2018-09-25 18:45:19 -07:00
Ana María Martínez Gómez
cc55d609ce
docs: add HttpClientModule import code to services tutorial ( #24854 )
...
To be able to copy and paste.
PR Close #24854
2018-08-16 13:51:18 -07:00
Daniel Sogl
b7823e7087
docs: unified string chaining ( #22735 )
...
PR Close #22735
2018-07-10 18:50:44 -07:00
Daniel Sogl
e3709f5d48
docs(aio): unified console.log single string style ( #22737 )
...
PR Close #22737
2018-07-10 11:11:29 -07:00
FinnStutzenstein
676ec411b9
docs: consistent spacing in tutorial html files ( #23105 ) ( #24497 )
...
- Removed surrounding spaces in interpolation expressions following the styleguide
- Consistant spacing of two spaces in html
Fixes #23105
PR Close #24497
2018-06-28 17:56:19 -04:00
Nico de Haen
8dec381145
docs: fix unit tests in toh-pt6 ( #24491 )
...
Resolves #20373
PR Close #24491
2018-06-27 14:33:26 -07:00
Jon Gear
67b8d57a8d
docs(aio): use heroesUrl ( #23884 )
...
PR Close #23884
2018-05-14 10:38:15 -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
b43f8bc7d3
feat(core): upgrade rxjs to 6.0.0-alpha.4 ( #22573 )
...
PR Close #22573
2018-03-19 21:51:51 -07: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
Shavi Pathania
0fedb57cb0
docs(aio): Clearing array with [] ( #20369 ) ( #20395 )
...
Clearing array with setting length to 0 replaced with [] for being short
and marginally efficient. For reference: [] is turned into a sequence of
around 15 machine instructions on x64 (if bump pointer allocation succeeds),
whereas a.length=0 is a C++ runtime function call, which requires 10-100x as
many instructions.
Benedikt Meurer
PR Close #20395
2017-11-16 16:19:35 -06:00
Jesús Rodríguez
049c89645b
docs(aio): update ToH for CLI ( #19811 )
2017-11-06 10:02:17 -08:00
Jesus Rodriguez
9bbf009dff
build(aio): change examples to CLI ( #19248 )
...
PR Close #19248
2017-09-21 17:05:54 -07:00
Brandon Roberts
8d01db4638
docs: Updated router guide content and examples for paramMap
...
and queryParamMap, tracing, and incidental improvements.
closes #16991 and #16259 which it also fixes.
2017-06-29 09:35:39 -07:00
David
400486ced7
docs(aio): correct typos in Tour of Heroes HeroSearchService
2017-06-22 14:55:17 -07:00
Ward Bell
9650ff0824
docs(aio): add hero “Zero” to toh-6
...
Update to in-memory-web-api should handle id=0.
Make sure this works by having a hero with id=0 in ToH.
Coincidentally delete lingering dead app/ folders
Todo: fix ToH images (which have to do anyway)
2017-05-03 08:03:55 +01:00
Jesus Rodriguez
9d40ab9e20
docs(aio): rename ToH to match the guide name
2017-04-19 10:28:31 +01:00