mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-11-10 05:53:05 +09:00
Three places had reimplemented chrome the design system already owns. Servers' agent-setup wizard and Templates' detail view built their own .modal-overlay div. Both are now the shared Modal (Radix dialog), which brings focus trapping, escape handling and scroll locking that every other dialog in the app already had — an accessibility gap, not just a visual one. A .sk-modal__subtitle style covers the lead paragraph the Servers wizard shows under its title. Workspaces hand-copied ResourceListPage's .wp-list toolbar, bulk bar and table markup. It had already silently missed the list/cards switch added with the Services card view, and every future change to the shared list chrome would have had to be made twice. It now passes columns to ResourceListPage like Services does, and delegates its loading state too — so it picks up the table skeleton for free. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>