feat: migrate sl-badge to wa-badge (Web Awesome)#544
Merged
Conversation
✅ Deploy Preview for eventua11y ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Replace Shoelace badge component with its Web Awesome successor as the first step in an incremental migration. Both libraries coexist during the transition since they use different tag prefixes (sl- vs wa-). - Install @awesome.me/webawesome npm package - Import Web Awesome default theme CSS - Replace sl-badge with wa-badge in Event.vue and EventDate.vue - Update Vue compiler options to recognise both sl- and wa- prefixes - Remove Shoelace badge success variant CSS override (Web Awesome provides its own theming) Part of #543
b8faf0b to
7666992
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sl-badgewithwa-badgeacross Event.vue and EventDate.vue@awesome.me/webawesomenpm package alongside existing Shoelace (both coexist during migration)Changes
@awesome.me/webawesomedependencysl-andwa-custom element prefixessl-badge→wa-badge(2 instances: "Dedicated to accessibility" and "Call for speakers")sl-badge→wa-badge(1 instance: "Deadline" badge)Testing
All 69 Playwright tests pass. Badge is purely presentational with no event handlers, making this the lowest-risk component to migrate first.
Migration context
This is step 1 of the incremental migration plan in #543, which replaces the all-at-once approach from #463 with smaller, lower-risk PRs.