feat(dashboard): remove Devboxes feature#8895
Open
christianalfoni wants to merge 3 commits into
Open
Conversation
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>
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
- 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 thev2fork param remain in place). A Devbox is identified by theisV2flag (isV2 === true).Takes the same approach as the repositories removal in #8893.
Changes
!isV2filtering at every point sandbox lists are written to Overmind state indashboard/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.CreateBoxFormno 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: falseon fork).DevboxesRemovedStripeshown on the Recent page, mirroringRepositoryDeprecationStripe. Gated on a newdashboard.hasDevboxesstate flag, set ingetStartPageSandboxesbased on whether the recently-accessed list contained any Devboxes before filtering.Notes
hasDevboxesderives 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.jsonandtsconfig.strictNullChecks.jsonboth typecheck clean (0 errors).🤖 Generated with Claude Code