Skip to content

docs: add code examples for Progress Circular, Progress Linear, Radio#752

Open
fateeand wants to merge 4 commits into
masterfrom
docs-code-examples-progressbars-radio
Open

docs: add code examples for Progress Circular, Progress Linear, Radio#752
fateeand wants to merge 4 commits into
masterfrom
docs-code-examples-progressbars-radio

Conversation

@fateeand

Copy link
Copy Markdown
Collaborator

Adds live code examples to the Progress Circular, Progress Linear and Radio components' documentation pages.

Closes #732
Closes #733
Closes #734

Copilot AI review requested due to automatic review settings July 17, 2026 10:09
@github-actions

github-actions Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Coverage report for library

St.
Category Percentage Covered / Total
🟡 Statements 74.73% 6031/8070
🟡 Branches 66.67% 2782/4173
🟡 Functions 74.22% 1123/1513
🟡 Lines 75.84% 5634/7429

Test suite run success

2386 tests passing in 76 suites.

Report generated by 🧪jest coverage report action from ecd90ad

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds live, copyable HTML/TS code examples to the Composition documentation pages for Progress Circular, Progress Linear, and Radio, by wiring each page to the shared CodeExampleComponent and introducing per-page *.examples.ts sources.

Changes:

  • Added new *.examples.ts files that provide example HTML/TS strings for each component page.
  • Wrapped existing in-page demos with <app-code-example> to show preview + code tabs.
  • Cleaned up Radio page layout styles to match the new structure.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
projects/composition/src/app/pages/radio-page/radio-page.examples.ts Adds Radio code example definitions (HTML/TS strings) consumed by the docs page.
projects/composition/src/app/pages/radio-page/radio-page.component.ts Imports CodeExampleComponent and exposes examples for template bindings.
projects/composition/src/app/pages/radio-page/radio-page.component.html Wraps Radio demos with <app-code-example> and binds to examples.*.
projects/composition/src/app/pages/radio-page/radio-page.component.scss Removes obsolete wrapper styling after template restructuring.
projects/composition/src/app/pages/progress-linear-page/progress-linear-page.examples.ts Adds Progress Linear example HTML string(s).
projects/composition/src/app/pages/progress-linear-page/progress-linear-page.component.ts Imports CodeExampleComponent and exposes examples.
projects/composition/src/app/pages/progress-linear-page/progress-linear-page.component.html Wraps Progress Linear demo content with <app-code-example>.
projects/composition/src/app/pages/progress-circular-page/progress-circular-page.examples.ts Adds Progress Circular example HTML string(s).
projects/composition/src/app/pages/progress-circular-page/progress-circular-page.component.ts Imports CodeExampleComponent and exposes examples.
projects/composition/src/app/pages/progress-circular-page/progress-circular-page.component.html Wraps Progress Circular demo content with <app-code-example>.

Comment thread projects/composition/src/app/pages/radio-page/radio-page.examples.ts Outdated
Comment thread projects/composition/src/app/pages/radio-page/radio-page.examples.ts Outdated
@github-actions

github-actions Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Playwright test results

passed  240 passed

Details

stats  240 tests across 5 suites
duration  8 minutes, 36 seconds
commit  ecd90ad
info  For details, download the Playwright report

@fateeand fateeand added the skip-release-notes No release notes required label Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-release-notes No release notes required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add code examples for Radio Add code examples for Progress linear Add code examples for Progress circular

2 participants