Skip to content

Header refactor#4356

Merged
taylordowns2000 merged 6 commits intomainfrom
header_refactor
Jan 28, 2026
Merged

Header refactor#4356
taylordowns2000 merged 6 commits intomainfrom
header_refactor

Conversation

@taylordowns2000
Copy link
Member

@taylordowns2000 taylordowns2000 commented Jan 28, 2026

Replace the breadcrumbs attribute with a slot, giving pages full control over their breadcrumb content. This
simplifies the header component by removing internal breadcrumb collection logic and uses CSS selectors to auto-hide
the first separator.

stuartc and others added 4 commits January 28, 2026 12:11
Extract breadcrumb presentation logic from header by:
- Adding breadcrumbs/1 wrapper component (nav/ol structure)
- Adding breadcrumb_items/1 helper for {label, path} tuples
- Replacing breadcrumbs attribute with :breadcrumbs slot
- Removing project attribute (callers now compose project picker)
- Updating all call sites to use new slot-based API
Replace manual show_separator attribute with Tailwind arbitrary variants
that automatically hide the separator on the first breadcrumb item. This
eliminates error-prone manual management of separator visibility.
@github-project-automation github-project-automation bot moved this to New Issues in v2 Jan 28, 2026
@codecov
Copy link

codecov bot commented Jan 28, 2026

Codecov Report

❌ Patch coverage is 98.43750% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 89.35%. Comparing base (de5cc56) to head (5f67515).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
lib/lightning_web/live/run_live/show.ex 92.30% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4356      +/-   ##
==========================================
+ Coverage   89.25%   89.35%   +0.10%     
==========================================
  Files         425      425              
  Lines       20005    20009       +4     
==========================================
+ Hits        17855    17880      +25     
+ Misses       2150     2129      -21     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@taylordowns2000 taylordowns2000 merged commit af75c26 into main Jan 28, 2026
0 of 6 checks passed
@taylordowns2000 taylordowns2000 deleted the header_refactor branch January 28, 2026 14:44
@github-project-automation github-project-automation bot moved this from New Issues to Done in v2 Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants

Comments