Skip to content

feat: migrate sl-badge to wa-badge (Web Awesome)#544

Merged
mattobee merged 3 commits intomainfrom
migrate-badge-to-web-awesome
Feb 23, 2026
Merged

feat: migrate sl-badge to wa-badge (Web Awesome)#544
mattobee merged 3 commits intomainfrom
migrate-badge-to-web-awesome

Conversation

@mattobee
Copy link
Copy Markdown
Member

Summary

  • First step in the incremental Shoelace → Web Awesome migration (Incremental migration from Shoelace to Web Awesome #543)
  • Replace sl-badge with wa-badge across Event.vue and EventDate.vue
  • Install @awesome.me/webawesome npm package alongside existing Shoelace (both coexist during migration)

Changes

  • package.json: Add @awesome.me/webawesome dependency
  • astro.config.mjs: Update Vue compiler options to recognise both sl- and wa- custom element prefixes
  • default.astro: Import Web Awesome default theme CSS; swap Shoelace badge import for Web Awesome badge import
  • Event.vue: Replace sl-badgewa-badge (2 instances: "Dedicated to accessibility" and "Call for speakers")
  • EventDate.vue: Replace sl-badgewa-badge (1 instance: "Deadline" badge)
  • _shoelace.css: Remove Shoelace badge success variant override (Web Awesome provides its own theming)

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.

@mattobee mattobee added enhancement New feature or request javascript Pull requests that update Javascript code labels Feb 23, 2026
@github-project-automation github-project-automation Bot moved this to Not Started in Eventua11y Feb 23, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 23, 2026

Deploy Preview for eventua11y ready!

Name Link
🔨 Latest commit ef042d1
🔍 Latest deploy log https://app.netlify.com/projects/eventua11y/deploys/699ce34e446659000707bf07
😎 Deploy Preview https://deploy-preview-544--eventua11y.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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
@mattobee mattobee force-pushed the migrate-badge-to-web-awesome branch from b8faf0b to 7666992 Compare February 23, 2026 23:15
@mattobee mattobee merged commit 4820e42 into main Feb 23, 2026
10 checks passed
@mattobee mattobee deleted the migrate-badge-to-web-awesome branch February 23, 2026 23:41
@github-project-automation github-project-automation Bot moved this from Not Started to Done in Eventua11y Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request javascript Pull requests that update Javascript code

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant