Skip to content

feat(app): adopt CodeUI for Solid 2 and remove the Solid 1 bridge - #809

Merged
riccardoperra merged 3 commits into
feat/solid2-app-cutoverfrom
feat/upgrade-codeui-solid2-kobalte
Nov 29, 2026
Merged

riccardoperra merged 3 commits into
feat/solid2-app-cutoverfrom
feat/upgrade-codeui-solid2-kobalte

Conversation

@riccardoperra

Copy link
Copy Markdown
Owner

Why

The CodeUI preview from riccardoperra/codeui#141 runs on Solid 2 with Kobalte 2.0.0-alpha.5. It lets CodeImage render the controls directly and remove the Solid 1 bridge.

What changed

  • Pin the CodeUI preview and its matching styles and Inkstone packages. Upgrade Solid to 2.0.3 and remove the bridge, legacy widget adapters, and obsolete patches.
  • Use native CodeUI controls and notifications. Preserve keyboard focus across nested overlays, bound the system-font list, and keep frame colours independent of the app theme.
  • Load the reset before the CodeUI CSS layer and use the kit's compiled CSS in the SSR renderer. Document frozen installs and preview lockfile regeneration in the migration plan.

Scope

This PR builds on #804. The remaining @codeimage/ui consumers and app-owned overlays are follow-up work.

Verification

  • Clean frozen install, production builds, lint, and app typecheck.
  • 577 app tests, 200 renderer tests, and 193 CLI tests.
  • Chrome with MSW covered keyboard navigation, nested focus, theme and font selection, presets, signatures, project menus, PNG and GIF export, and toast clipboard actions.
  • The headerless PNG parity case reports a 0.765% pixel difference on both Migrate CodeImage to Solid 2 #804 and this branch, above its 0.5% threshold.

@changeset-bot

changeset-bot Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: c6dcf17

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Use the kit dialog for the release showcase so Escape dismisses the tooltip first.
Mount the tooltip inside the modal to keep it accessible.

Apply kit density to the theme picker and keep its touch hit area.
Use kit focus and motion defaults. Reserve part markers for kit-rendered elements.
@riccardoperra
riccardoperra marked this pull request as ready for review November 29, 2026 01:18
@riccardoperra
riccardoperra merged commit 18302c8 into main Nov 29, 2026
16 checks passed

This branch was successfully deployed

1 active deployment
Preview — c6dcf174 Deployed Nov 29, 2026 by riccardoperra via Deploy preview #2344
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant