Skip to content

feat(client-devtools)!: make /overlay the full panel, move the lean view to /mini - #104

Merged
juicycleff merged 2 commits into
mainfrom
fix/devtools-overlay-entrypoint
Sep 8, 2026
Merged

juicycleff merged 2 commits into
mainfrom
fix/devtools-overlay-entrypoint

Conversation

@juicycleff

Copy link
Copy Markdown
Contributor

The publish workflow was fine. 1.10.2 shipped every byte of the new panel. The
problem was that mountOverlay was never the thing that got rewritten.

overlay is the import people reach for. Leaving the smallest UI in the
package on the most obvious name meant that following your instincts got you
six read-only tables and nothing telling you a better one existed one subpath
away. That is a naming bug and it wasted a release.

So /overlay is the full panel now, and /panel is the same module under the
name it had first. Nobody already on /panel sees any change at all. The lean
view has not gone anywhere and is still worth having: six tables and a filter
box in 3.5 kB is the right trade for a demo or a production-adjacent build. It
answers to /mini and mountMini.

client-react-devtools needed the same correction. Its panel={false} escape
hatch reached for /overlay, so after this it would have quietly stopped
meaning anything and handed you the full panel either way. It reaches for
/mini now, and there is a test for each branch.

BREAKING CHANGE: mountOverlay from @forge-go/client-devtools/overlay now
renders the full panel rather than the lean six-table view, and the bundle it
pulls in grows accordingly. If you wanted the small one, import mountMini
from @forge-go/client-devtools/mini. /panel is unchanged.

…iew to /mini

The publish workflow was fine. 1.10.2 shipped every byte of the new panel. The
problem was that `mountOverlay` was never the thing that got rewritten.

`overlay` is the import people reach for. Leaving the smallest UI in the
package on the most obvious name meant that following your instincts got you
six read-only tables and nothing telling you a better one existed one subpath
away. That is a naming bug and it wasted a release.

So `/overlay` is the full panel now, and `/panel` is the same module under the
name it had first. Nobody already on `/panel` sees any change at all. The lean
view has not gone anywhere and is still worth having: six tables and a filter
box in 3.5 kB is the right trade for a demo or a production-adjacent build. It
answers to `/mini` and `mountMini`.

client-react-devtools needed the same correction. Its `panel={false}` escape
hatch reached for `/overlay`, so after this it would have quietly stopped
meaning anything and handed you the full panel either way. It reaches for
`/mini` now, and there is a test for each branch.

BREAKING CHANGE: `mountOverlay` from `@forge-go/client-devtools/overlay` now
renders the full panel rather than the lean six-table view, and the bundle it
pulls in grows accordingly. If you wanted the small one, import `mountMini`
from `@forge-go/client-devtools/mini`. `/panel` is unchanged.
@vercel

vercel Bot commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
forge Ready Ready Preview Sep 8, 2026 5:24pm UTC

Request Review

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Conventional Commits Validation

PR Title: valid
Commits: all 1 follow conventional format

`props: ForgeDevtoolsProps = {}` makes the parameter optional, so a bare
`createElement` resolves to the no-props overload and rejects every prop the
component actually takes. The existing tests only ever passed `null` or a
key, which is why nobody had hit it.

Caught by CI and not by me: I ran the package build and not its test
typecheck, and those are two different tsconfigs.
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Conventional Commits Validation

PR Title: valid
Commits: all 2 follow conventional format

@juicycleff
juicycleff merged commit 1c23a5c into main Sep 8, 2026
35 checks passed

This branch was successfully deployed

1 active deployment
Preview — 750c2d91 Deployed Sep 8, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant