Hakeem
2f5912e80a
docs(docs-infra): fix nav items active status is shown for multiple items ( #61597 )
...
PR Close #61597
2025-05-21 16:04:27 -07:00
Ahmed Hakeem
27f8d3fa16
docs(docs-infra): modify bazel config to include shared docs global styles ( #61384 )
...
PR Close #61384
2025-05-21 09:51:48 +00:00
Hakeem
308892eeeb
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:48 +00:00
Joey Perrott
af19d98582
build: move ts_project and ng_project for adev into a macro ( #61344 )
...
Move ts_project and ng_project into a macro for adev/ instead of providing a custom
tsconfig on every target
PR Close #61344
2025-05-20 14:26:04 +00:00
Joey Perrott
88d6c43107
build: migrate adev to use ng_project ( #61344 )
...
Move all of adev to use ng_project instead of ng_module
PR Close #61344
2025-05-20 14:26:03 +00:00
Matthieu Riegler
7d0db3d247
docs(docs-infra): only show clear button of textfield when there is a text ( #61427 )
...
PR Close #61427
2025-05-16 15:57:36 +00:00
Matthieu Riegler
aa4293871d
docs: fix textfield CVA ( #61411 )
...
patch backport of #61300
PR Close #61411
2025-05-16 14:35:55 +00:00
Hakeem
bf8d52b497
docs(docs-infra): fixating the position of the docs content whether TOC exists or not ( #61256 )
...
PR Close #61256
2025-05-14 08:47:31 -07:00
Hakeem
4325243224
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:31 -07:00
Matthieu Riegler
d1501bce5c
docs(docs-infra): preselect search text on re-open ( #61129 )
...
PR Close #61129
2025-05-12 15:25:51 -07:00
Hakeem
223ca9f983
docs(docs-infra): limit the flexible width of the main content for better UX ( #58831 )
...
PR Close #58831
2025-05-09 10:24:15 -07:00
ahmadhakeem18
f9932e8b0d
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:15 -07:00
Joey Perrott
84b66f3b04
build: migrate adev shared-docs package to use ts_project ( #61217 )
...
Migrate the build rules for shared docs to use ts_project
PR Close #61217
2025-05-09 16:32:06 +00:00
Matthieu Riegler
2c9bdc3f96
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:57 -07:00
Matthieu Riegler
9e3665a843
docs(docs-infra): fix github links for for previews ( #60994 )
...
PR Close #60994
2025-04-24 09:30:26 -07:00
hawkgs
8ce68289e6
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:47 +00:00
Matthieu Riegler
440b1ada9b
docs(docs-infra): Search results as HTML ( #60394 )
...
fixes #60384
PR Close #60394
2025-04-02 11:32:58 +00:00
Sheik Althaf
f15f41111b
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
0e156f7461
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:39 +00:00
Matthieu Riegler
6accd1b0f5
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
d1233ebfa8
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
b09f4a5c79
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
6c0c012e08
docs(docs-infra): handle long names in the sub nav ( #59038 )
...
PR Close #59038
2025-02-27 18:25:19 +00:00
ColinJolivet
187758ccca
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
9b4727587a
docs(docs-infra): remove explicit dectectChanges() ( #60098 )
...
PR Close #60098
2025-02-26 12:01:00 -05:00
hawkgs
225e602176
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:19 -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
Andrew Scott
a1f229850a
feat(core): migrate ExperimentalPendingTasks to PendingTasks ( #57533 )
...
This commit promotes the `ExperimentalPendingTasks` service from
experimental to developer preview and includes a migration schematic for
the rename.
BREAKING CHANGE: `ExperimentalPendingTasks` has been renamed to
`PendingTasks`.
PR Close #57533
2024-09-20 18:26:48 +02:00