-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: extract base functionality of list components into NamedSlotListElement
#2359
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #2359 +/- ##
=======================================
Coverage ? 93.55%
=======================================
Files ? 221
Lines ? 23162
Branches ? 2031
=======================================
Hits ? 21670
Misses ? 1455
Partials ? 37 ☔ View full report in Codecov by Sentry. |
src/components/core/common-behaviors/named-slot-list-element.ts
Outdated
Show resolved
Hide resolved
src/components/core/common-behaviors/named-slot-list-element.ts
Outdated
Show resolved
Hide resolved
6749df5
to
c60dd1c
Compare
e3700bf
to
c33510f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing this
src/components/navigation/navigation-marker/navigation-marker.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR refactors the list components, by extracting the common functionality into the
NamedSlotListElement
base class.It also refactors the
SlotChildObserver
to be mostly synchronous, instead of asynchronous.