Skip to content

fix(breadcrumbs): removed item rendering flick (#DS-4622)#1579

Open
NikGurev wants to merge 19 commits into
mainfrom
bugfix/DS-4622
Open

fix(breadcrumbs): removed item rendering flick (#DS-4622)#1579
NikGurev wants to merge 19 commits into
mainfrom
bugfix/DS-4622

Conversation

@NikGurev

@NikGurev NikGurev commented May 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Moved to signals in breadcrumb items
  • Replaced maxWidth calculation with simple overflow items hiding

TODO

  • resolve problems with keyboard focus

@NikGurev NikGurev self-assigned this May 15, 2026
@github-actions

github-actions Bot commented May 15, 2026

Copy link
Copy Markdown

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

https://koobiq-next--prs-1579-gbet4tnu.web.app

(expires Tue, 09 Jun 2026 17:00:41 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.

@NikGurev

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.

@github-actions

Copy link
Copy Markdown

🚨 E2E tests failed

Review the report for details.


💡 Comment /approve-snapshots to approve snapshot changes.

@NikGurev

Copy link
Copy Markdown
Contributor Author

/approve-snapshots

@github-actions

Copy link
Copy Markdown

🔄 Updating snapshots.

@github-actions

Copy link
Copy Markdown

✅ Snapshots updated!

@NikGurev NikGurev marked this pull request as ready for review May 19, 2026 12:16
@NikGurev NikGurev changed the title fix(breadcrumbs,overflow-items): removed item rendering flick (#DS-4622) fix(breadcrumbs): removed item rendering flick (#DS-4622) May 20, 2026
@artembelik artembelik requested a review from Copilot May 20, 2026 14:08

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 updates the Breadcrumbs component to use Angular signal-based queries/computations to prevent a visible “reflow” during initial render (previously caused by maxWidth being null on the first CD cycle), and re-enables the previously skipped E2E suite after addressing keyboard focus ordering.

Changes:

  • Migrated breadcrumb item/template/query handling to signal-based APIs (contentChild, contentChildren, viewChild, viewChildren, computed, effect).
  • Adjusted overflow rendering to use signal reads in the template and added CSS to hide projected <kbq-breadcrumb-item> nodes.
  • Added unit tests for roving-focus ordering and un-skipped the Playwright suite for KbqBreadcrumbsModule.

Reviewed changes

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

Show a summary per file
File Description
tools/public_api_guard/components/breadcrumbs.api.md Updates public API snapshot to reflect signal-based members.
packages/components/breadcrumbs/e2e.playwright-spec.ts Re-enables previously fixme-skipped E2E describe block.
packages/components/breadcrumbs/breadcrumbs.ts Core refactor to signals (queries, maxWidth computation, focus ordering effect).
packages/components/breadcrumbs/breadcrumbs.spec.ts Adds unit coverage for focusable item ordering behavior.
packages/components/breadcrumbs/breadcrumbs.scss Hides projected breadcrumb-item elements to avoid duplicate rendering.
packages/components/breadcrumbs/breadcrumbs.html Updates template to use signal reads and simplifies overflow result rendering.

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

Comment thread packages/components/breadcrumbs/breadcrumbs.ts Outdated
Comment thread packages/components/breadcrumbs/breadcrumbs.ts Outdated
Comment thread packages/components/breadcrumbs/breadcrumbs.ts Outdated
Comment thread packages/components/breadcrumbs/breadcrumbs.ts Outdated
@NikGurev NikGurev marked this pull request as draft May 21, 2026 13:13
@github-actions

Copy link
Copy Markdown

🚨 E2E tests failed

Review the report for details.


💡 Comment /approve-snapshots to approve snapshot changes.

@lskramarov lskramarov force-pushed the main branch 7 times, most recently from c6b11d5 to a5c9ca5 Compare May 26, 2026 18:45
@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown

🚨 E2E tests failed

Review the report for details.


💡 Comment /approve-snapshots to approve snapshot changes.

@NikGurev NikGurev marked this pull request as ready for review June 2, 2026 16:16
@artembelik artembelik requested a review from Copilot June 3, 2026 06:42

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

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

Comment thread packages/components/breadcrumbs/breadcrumbs.html
Comment thread packages/components/breadcrumbs/breadcrumbs.ts
Comment thread packages/components/breadcrumbs/breadcrumbs.ts
Comment thread packages/components/breadcrumbs/e2e.playwright-spec.ts
Comment thread packages/components/breadcrumbs/breadcrumbs.html Outdated
Comment thread packages/components/breadcrumbs/breadcrumbs.html Outdated
@NikGurev NikGurev requested a review from lskramarov June 5, 2026 11:43
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.

3 participants