docs: add code examples for Tree Select, Tree Autocomplete, Tooltip#756
Open
fateeand wants to merge 1 commit into
Open
docs: add code examples for Tree Select, Tree Autocomplete, Tooltip#756fateeand wants to merge 1 commit into
fateeand wants to merge 1 commit into
Conversation
fateeand
requested review from
TerranceKhumalo-absa,
korel-san and
lukasmatta
as code owners
July 17, 2026 14:39
Contributor
Coverage report for library
Test suite run success2386 tests passing in 76 suites. Report generated by 🧪jest coverage report action from 72e97e9 |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds live, copyable HTML/TS code examples (via CodeExampleComponent) to the Composition documentation pages for Tree Select, Tree Autocomplete, and Tooltip, aligning these pages with the rest of the component docs that already use the code-example pattern.
Changes:
- Introduces new
*.examples.tsexample registries for Tree Select, Tree Autocomplete, and Tooltip pages. - Updates each page template to wrap each demo in
<app-code-example>and wiresexamplesinto the page components. - Simplifies page SCSS by removing now-unneeded grouping wrappers/styles after switching to
CodeExampleComponentlayout.
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| projects/composition/src/app/pages/tree-select-page/tree-select-page.examples.ts | Adds Tree Select HTML/TS snippets for the code example viewer. |
| projects/composition/src/app/pages/tree-select-page/tree-select-page.component.ts | Imports CodeExampleComponent, exposes examples to the template. |
| projects/composition/src/app/pages/tree-select-page/tree-select-page.component.html | Wraps each Tree Select demo in <app-code-example> and binds example code. |
| projects/composition/src/app/pages/tree-select-page/tree-select-page.component.scss | Removes obsolete group layout styles after template refactor. |
| projects/composition/src/app/pages/tree-autocomplete-page/tree-autocomplete-page.examples.ts | Adds Tree Autocomplete HTML/TS snippets for the code example viewer. |
| projects/composition/src/app/pages/tree-autocomplete-page/tree-autocomplete-page.component.ts | Imports CodeExampleComponent, exposes examples to the template. |
| projects/composition/src/app/pages/tree-autocomplete-page/tree-autocomplete-page.component.html | Wraps each Tree Autocomplete demo in <app-code-example> and binds example code. |
| projects/composition/src/app/pages/tree-autocomplete-page/tree-autocomplete-page.component.scss | Removes obsolete group layout styles after template refactor. |
| projects/composition/src/app/pages/tooltip-page/tooltip-page.examples.ts | Adds Tooltip directive usage snippets (positions, triggers, delays, persistent HTML, disabled state). |
| projects/composition/src/app/pages/tooltip-page/tooltip-page.component.ts | Imports CodeExampleComponent, exposes examples to the template. |
| projects/composition/src/app/pages/tooltip-page/tooltip-page.component.html | Wraps each Tooltip demo in <app-code-example> and binds example code. |
| projects/composition/src/app/pages/tooltip-page/tooltip-page.component.scss | Refactors styles to match new structure (removes obsolete wrapper styles). |
Contributor
Playwright test resultsDetails
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds live code examples to the Tree Select, Tree Autocomplete, Tooltip components' documentation pages.
Closes #744
Closes #745
Closes #746