Skip to content

fix(list,select): disabled and selected (#DS-5375) - #1864

Open
artembelik wants to merge 2 commits into
19.xfrom
fix/DS-5375-v19
Open

fix(list,select): disabled and selected (#DS-5375)#1864
artembelik wants to merge 2 commits into
19.xfrom
fix/DS-5375-v19

Conversation

@artembelik

Copy link
Copy Markdown
Contributor

@artembelik artembelik self-assigned this Aug 10, 2026
@artembelik
artembelik requested a review from lskramarov as a code owner August 10, 2026 11:26
Copilot AI lite review requested due to automatic review settings August 10, 2026 11:26
@artembelik artembelik added bug Something isn't working 19.x labels Aug 10, 2026

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 addresses a visual/state issue where options/items that are both selected and disabled don’t render correctly in List and Select components, and adds new E2E fixtures/screenshots to cover the scenario.

Changes:

  • Add new E2E demo components for “selected + disabled” scenarios in list and select.
  • Add Playwright visual regression tests for the new fixtures.
  • Update SCSS themes to apply the selected background when an option is both kbq-selected and kbq-disabled.

Reviewed changes

Copilot reviewed 7 out of 9 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
packages/e2e/routes.ts Registers new E2E components in routing (currently includes an invalid/undefined component reference).
packages/components/select/e2e.ts Adds E2eSelectSelectionState fixture for selected+disabled options inside kbq-select.
packages/components/select/e2e.playwright-spec.ts Adds visual regression test for the new select fixture (light-only currently).
packages/components/list/e2e.ts Adds E2eListSelectionState fixture for selected+disabled list options (uses ngModel).
packages/components/list/e2e.playwright-spec.ts Adds visual regression test for the new list fixture (light-only currently).
packages/components/list/_list-theme.scss Adds selected+disabled background overrides for list options (single and multiple).
packages/components/core/option/_option-theme.scss Adds selected+disabled background overrides for core options (single and multiple).

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread packages/components/list/e2e.ts
Comment thread packages/e2e/routes.ts
Comment thread packages/components/list/e2e.playwright-spec.ts
Comment thread packages/components/select/e2e.playwright-spec.ts
@github-actions

github-actions Bot commented Aug 10, 2026

Copy link
Copy Markdown

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

https://koobiq-next--prs-1864-og1hywwb.web.app

(expires Thu, 13 Aug 2026 11:52:46 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: c9e37e518febda70d0317d07e8ceb35ac43c534c

@github-actions

Copy link
Copy Markdown

🚨 E2E tests failed

Review the report for details.


💡 Comment /approve-snapshots to approve snapshot changes.

@github-actions

Copy link
Copy Markdown

🚨 E2E tests failed

Review the report for details.


💡 Comment /approve-snapshots to approve snapshot changes.

@artembelik

Copy link
Copy Markdown
Contributor Author

/approve-snapshots

@github-actions

Copy link
Copy Markdown

🔄 Updating snapshots.

@github-actions

Copy link
Copy Markdown

🚨 Failed to update snapshots.

@artembelik

Copy link
Copy Markdown
Contributor Author

/approve-snapshots

@github-actions

Copy link
Copy Markdown

🔄 Updating snapshots.

@github-actions

Copy link
Copy Markdown

🚨 Failed to update snapshots.

@lskramarov
lskramarov self-requested a review August 11, 2026 13:41
@artembelik

Copy link
Copy Markdown
Contributor Author

/approve-snapshots

@github-actions

Copy link
Copy Markdown

🔄 Updating snapshots.

@github-actions

Copy link
Copy Markdown

🚨 Failed to update snapshots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

19.x bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants