Skip to content

feat(dashboard): remove Devboxes feature#8895

Open
christianalfoni wants to merge 3 commits into
mainfrom
feat/remove-devboxes-feature
Open

feat(dashboard): remove Devboxes feature#8895
christianalfoni wants to merge 3 commits into
mainfrom
feat/remove-devboxes-feature

Conversation

@christianalfoni

Copy link
Copy Markdown
Contributor

Summary

The Devboxes product is being retired. This PR makes it inaccessible from the dashboard UI without removing the underlying code (Devbox types, convertToDevbox, badges and the v2 fork param remain in place). A Devbox is identified by the isV2 flag (isV2 === true).

Takes the same approach as the repositories removal in #8893.

Changes

  • Filter Devboxes out of fetched data — added !isV2 filtering at every point sandbox lists are written to Overmind state in dashboard/actions.ts: drafts (DRAFTS), sandboxes-by-path (ALL), deleted (DELETED), recent (RECENT_SANDBOXES), search (SEARCH), workspace (WORKSPACE_SANDBOXES) and shared (SHARED). All grids/pages consume these arrays, so Devbox cards disappear everywhere.
  • Remove runtime from the create modalCreateBoxForm no longer shows the Sandbox/Devbox runtime selector, VM-specs select, or "Open in" editor select. Creation is always a browser Sandbox (createAs: 'sandbox', editor: 'csb'v2: false on fork).
  • Removal banner — new DevboxesRemovedStripe shown on the Recent page, mirroring RepositoryDeprecationStripe. Gated on a new dashboard.hasDevboxes state flag, set in getStartPageSandboxes based on whether the recently-accessed list contained any Devboxes before filtering.

Notes

  • Underlying Devbox code is intentionally preserved — this only makes the feature inaccessible.
  • Banner gating heuristic: hasDevboxes derives from the recently-accessed list (limit 18), since there's no cheap independent Devbox count (the repositories banner keyed off the sidebar repo list). A user with Devboxes they haven't touched recently won't see the banner. Easy to switch to always-on if preferred.

Verification

  • tsconfig.check.json and tsconfig.strictNullChecks.json both typecheck clean (0 errors).

🤖 Generated with Claude Code

The Devboxes product is being retired. This makes it inaccessible from the
dashboard without removing the underlying code (Devbox is identified by the
`isV2` flag).

- Filter Devboxes (isV2) out of all fetched sandbox lists: drafts, sandboxes
  by path, deleted, recent, search, workspace and shared sandboxes.
- Remove the runtime selector from the create modal so creation is always a
  browser Sandbox (drops the Devbox option, VM specs and editor selects).
- Show a "Devboxes have been removed" banner on the Recent page, gated on a
  new `hasDevboxes` flag derived from recently accessed sandboxes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@codesandbox

codesandbox Bot commented Jun 18, 2026

Copy link
Copy Markdown

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

christianalfoni and others added 2 commits June 18, 2026 12:33
- Remove the Sandbox/Devbox runtime indicator icons from the template cards.
- Filter out devbox-only templates (kept only templates that can run as a
  browser Sandbox) from the recently-used and popular lists.
- Remove the template filter tags and the search box from the create modal,
  leaving the "Recently used" and "Popular" template lists.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Drop the "Popular" subtitle and skip rendering the list header when there is
no title (the header is still shown for the "No results" empty state).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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