Skip to content

Stabilize breadcrumbs badges append extension content#18

Draft
Dosant wants to merge 1 commit intod/2026-02-19-project-nav-service-cleanupfrom
d/2026-02-24-stabilize-breadcrumbs-badges-content
Draft

Stabilize breadcrumbs badges append extension content#18
Dosant wants to merge 1 commit intod/2026-02-19-project-nav-service-cleanupfrom
d/2026-02-24-stabilize-breadcrumbs-badges-content

Conversation

@Dosant
Copy link
Copy Markdown
Owner

@Dosant Dosant commented Feb 24, 2026

Summary

  • Stabilize breadcrumbs badges append extension content identity so unrelated extension updates do not recreate the badges mount function.
  • Refactor badges stream derivation into small helpers to keep the state pipeline easier to reason about while preserving behavior.
  • Add focused unit tests for createBreadcrumbsState identity behavior on non-badge extension updates, badge updates, and isFirst transitions.

Test plan

  • yarn test:jest src/core/packages/chrome/browser-internal/src/state/breadcrumbs_state.test.ts

Keep the badges append extension mount point stable across unrelated extension updates by deriving and memoizing it from badges and isFirst only. Add focused state tests to lock identity behavior for non-badge updates, badge changes, and isFirst toggles.
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.

1 participant