Matthieu Riegler
ae4880f5fd
docs(docs-infra): fix mobile banner layout ( #64408 )
...
PR Close #64408
2025-10-15 10:41:04 -07:00
Shuaib Hasan Akib
015d582801
docs(docs-infra): keep file name visible when code block is hidden ( #64204 )
...
Ensures that file names remain visible even if the associated code block
is collapsed or hidden, improving readability and context in the docs.
PR Close #64204
2025-10-02 17:30:45 +00:00
Shuaib Hasan Akib
9a913dcfa9
docs(docs-infra): clean up code and use inferred types where possible ( #64139 )
...
PR Close #64139
2025-09-29 16:48:11 -04:00
Matthieu Riegler
6782f7148d
docs: remove api grouping toggle ( #63961 )
...
PR Close #63961
2025-09-19 22:13:21 +00:00
Shuaib Hasan Akib
cc1032bd92
docs(docs-infra): removed unused common module ( #63915 )
...
PR Close #63915
2025-09-19 14:44:44 +00:00
Matthieu Riegler
5eb9f57ae8
docs: Introduce API category sorting ( #63914 )
...
PR Close #63914
2025-09-19 14:44:10 +00:00
hawkgs
b4960da4f1
docs(docs-infra): store search result fragment in search history ( #63866 )
...
Store the search result page fragment/sub-label in the search history and render it in the history items.
PR Close #63866
2025-09-17 14:56:31 +00:00
hawkgs
39cbb97dfc
docs(docs-infra): always include fragment in search results ( #63866 )
...
Always include page fragment/sub-title in the search dialog results.
PR Close #63866
2025-09-17 14:56:31 +00:00
Oleg Ivanitski
420703f8fb
fix(docs-infra): fix guide content width ( #63798 )
...
This commit fixes the width of the content section, specifically the
reactive forms and template-driven forms section
Closes #63798
PR Close #63798
2025-09-15 15:25:40 +00:00
Shuaib Hasan Akib
53ef785067
docs(docs-infra): add missing type="button" for accessibility and to remove dev tools warning ( #63784 )
...
PR Close #63784
2025-09-15 15:25:08 +00:00
Cheng-Hsuan Tsai
8401f8940f
docs(docs-infra): allow collapse code example ( #63559 )
...
PR Close #63559
2025-09-04 15:25:23 -07:00
Shuaib Hasan Akib
15416067e2
docs(docs-infra): apply migration script changes ( #63514 )
...
PR Close #63514
2025-09-02 09:32:00 -07:00
Shuaib Hasan Akib
e75b04fb62
docs(docs-infra): properties should be readonly ( #63492 )
...
PR Close #63492
2025-08-29 14:06:33 -07:00
Shuaib Hasan Akib
d635e6c07e
docs(docs-infra): tooltip on hover and message after copied ( #63167 )
...
PR Close #63167
2025-08-27 16:56:44 -07:00
Shuaib Hasan Akib
4c82b84c5b
docs(docs-infra): mark properties as readonly if they shouldn't change ( #63200 )
...
PR Close #63200
2025-08-27 16:16:25 -07:00
Joey Perrott
b4ae94d5ef
refactor: remove TODOs which have been corrected ( #63421 )
...
Remove TODOs which were addressed but the comment was not removed
PR Close #63421
2025-08-27 11:23:57 -07:00
Joey Perrott
3df1dccebe
refactor: various build and import specificer fixes for strict deps ( #63323 )
...
Change direct deps in bazel targets and import specifiers within files to maintain strict deps requirements ahead of enabling strict deps tests in the repo
PR Close #63323
2025-08-22 14:45:00 -07:00
Matthieu Riegler
9b539a18ba
docs(docs-infra): lift circular imports ( #63186 )
...
This commit also adds adev on the cyclic import check.
PR Close #63186
2025-08-19 07:58:45 +00:00
Shuaib Hasan Akib
6f91972ae4
docs(docs-infra): replace Input by signal one ( #63169 )
...
PR Close #63169
2025-08-15 13:42:39 +02:00
Cheng-Hsuan Tsai
0f17623398
docs(docs-infra): add dark mode to example preview ( #63171 )
...
PR Close #63171
2025-08-15 13:41:08 +02:00
Jeremy Elbourn
e64271df92
fix(docs-infra): put content in <main> element ( #63121 )
...
This fix updates the adev `DocViewer` component to support rendering with the `main[docsViewer` selector so that the primary content for the page is inside of a `<main>` element (without introducing an extra DOM element).
PR Close #63121
2025-08-12 11:05:13 -07:00
Matthieu Riegler
9da26addfa
docs: disable stackblitz examples ( #62972 )
...
This isn't supported ATM.
PR Close #62972
2025-08-04 11:39:38 +02:00
Joey Perrott
cbc258eec8
build: remove ts_project_interop infrastructure ( #62908 )
...
Remove the interop macros and final usages
PR Close #62908
2025-07-31 09:12:58 +00:00
Joey Perrott
e8c5603126
build: move all rule/macro loading into adev/defaults.bzl and fix intellisense loading ( #62627 )
...
Move all of our loading into a local defaults.bzl file instead of mixed loading via tools/defaults and adev/defaults
PR Close #62627
2025-07-14 15:47:05 -07:00
Matthieu Riegler
2d048d5520
test(docs-infra): Use the zoneless testing rule ( #62596 )
...
This will spare use the warning logs when the tests run.
```
NG0914: The application is using zoneless change detection, but is still loading Zone.js. Consider removing Zone.js to get the full benefits of zoneless. In applications using the Angular CLI, Zone.js is typically included in the "polyfills" section of the angular.json file.
```
PR Close #62596
2025-07-14 11:36:43 -07:00
Matthieu Riegler
57e06c5232
docs(docs-infra): Add status to some guide entries. ( #62614 )
...
Guide entries can now have "new" or "updated" tags.
PR Close #62614
2025-07-14 09:58:14 -07:00
Joey Perrott
50a69dee6c
build: only require workspace build packages for web tests when provided ( #62443 )
...
Only use the builds from the workspace as for the bootstrap scripts for web testing
PR Close #62443
2025-07-03 08:34:25 +00:00
Shuaib Hasan Akib
99069c2252
refactor(docs-infra): removed unused imports ( #62441 )
...
Cleans up instances of unused imports in a few shared docs components.
PR Close #62441
2025-07-03 08:11:45 +00:00
Shuaib Hasan Akib
9fc1383115
refactor(docs-infra): cleanup lines in scss ( #62438 )
...
Cleans up some of the scss code.
PR Close #62438
2025-07-03 08:11:09 +00:00
Joey Perrott
73434e366f
build: migrate all dependencies for adev into adev/package.json ( #62435 )
...
Migrate the dependencies into the adev/package.json instead of importing from the the root package.json
PR Close #62435
2025-07-03 08:09:34 +00:00
Shuaib Hasan Akib
cd87a71e19
docs(docs-infra): replace deprecated RouterTestingModule with RouterModule.forRoot([]) ( #62364 )
...
PR Close #62364
2025-07-02 16:52:31 +00:00
Joey Perrott
4fae4dbba8
build: migrate adev to use packaged version of @angular/* packages ( #62413 )
...
Use the packaged versions of the packages instead of the local ts_project dependencies to prevent multiple versions of the deps to enter test bundles
PR Close #62413
2025-07-02 16:10:25 +00:00
Joey Perrott
ad89f80969
build: migrate adev to use new sass ruleset ( #62297 )
...
Use the new sass ruleset for bazel sass building in adev
PR Close #62297
2025-06-27 09:25:43 +00:00
Joey Perrott
b84859073b
build: migrate to use web test runner rules ( #62292 )
...
Migrate karma tests throughout the repo to use the new web test runner based rule instead
PR Close #62292
2025-06-26 17:19:10 +00:00
Matthieu Riegler
44782beea7
docs(docs-infra): fix & simplify scrolling for code blocks ( #62179 )
...
PR Close #62179
2025-06-23 14:19:34 +02:00
hawkgs
0b1d0459a4
docs(docs-infra): retain the results in the search dialog while typing ( #61935 )
...
Due to `resource()` not retaining its value while there is a request in progress, the results list flickers. The new `searchResults` signal retains that previous value until the request is completed.
PR Close #61935
2025-06-11 13:34:45 +02:00
Andrew Kushnir
0bd7c7d469
Revert "docs(docs-infra): retain the results in the search dialog while typing ( #61935 )" ( #61995 )
...
This reverts commit dbdfc2a99a .
PR Close #61995
2025-06-10 18:25:53 -07:00
hawkgs
dbdfc2a99a
docs(docs-infra): retain the results in the search dialog while typing ( #61935 )
...
Due to `resource()` not retaining its value while there is a request in progress, the results list flickers. The new `searchResults` signal retains that previous value until the request is completed.
PR Close #61935
2025-06-10 17:24:23 -07:00
hawkgs
e678050794
docs(docs-infra): implement search history ( #61866 )
...
Add history of searches to the search dialog of A.dev.
PR Close #61866
2025-06-06 12:36:23 -07:00
Matthieu Riegler
e555c7f0dd
docs(docs-infra): use modern apis ( #61706 )
...
PR Close #61706
2025-06-03 10:28:20 -04:00
Matthieu Riegler
663975b4e7
docs: update learn-angular tutorial to use input/output ( #61607 )
...
This replaces the example that were using the decorators.
PR Close #61607
2025-05-29 17:50:30 -04:00
Hakeem
5735ea7115
docs(docs-infra): fix nav items active status is shown for multiple items ( #61597 )
...
PR Close #61597
2025-05-21 16:04:23 -07:00
Ahmed Hakeem
7651d37cfe
docs(docs-infra): modify bazel config to include shared docs global styles ( #61384 )
...
PR Close #61384
2025-05-21 09:51:47 +00:00
Hakeem
2807a166d1
docs(docs-infra): fix docs pages overflow when specific example-viewer exists ( #61384 )
...
enforce content to be fluid until a specific max width, and rollback breakpoints to be applied when 1430px is the current win size
as widths between 1430px and 1431px will be broken
PR Close #61384
2025-05-21 09:51:47 +00:00
Joey Perrott
ef0f1a4ca8
build: move ts_project and ng_project for adev into a macro ( #61319 )
...
Move ts_project and ng_project into a macro for adev/ instead of providing a custom
tsconfig on every target
PR Close #61319
2025-05-20 08:48:29 +00:00
Joey Perrott
8ef41f3e14
build: migrate adev to use ng_project ( #61319 )
...
Move all of adev to use ng_project instead of ng_module
PR Close #61319
2025-05-20 08:48:29 +00:00
Matthieu Riegler
13e3966584
docs(docs-infra): only show clear button of textfield when there is a text ( #61427 )
...
PR Close #61427
2025-05-16 15:57:35 +00:00
Matthieu Riegler
08bf41edb8
docs(docs-infra): fix API query filtering. ( #61300 )
...
On `19.2` we pass an undefined value to the text-field.
But more generaly, the CVA should protect itself if it doesn't recieve an `undefined` value.
fixes #61299
PR Close #61300
2025-05-16 09:57:06 +00:00
Hakeem
395d3bc4cb
docs(docs-infra): fixating the position of the docs content whether TOC exists or not ( #61256 )
...
PR Close #61256
2025-05-14 08:47:29 -07:00
Hakeem
abef774485
docs(docs-infra): integrate the new layout with the new changes ( #61256 )
...
fix new global layout issues, and make other pages adhere to the new centered layout like cli ref page, cli ref details, api ref details pages
PR Close #61256
2025-05-14 08:47:29 -07:00
Matthieu Riegler
ba38e1c301
docs(docs-infra): preselect search text on re-open ( #61129 )
...
PR Close #61129
2025-05-12 15:25:50 -07:00
Matthieu Riegler
3eeea56ba0
refactor(core): remove compileComponents invocations ( #61032 )
...
Those weren't necessary.
PR Close #61032
2025-05-09 10:27:14 -07:00
Hakeem
108043fa76
docs(docs-infra): limit the flexible width of the main content for better UX ( #58831 )
...
PR Close #58831
2025-05-09 10:24:13 -07:00
ahmadhakeem18
20fdeab612
docs(docs-infra): fix the global layout of the site ( #58831 )
...
take the full width of the page for all the pages that use docs-viewer, also reserve an area for table of contents on-demand
Resolves : #52648
PR Close #58831
2025-05-09 10:24:13 -07:00
Joey Perrott
5f1c08d75f
build: migrate adev shared-docs package to use ts_project ( #61193 )
...
Migrate the build rules for shared docs to use ts_project
PR Close #61193
2025-05-09 16:30:05 +00:00
Andrew Scott
e7f5aa2b52
refactor(core): Remove use of private export PendingTasksInternal where possible ( #61049 )
...
This commit removes the use of the privately exported
PendingTasksInternal everywhere except for Router. A follow-up change
will be done to remove that one as well and delete the private export.
PR Close #61049
2025-05-05 08:56:20 -07:00
Matthieu Riegler
bf6dbaab25
docs(docs-infra): prevent from resetting the search on navigation ( #60927 )
...
By keeping the search well allow developers to navigate through multiple results without having to re-type the search
PR Close #60927
2025-04-28 10:14:56 -07:00
Matthieu Riegler
06ada469b0
docs(docs-infra): fix github links for for previews ( #60994 )
...
PR Close #60994
2025-04-24 09:30:25 -07:00
Andrew Scott
953c4b2580
feat(core): Move zoneless change detection to dev preview ( #60748 )
...
This commit moves zoneless from experimental to developer preview.
* Update tag on provider API
* Remove "experimental" from provider name
* Move documentation from "experimental features" to "Best practives ->
Performance" (at least temporarily until there is a better place)
BREAKING CHANGE: `provideExperimentalZonelessChangeDetection` is
renamed to `provideZonelessChangeDetection` as it is now "Developer
Preview" rather than "Experimental".
PR Close #60748
2025-04-23 11:47:56 +02:00
Matthieu Riegler
ba79f23e2e
refactor(router): remove dependency on @types/dom-view-transitions ( #60731 )
...
The types have been shipped in TS 5.6
PR Close #60731
2025-04-08 09:01:41 -07:00
Andrew Scott
9228a73363
feat(docs-infra): Add Navigation API adapter to adev ( #60722 )
...
This adapter adds an integration with the Navigation API, allowing
SPA Router navigations to be displayed more fully in the browser UI.
With this, site visitors will be able to see that a page is loading via
the loading spinner in the tab. They will also have access to cancel the
navigation with the browser UI via the "stop" button or by pressing the
escape key (only relevant for slower connections).
* https://github.com/WICG/navigation-api
* https://developer.mozilla.org/en-US/docs/Web/API/Navigation_API
PR Close #60722
2025-04-04 11:46:00 -07:00
hawkgs
4f86f3f106
docs(docs-infra): fix algolia icon in the search dialog on safari ( #60702 )
...
The icon used to have zero height due to its display property.
PR Close #60702
2025-04-02 16:19:46 +00:00
Matthieu Riegler
2af330df61
docs(docs-infra): Search results as HTML ( #60394 )
...
fixes #60384
PR Close #60394
2025-04-02 11:32:57 +00:00
Sheik Althaf
f7a0b8eede
refactor(docs-infra): migrate adev to signal-based queries ( #58646 )
...
Used migration schametic to migrate to signal based queries and little manual migration where setter is used
PR Close #58646
2025-03-31 20:16:39 +00:00
hawkgs
b938f0ce94
docs(docs-infra): fix navigation component UI bugs ( #60583 )
...
- Detachment of the navigation from the left window border
- Odd horizontal scroll when there is a URL fragment and the viewport width <900px
PR Close #60583
2025-03-27 18:11:38 +00:00
Kristiyan Kostadinov
b26b0abad6
fix(docs-infra): host binding type issues ( #60481 )
...
Resolves typing issues inside host binding in adev.
PR Close #60481
2025-03-20 11:55:52 -07:00
Matthieu Riegler
d1e4be7e25
Revert "docs(docs-infra): temporary removal of core/rxjs-interop dependency ( #60234 )" ( #60395 )
...
This reverts commit fa712aede5 .
PR Close #60395
2025-03-18 18:13:20 +01:00
Matthieu Riegler
a43570d623
docs(docs-infra): fix & enable shared-docs tests ( #60409 )
...
This commit includes a refactoring that removes `TableOfContentsScrollSpy` as this is only directly handled via a browser API.
PR Close #60409
2025-03-17 18:33:45 +01:00
Matthieu Riegler
aa1ab41e6c
docs(docs-infra): enable & fix tests ( #60220 )
...
PR Close #60220
2025-03-06 14:33:48 -08:00
Matthieu Riegler
fa712aede5
docs(docs-infra): temporary removal of core/rxjs-interop dependency ( #60234 )
...
To work around the limitation of #54858 , this commit removes temporarly the dependency to `core/rxjs-interop` to allow the removal of the microtask effect which was pulled by that entry.
This commit is intented to be reverted once the next patch/next is released.
PR Close #60234
2025-03-06 12:48:55 -08:00
Matthieu Riegler
68368f6214
docs(docs-infra): Use intersectionObserver for TOC ( #60166 )
...
Using IntersectionObservers simplfies the code and doesn't rely on APIs that will trigger a reflow.
PR Close #60166
2025-03-05 12:09:45 -08:00
Matthieu Riegler
09e17eb718
docs(docs-infra): wait for the DOM to be rendered ( #60163 )
...
the code inside `renderExample` is explicitly querying the DOM. We need to wait for it to be rendered for those functions to work.
PR Close #60163
2025-03-04 16:58:14 +00:00
Hakeem
a0dc0cb331
docs(docs-infra): add a tooltip to show the full text when nav item text is lengthy ( #59038 )
...
PR Close #59038
2025-02-27 18:25:19 +00:00
Hakeem
e935ff11e2
docs(docs-infra): handle long names in the sub nav ( #59038 )
...
PR Close #59038
2025-02-27 18:25:18 +00:00
ColinJolivet
08d9081573
refactor(docs-infra): remove expand button in example viewer if there is no hidden lines ( #59086 )
...
Remove the expand button of an example viewer if there is no hidden lines in it, in order not to confuse people
PR Close #59086
2025-02-27 15:48:02 +00:00
Matthieu Riegler
65e54ae56c
docs(docs-infra): remove explicit dectectChanges() ( #60098 )
...
PR Close #60098
2025-02-26 12:00:57 -05:00
hawkgs
8145b6e7a4
docs(docs-infra): fix the top position of the search dialog ( #60012 )
...
Instead of centering the dialog, fix the top position in such way that when the results container is full, the dialog looks centered. This prevents the dialog from "jumping" when you type and the results change.
PR Close #60012
2025-02-24 10:44:18 -05:00
hawkgs
b6733eeea4
docs(docs-infra): drop tabs layout from the API reference details page ( #59068 )
...
Drop the tabs in favor of a single page separated by sections.
PR Close #59068
2025-02-13 14:58:33 +00:00
hawkgs
6cd6780d38
docs(docs-infra): fix SCSS build-time warnings ( #59115 )
...
Fix SCSS "declarations after nested rules" and `@import` warnings.
PR Close #59115
2025-01-14 11:09:23 -05:00
Matthieu Riegler
40e7904bd8
docs(docs-infra): prevent the host class from being replaced ( #59460 )
...
When removing the binding, the class defined on the host element is being replaced
fixes #59442
PR Close #59460
2025-01-10 14:03:38 -05:00
Johnson Chu
a6cdbec09f
refactor: remove unnecessary TSLint rule flags ( #59365 )
...
There are many TSLint rule flags in the source code that have no effect, and they can be safely removed to keep the code clean.
PR Close #59365
2025-01-07 16:06:21 +00:00
Pawel Kozlowski
e1ab001e54
refactor(docs-infra): code cleanups ( #59395 )
...
A handfull of different code cleanups in adev
components.
PR Close #59395
2025-01-07 15:51:11 +00:00
Alan Agius
24e317cb15
refactor: replace ɵPendingTasks with ɵPendingTasksInternal ( #59138 )
...
This commits remove usage of the old export.
PR Close #59138
2024-12-10 13:45:07 -08:00
Matthieu Riegler
f15ccb94b9
docs(docs-infra): enable tslint ( #58961 )
...
PR Close #58961
2024-12-05 16:03:35 -08:00
Hakeem
20a3c6f03c
docs(docs-infra): fix the overscroll behavior of the search dialogue ( #58948 )
...
since the dialogue shows on top of other scrollable elements of the page, then the overscroll behavior should be contain for better UX.
Resloves: #58947
PR Close #58948
2024-11-28 17:37:20 +01:00
hawkgs
4315b8704e
docs(docs-infra): remove redundant nav menu items from the DOM in the reference ( #58934 )
...
The DOM is cluttered with a lot of nav item UL-s that are not visible to the end user due to the usage of multiple docs-navigation-list instances that render the full navigation tree recursively instead of only the preselected visible levels.
PR Close #58934
2024-11-28 10:14:52 +01:00
kirjs
6ff53b7437
docs(docs-infra): Drop standalone: true ( #58914 )
...
This is now the default value, so safe to remove
PR Close #58914
2024-11-28 09:43:28 +01:00
Enea Jahollari
0c009077af
refactor(docs-infra): use interpolation instead of innerHTML for better perf ( #58913 )
...
Using innerHTML will cause the browser to parse the HTML and then create a DOM tree instead of just using normal interpolation.
PR Close #58913
2024-11-27 10:59:18 +01:00
Sheik Althaf
d2b8a1fc98
refactor(docs-infra): remove deprecated modules from testing and use alternatives ( #58847 )
...
Removed the deprecated modules used in testing files and instead used the alternative one
PR Close #58847
2024-11-25 15:23:10 +00:00
Matthieu Riegler
b7c591c68c
docs(docs-infra): display navigation items as HTML. ( #58093 )
...
fixes #57872
PR Close #58093
2024-11-25 15:22:33 +00:00
ahmadhakeem18
b46ac88a56
docs(docs-infra): fix the hovering animation of banner text and make the action on the parent ( #58775 )
...
PR Close #58775
2024-11-21 20:55:46 +00:00
ahmadhakeem18
66ef77fb5c
docs(docs-infra): show the top-level banner on top of all the elements ( #58775 )
...
Starting from Tablet-landscape siz display the banner on top of all the
elements, and for smaller sizes display it under the nav to make it
accessible to users
PR Close #58775
2024-11-21 20:55:46 +00:00
ahmadhakeem18
845e0c18c7
docs(docs-infra): fix top-level banner styles and make it responsive ( #58775 )
...
PR Close #58775
2024-11-21 20:55:45 +00:00
Matthieu Riegler
750432337b
ci: re-enable adev tests ( #58574 )
...
Previously we disabled the tests to land some breaking changes.
We can now update the dependencies and re-enable the tests.
PR Close #58574
2024-11-11 16:52:09 +00:00
Sheik Althaf
53341a3b8f
refactor(docs-infra): use reactive APIs in shared components ( #58425 )
...
Migrated the input, output and queries to reactive APIs for better support of zoneless.
PR Close #58425
2024-11-11 14:36:05 +00:00
Joey Perrott
637126cf6f
fix(docs-infra): update search provider link ( #58542 )
...
Update the link used to reference algolia as the search provider on our documentation site. Adds a few URL parameters
for algolia to map back to our usage.
PR Close #58542
2024-11-07 14:27:12 +00:00
Pawel Kozlowski
87344e49c0
refactor(docs-infra): migrate to output ( #58447 )
...
This change contains result of the automated migration
of the decorator based @Output to the function equivalent.
PR Close #58447
2024-10-31 19:58:37 +01:00
Alan Agius
f04e6063ae
fix(docs-infra): reduce margin-block-start from doc anchor headers ( #58431 )
...
This change reduces the spacing between headers, which is currently excessive.
PR Close #58431
2024-10-31 09:15:34 +01:00
arturovt
da6970d2cb
refactor(docs-infra): allow table of contents to be GCed ( #58034 )
...
This commit updates the table of contents functionality to clean up correctly whenever the user
navigates to other pages and nodes are removed from the DOM.
Currently, calling `renderComponent` with the `TableOfContents` keeps creating a new table of contents
component without removing the previous one, as they are created manually.
This leads to memory leaks because the components cannot be collected properly, even if the user
navigates to the home page where there is no TOC component.
PR Close #58034
2024-10-10 12:33:51 +00:00
mgechev
bb747f144a
docs: add expiry to the top banner ( #57981 )
...
Adding an expiry date to the banner similarly to
aio so we can automatically hide it when we reach
a certain date.
PR Close #57981
2024-09-30 12:51:27 -07:00