Skip to content

Conversation

@artembelik
Copy link
Contributor

No description provided.

@artembelik artembelik self-assigned this Jan 15, 2026
Copilot AI review requested due to automatic review settings January 15, 2026 13:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds Contrast color support to the progress-spinner component, allowing developers to use a contrast color variant for better visual differentiation in different UI contexts.

Changes:

  • Added setDefaultColor() call in the progress spinner component constructor to properly handle default color behavior
  • Introduced CSS tokens for contrast color variants with support for both light and dark themes
  • Updated the indeterminate example to showcase the new contrast color feature
  • Added e2e tests for determinate mode with contrast color

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/components/progress-spinner/progress-spinner.component.ts Added setDefaultColor() call to properly set the default theme color
packages/components/progress-spinner/_progress-spinner-theme.scss Implemented contrast color styling using CSS custom properties and fixed import style
packages/components/progress-spinner/progress-spinner-tokens.scss Added CSS tokens for contrast color in light and dark themes
packages/components/progress-spinner/e2e.ts Added e2e test cases for determinate mode with contrast color
packages/docs-examples/components/progress-spinner/progress-spinner-indeterminate/progress-spinner-indeterminate-example.ts Updated example to showcase contrast color, removed unused imports, and added host styling
packages/components-dev/progress-spinner/module.ts Added example components to the dev module for testing
packages/components-dev/progress-spinner/template.html Added theme toggle and docs examples to the template
Comments suppressed due to low confidence (1)

packages/components/progress-spinner/e2e.ts:24

  • The e2e test file includes test cases for determinate mode with the contrast color, but doesn't include any test cases for indeterminate mode with the contrast color. For consistency and complete test coverage, consider adding test cases for indeterminate mode with contrast color similar to the determinate ones.
        <kbq-progress-spinner mode="indeterminate" [value]="44" />
        <kbq-progress-spinner mode="indeterminate" [value]="44">
            <div kbq-progress-spinner-text>Text</div>
            <div kbq-progress-spinner-caption>Caption</div>
        </kbq-progress-spinner>

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

github-actions bot commented Jan 15, 2026

Visit the preview URL for this PR (updated for commit d39914c):

https://koobiq-next--prs-1285-ifylur4e.web.app

(expires Wed, 21 Jan 2026 09:08:34 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: c9e37e518febda70d0317d07e8ceb35ac43c534c

@github-actions
Copy link

🚨 E2E tests failed

Review the report for details.


💡 Comment /approve-snapshots to approve snapshot changes.

@artembelik
Copy link
Contributor Author

/approve-snapshots

@github-actions
Copy link

🔄 Updating snapshots.

@github-actions
Copy link

✅ Snapshots updated!

@lskramarov lskramarov requested a review from NikGurev January 15, 2026 16:00
@artembelik artembelik requested a review from rmnturov January 16, 2026 07:21
@artembelik artembelik changed the title feat(progress-spinner): added Contrast color support (#DS-4583) feat(progress-spinner): added contrast, contrast-fade colors support (#DS-4583) Jan 16, 2026
@github-actions
Copy link

🚨 E2E tests failed

Review the report for details.


💡 Comment /approve-snapshots to approve snapshot changes.

@artembelik
Copy link
Contributor Author

/approve-snapshots

@github-actions
Copy link

🔄 Updating snapshots.

@github-actions
Copy link

✅ Snapshots updated!

@artembelik artembelik merged commit fec9db9 into main Jan 16, 2026
@artembelik artembelik deleted the feat/DS-4583 branch January 16, 2026 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants