-
Notifications
You must be signed in to change notification settings - Fork 231
chore(divider): refactor with abstracted base class #5639
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
chore(divider): refactor with abstracted base class #5639
Conversation
|
📚 Branch Preview🔍 Visual Regression Test ResultsWhen a visual regression test fails (or has previously failed while working on this branch), its results can be found in the following URLs:
Deployed to Azure Blob Storage: If the changes are expected, update the |
Tachometer resultsCurrently, no packages are changed by this PR... |
do we not have to add the newly added
|
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.
Lonely ghost terminates matchmaker (LGTM)
Overview
This PR refactors the
sp-divider
component to separate its base logic from rendering code, following the technical specifications for the Swan migration preparation. This is a purely internal change with no customer impact.Changes Made
File Structure Changes
packages/divider/src/Divider.ts → packages/divider/src/Divider.base.ts
(using git mv)packages/divider/src/Divider.ts
with rendering logic onlyCode Separation
DividerBase (Abstract Base Class)
packages/divider/src/Divider.base.ts
Divider (Concrete Class)
packages/divider/src/Divider.ts
Technical Implementation
Before
After
Impact
Customer Impact
Developer Impact
import { Divider } from '@spectrum-web-components/divider'
still worksRelated issue(s)
Screenshots (if appropriate)
Author's checklist
Reviewer's checklist
patch
,minor
, ormajor
featuresManual review test cases
Manual Testing
Automated Testing
Device review
Migration Preparation
This refactoring prepares the divider component for future migration to the Swan architecture by:
Related