Skip to content
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

Merged
merged 10 commits into from
Jan 25, 2024

Conversation

kyubisation
Copy link
Contributor

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.

@github-actions github-actions bot requested a deployment to preview-pr2359 January 22, 2024 09:41 In progress
@codecov-commenter
Copy link

codecov-commenter commented Jan 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (main@279c4af). Click here to learn what that means.

❗ Current head 8769fbb differs from pull request most recent head 75d1521. Consider uploading reports for the commit 75d1521 to get more accurate results

❗ 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.
📢 Have feedback on the report? Share it here.

@github-actions github-actions bot requested a deployment to preview-pr2359 January 22, 2024 12:37 In progress
@kyubisation kyubisation force-pushed the refactor-list-components branch from 6749df5 to c60dd1c Compare January 23, 2024 13:27
@github-actions github-actions bot requested a deployment to preview-pr2359 January 23, 2024 15:04 In progress
@kyubisation kyubisation force-pushed the refactor-list-components branch from e3700bf to c33510f Compare January 23, 2024 17:06
Copy link
Contributor

@jeripeierSBB jeripeierSBB left a 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/breadcrumb/breadcrumb/breadcrumb.ts Outdated Show resolved Hide resolved
src/components/breadcrumb/breadcrumb/breadcrumb.ts Outdated Show resolved Hide resolved
src/components/link-list/link-list.ts Outdated Show resolved Hide resolved
src/components/breadcrumb/breadcrumb/breadcrumb.ts Outdated Show resolved Hide resolved
src/components/menu/menu/menu.ts Show resolved Hide resolved
Copy link
Contributor

@jeripeierSBB jeripeierSBB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot requested a deployment to preview-pr2359 January 25, 2024 14:33 In progress
@github-actions github-actions bot requested a deployment to preview-pr2359 January 25, 2024 15:30 In progress
@kyubisation kyubisation merged commit 35a0173 into main Jan 25, 2024
14 of 15 checks passed
@kyubisation kyubisation deleted the refactor-list-components branch January 25, 2024 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants