Matthieu Riegler
a7b973eac5
docs(docs-infra): Use shiki for code highlighting ( #57059 )
...
PR Close #57059
2024-07-24 10:24:51 -07:00
Matthieu Riegler
d5fbe11e40
docs(docs-infra): disable experimental decorators ( #56257 )
...
Also enable useDefineForClassFields and disable downlevelIteration
PR Close #56257
2024-07-24 10:18:21 -07:00
Andrew Scott
43515a38d0
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:54 -07:00
Andrew Scott
c578239d6c
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
d7860a5a13
build: update all non-major dependencies ( #57092 )
...
See associated pull request for more information.
PR Close #57092
2024-07-23 12:18:33 -07:00
xpl0siv
21f71315cb
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
aeaf07d7cd
docs: fixing dead link ( #57077 )
...
Fixing guide dead link for issue #57067 .
PR Close #57077
2024-07-22 09:58:41 -07:00
Matthieu Riegler
a18f41cb35
docs: fix filtering on API reference ( #57057 )
...
With the input binding, the `type` can become `undefined`
PR Close #57057
2024-07-19 11:49:04 -07:00
Matthieu Riegler
244c50de54
docs: fix pipes link ( #52979 )
...
fixes #52968
PR Close #52979
2024-07-18 18:05:07 -07:00
Matthieu Riegler
45777876b7
docs(docs-infra): filter types ( #52979 )
...
PR Close #52979
2024-07-18 18:05:07 -07:00
Matthieu Riegler
f3a88ad678
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:23 -07:00
qshurick
cef0905f68
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
5e2b29c316
docs(docs-infra): add open in StackBlitz button to code editor ( #57018 )
...
PR Close #57018
2024-07-18 08:41:34 -07:00
Matthieu Riegler
1dd43ebe42
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
e5e1f49a22
docs: Expose $localize in the @angular/localize/init entry. ( #55345 )
...
fixes #54388
PR Close #55345
2024-07-16 08:43:52 -07:00
homerlsy
80b52021a4
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
7a5384cab8
docs: add quick installation page ( #56816 )
...
PR Close #56816
2024-07-15 11:37:57 -07:00
Matthieu Riegler
0953d655b7
docs(docs-infra): focus api search filter on non-touch devices ( #56294 )
...
PR Close #56294
2024-07-11 12:05:33 -07:00
Andrew Kushnir
dd6e548373
docs: fixing links to guides on the Performance Overview page ( #56942 )
...
PR Close #56942
2024-07-10 17:06:07 -07:00
Michael van der Luit
78c44ec5ec
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
8df13e1cae
docs: add overview page for performance section ( #56828 )
...
PR Close #56828
2024-07-10 18:17:04 +02:00
Matthieu Riegler
bafafb25c9
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
9d941773a2
docs: Update components-scenarios.md ( #56921 )
...
Fix grammatical issues
PR Close #56921
2024-07-10 11:29:17 +02:00
Matthieu Riegler
aa8a47911f
docs: update version table for 18.1 ( #56920 )
...
PR Close #56920
2024-07-10 09:34:47 +02:00
Andrew Scott
9fd2ef915e
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:20 +02:00
Marcos Paulo dos Santos
846657253a
docs: update compat table with 13.4.x ( #56915 )
...
PR Close #56915
2024-07-10 09:10:29 +02:00
Ofer Segev
fe52d8fa62
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:56 +02:00
Kristiyan Kostadinov
0beba0d749
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:11 +02:00
Kristiyan Kostadinov
02a31c5e4b
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:22 +02:00
Matthieu Riegler
5f8cf02256
docs: add a FAQ on how to find the LCP image ( #56779 )
...
PR Close #56779
2024-07-09 09:37:19 +02:00
vladboisa
d5ce3237f1
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:03:59 +02:00
Sasidharan SD
02da71c35c
docs: fix previous configuration link ( #56880 )
...
PR Close #56880
2024-07-08 09:47:57 +02:00
Dan Nisenson
e7da8c2b02
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:34 +02:00
Corbin Crutchley
97d718dc2f
docs: add window title to reference pages ( #56840 )
...
PR Close #56840
2024-07-04 14:29:28 +02:00
Michael van der Luit
34e236abc4
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:13 +02:00
Harish Krishnan
a2d93dc4bb
docs: Update image-optimization.md ( #56819 )
...
Fix the mistyped attribute rel
PR Close #56819
2024-07-04 09:56:17 +02:00
Enea Jahollari
c8e2885136
feat(compiler): Add extended diagnostic to warn when there are uncalled functions in event bindings ( #56295 ) ( #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
(cherry picked from commit fd6cd0422d )
PR Close #56295
2024-07-03 15:36:39 +00:00
Krishna Sahu
838c15e9fe
docs: add toSignal import inside the demo example ( #56804 )
...
PR Close #56804
2024-07-03 14:07:51 +00:00
komura-c
a1f6ff310e
docs: fix missing image and baseUrl in tutorials/first-app ( #56766 )
...
PR Close #56766
2024-07-02 20:21:40 +00:00
Andrew Kushnir
3089dfae0d
docs: add Event Replay section to the Hydration guide ( #56770 )
...
PR Close #56770
2024-07-02 20:19:52 +00:00
Ben Hong
8fa6f40b90
docs: update playground app to use hello world for easier onboarding ( #56813 )
...
PR Close #56813
2024-07-02 12:57:30 -04:00
Angular Robot
c229916f38
build: update dependency typescript to v5.5.3 ( #56802 )
...
See associated pull request for more information.
PR Close #56802
2024-07-02 16:44:40 +00:00
Ben Elliott
859ef580d6
docs: Update interceptors.md to replace public class with export class in DI section ( #56807 )
...
PR Close #56807
2024-07-02 16:44:11 +00:00
Ben Hong
899dabacae
docs: add documentation aroun build error for docs ( #56814 )
...
PR Close #56814
2024-07-02 16:43:06 +00:00
Jessica Janiuk
ec89fb6242
Revert "feat(compiler): Add extended diagnostic to warn when there are uncalled functions in event bindings ( #56295 )" ( #56810 )
...
This reverts commit fd6cd0422d .
PR Close #56810
2024-07-02 14:14:50 +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