🛰️ v0.11.0 — Language Server, Banner & Badge Overhaul
What's New
Midwest Language Server (LSP) — Initial Release
The gem now ships a VS Code extension with first-class editor support for Midwest ViewComponent helpers:
- Helper name completion — type
midwest_to see all available helpers - Option name completion — every declared option with its type and default
- Option value completion — enum options complete their allowed values automatically
- Icon name completion —
:iconoptions complete from the full icon list - Hover documentation — hover over any
midwest_*call for an options/slots table - Status bar indicator — confirms the server is running in the VS Code status bar
Banner Component Overhaul
- Added an action slot for a CTA button inside the banner (
with_action) - Added a playground preview and countdown variant preview
- Refreshed CSS architecture and enhanced Stimulus controller
Badge Component Quality Pass
- Rewrote component CSS and added a Stimulus controller
- Added a playground preview
- Updated HTML structure and expanded test coverage
What Changed
BannerComponent: CSS rearchitected; Stimulus controller enhancedBadgeComponent: HTML structure updated; CSS rewritten; Stimulus controller addedbin/test: Now runs LSP (Jest) tests as a parallel job alongside Ruby tests
What Was Removed
BannerComponentpreview variantsalert,floating_footer, andfooterconsolidated intowith_actionandplayground- Resolved items cleared from
COMPONENT_AUDIT.md
Dev Process
- New
bin/buildscript — compiles CSS/JS assets and packages the LSP extension intolsp/midwest-language-server.vsix bin/releaseupdated — incorporates the build step so releases always include a fresh extension artifactbin/testupdated — LSP Jest tests run as a parallel job; results surfaced in the unified test summary
VS Code Extension
The compiled extension (lsp/midwest-language-server.vsix) is bundled in this release's assets and can be installed directly:
code --install-extension lsp/midwest-language-server.vsix