Matthieu Riegler
3d0ee73892
docs(docs-infra): Use shiki for code highlighting ( #57059 )
...
PR Close #57059
2024-07-24 10:24:52 -07:00
Matthieu Riegler
8bb5937e71
docs(docs-infra): disable experimental decorators ( #56257 )
...
Also enable useDefineForClassFields and disable downlevelIteration
PR Close #56257
2024-07-24 10:18:22 -07:00
Andrew Scott
288a4fac01
test(docs-infra): fix test with slight adjustment to error handling ( #57104 )
...
The test was broken because multiple errors happen and the last error would be the displayed message.
However, in this case, those errors happen because the initial one already terminated the container
so the follow-up errors are a result of the service being in an unexpected state
PR Close #57104
2024-07-23 15:45:55 -07:00
Andrew Scott
889a02b1c3
test(docs-infra): update adev tests to be zoneless ( #57100 )
...
Updates adev tests to use zoneless and remove
fakeAsync/waitForAsync/tick
PR Close #57100
2024-07-23 14:50:32 -07:00
Angular Robot
23fa43d044
build: update all non-major dependencies ( #57092 )
...
See associated pull request for more information.
PR Close #57092
2024-07-23 12:18:34 -07:00
xpl0siv
8a005eada5
docs: fix push-notifications.md ( #57065 )
...
Added missing comma at actions notifications example.
SyntaxError:
Expected ',' or ']' after array element in JSON at position 255
PR Close #57065
2024-07-22 10:46:56 -07:00
Salanoid
ae15dd94ef
docs: fixing dead link ( #57077 )
...
Fixing guide dead link for issue #57067 .
PR Close #57077
2024-07-22 09:58:42 -07:00
Matthieu Riegler
be16d7fcc3
docs: fix filtering on API reference ( #57057 )
...
With the input binding, the `type` can become `undefined`
PR Close #57057
2024-07-19 11:49:05 -07:00
Matthieu Riegler
04c504ab40
docs: fix pipes link ( #52979 )
...
fixes #52968
PR Close #52979
2024-07-18 18:05:07 -07:00
Matthieu Riegler
91483ab5b3
docs(docs-infra): filter types ( #52979 )
...
PR Close #52979
2024-07-18 18:05:07 -07:00
Matthieu Riegler
e088c80854
docs(docs-infra): update tutorial deps to 18.1 ( #57024 )
...
lockfile were still loading 18.0 but TS was already at 5.5 which 18.0 doesn't support
PR Close #57024
2024-07-18 15:27:24 -07:00
qshurick
f1349e1d0f
docs: Update service code snippet ( #57036 )
...
Snippet was missing import for the function and failed when copied to the test
project
PR Close #57036
2024-07-18 15:21:32 -07:00
Tomek Sułkowski
edbb403171
docs(docs-infra): add open in StackBlitz button to code editor ( #57018 )
...
PR Close #57018
2024-07-18 08:41:35 -07:00
Matthieu Riegler
d3e14b35d3
docs(docs-infra): no prefix for the current major ( #56882 )
...
To allow navigation back from next.angular.dev, the current major uses no prefix.
fixes #56868
PR Close #56882
2024-07-18 08:40:09 -07:00
Matthieu Riegler
f02f351cda
docs: Expose $localize in the @angular/localize/init entry. ( #55345 )
...
fixes #54388
PR Close #55345
2024-07-16 08:43:53 -07:00
homerlsy
e9837c94d0
docs: update structural-directives.md select to [select] ( #56955 )
...
this custom directive's selector should be [select]
PR Close #56955
2024-07-16 08:42:59 -07:00
Ben Hong
7c0a7a02c0
docs: add quick installation page ( #56816 )
...
PR Close #56816
2024-07-15 11:37:57 -07:00
Matthieu Riegler
60df722d29
docs(docs-infra): focus api search filter on non-touch devices ( #56294 )
...
PR Close #56294
2024-07-11 12:05:34 -07:00
Andrew Kushnir
94c6ec0221
docs: fixing links to guides on the Performance Overview page ( #56942 )
...
PR Close #56942
2024-07-10 17:06:08 -07:00
Michael van der Luit
5673f6b04d
docs: move public folder to workspace configuration section ( #56931 )
...
move the public folder entry from the application project files section to the workspace configuration files section
PR Close #56931
2024-07-10 13:52:06 -07:00
Ben Hong
aedf8322b0
docs: add overview page for performance section ( #56828 )
...
PR Close #56828
2024-07-10 18:17:05 +02:00
Matthieu Riegler
bbbaf7a1b8
docs(docs-infra): fix z-index issue on mobile ( #56874 )
...
fixes #56871
PR Close #56874
2024-07-10 15:48:42 +02:00
Harish Krishnan
551ffbf9f2
docs: Update components-scenarios.md ( #56921 )
...
Fix grammatical issues
PR Close #56921
2024-07-10 11:29:17 +02:00
Matthieu Riegler
0da9eae24c
docs: update version table for 18.1 ( #56920 )
...
PR Close #56920
2024-07-10 09:34:48 +02:00
Andrew Scott
15d2e8d54c
docs: Update component testing scenarios ( #56388 )
...
This update goes through half of the component-scenarios guide and makes
relevant updates to examples.
Updates include:
* Use signals in examples
* Advise and use `await fixture.whenStable` more frequently than
`detectChanges`
* Use and advise mocks and spies more sparingly
* Remove `waitForAsync` and jasmine `done` guidance - The ecosystem has evolved
and these aren't needed
* Remove marble testing for rxjs - this belongs in rxjs documentation,
not in Angular
* Remove class-only component testing. This approach is not advisable
for components.
related to #48510
PR Close #56388
2024-07-10 09:11:21 +02:00
Marcos Paulo dos Santos
3a453d6040
docs: update compat table with 13.4.x ( #56915 )
...
PR Close #56915
2024-07-10 09:10:29 +02:00
Ofer Segev
ae9505b702
docs: update dependency-injection-context.md ( #56736 )
...
HeroService is not part of this example, and is only introduced in the next example. Use type Service1 for this.service1, as its type
PR Close #56736
2024-07-09 13:05:57 +02:00
Kristiyan Kostadinov
f689214178
docs: fix wrong link in template overview ( #56911 )
...
One of the links added in #56886 was incomplete.
PR Close #56911
2024-07-09 12:13:12 +02:00
Kristiyan Kostadinov
02f5e73a8d
docs: add documentation page for let declarations ( #56886 )
...
Adds a docs page for the new `@let` syntax in Angular 18.1.
PR Close #56886
2024-07-09 09:38:23 +02:00
Matthieu Riegler
20f5e1291e
docs: add a FAQ on how to find the LCP image ( #56779 )
...
PR Close #56779
2024-07-09 09:37:20 +02:00
vladboisa
35fa9b0f77
docs(docs-infra): add missing context with link ( #56896 )
...
Added missing link documenting ng global features.
Fixes #56488
PR Close #56896
2024-07-08 18:04:00 +02:00
Sasidharan SD
8326e62313
docs: fix previous configuration link ( #56880 )
...
PR Close #56880
2024-07-08 09:48:02 +02:00
Dan Nisenson
1efe907881
docs: fix broken link ( #56848 )
...
fix link @ /guide/forms/reactive-forms#reactive-forms-api-summary
prev: /api/forms
current: /api#forms
PR Close #56848
2024-07-05 12:27:35 +02:00
Corbin Crutchley
1074134d4b
docs: add window title to reference pages ( #56840 )
...
PR Close #56840
2024-07-04 14:29:29 +02:00
Michael van der Luit
85da4b3b2a
docs: update app-shell docs to reflect v17 ( #56836 )
...
Fixes the build commands as previously mentioned here: https://github.com/angular/angular/pull/52294
PR Close #56836
2024-07-04 11:32:14 +02:00
Harish Krishnan
3fa21cbbc5
docs: Update image-optimization.md ( #56819 )
...
Fix the mistyped attribute rel
PR Close #56819
2024-07-04 09:56:18 +02:00
Krishna Sahu
6ad2fe6ab0
docs: add toSignal import inside the demo example ( #56804 )
...
PR Close #56804
2024-07-03 14:07:51 +00:00
komura-c
0e0fb7bb61
docs: fix missing image and baseUrl in tutorials/first-app ( #56766 )
...
PR Close #56766
2024-07-02 20:21:41 +00:00
Andrew Kushnir
8a0a00e212
docs: add Event Replay section to the Hydration guide ( #56770 )
...
PR Close #56770
2024-07-02 20:19:53 +00:00
Ben Hong
0f612dcaf8
docs: update playground app to use hello world for easier onboarding ( #56813 )
...
PR Close #56813
2024-07-02 12:57:31 -04:00
Ben Elliott
9acccb11ff
docs: Update interceptors.md to replace public class with export class in DI section ( #56807 )
...
PR Close #56807
2024-07-02 16:44:12 +00:00
Ben Hong
e914767efb
docs: add documentation aroun build error for docs ( #56814 )
...
PR Close #56814
2024-07-02 16:43:07 +00:00
Enea Jahollari
fd6cd0422d
feat(compiler): Add extended diagnostic to warn when there are uncalled functions in event bindings ( #56295 )
...
The diagnostic will catch issues like:
```html
<button (click)="increment"></button>
<button (click)="increment; decrement"></button>
<button (click)="true ? increment : decrement"></button>
<button (click)="nested.nested1.nested2.increment"></button>
```
PR Close #56295
2024-07-01 20:31:19 +00:00
Andrew Kushnir
a0fbd0e5e1
docs: update 18.1.0 release date ( #56789 )
...
PR Close #56789
2024-07-01 19:37:33 +00:00
Harish Krishnan
aad3c2da6e
docs: Update structural-directives.md ( #56753 )
...
PR Close #56753
2024-07-01 14:03:24 +00:00
Harish Krishnan
4017f72e8c
docs: Update rxjs-interop.md ( #56771 )
...
Fix grammatical error
PR Close #56771
2024-07-01 14:02:46 +00:00
Kristiyan Kostadinov
ceaaa9815b
build: update to latest docs tooling to resolve missing answers ( #56746 )
...
Updates to the latest version of `@angular/docs` which should include a fix for the missing answers in the tutorials.
PR Close #56746
2024-06-27 21:17:38 +00:00
Andrew Scott
ed2665a74d
docs: fix indentation on control flow documentation page ( #56748 )
...
This fixes the indentation on the examples in the control flow docs
fixes #56745
PR Close #56748
2024-06-27 19:55:48 +00:00
Sasidharan SD
0cfd13c671
docs: fix cold observable and frames link ( #56742 )
...
PR Close #56742
2024-06-27 18:26:25 +00:00
Matthieu Riegler
033dfc39bc
docs: Add mention of picture support in FAQ ( #56692 )
...
PR Close #56692
2024-06-26 16:58:27 -07:00