Skip to content

feat(dashboard): remove repositories feature from dashboard UI#8893

Open
christianalfoni wants to merge 1 commit into
mainfrom
remove-repositories-feature
Open

feat(dashboard): remove repositories feature from dashboard UI#8893
christianalfoni wants to merge 1 commit into
mainfrom
remove-repositories-feature

Conversation

@christianalfoni

Copy link
Copy Markdown
Contributor

Summary

The repositories product is being retired. This PR makes it inaccessible from the dashboard UI without removing the underlying code (the /dashboard/repositories route, import modal, and related components remain in place, just unlinked).

Changes

  • Remove the Import button — deleted the topbar "Import" button (Header) and the empty-recents "Import repository" button (EmptyCTAs).
  • Remove Repositories from the left sidebarshowRespositories = false hides the "Repositories" section header, the all-repositories/expandable list, and "My contributions".
  • Remove "Create a new branch" from Recents — dropped both CreateBranchesRow carousels.
  • Filter branches/repos out of "Pick up where you left off"recentItems is now built from RECENT_SANDBOXES only, so the grid shows only sandboxes/devboxes.
  • Removal banner — new RepositoriesRemovedStripe shown at the top of the Recent page, gated on the workspace still having at least one imported repository (sidebar[activeTeam].repositories.length > 0).

Notes

  • Underlying code is intentionally preserved per the requirement to only make the feature inaccessible.
  • getSidebarData still populates the repositories list independently of the sidebar UI, so banner detection continues to work.

🤖 Generated with Claude Code

The repositories product is being retired. Make it inaccessible from the
dashboard without removing the underlying code:

- Remove the topbar "Import" button and the empty-recents "Import
  repository" button
- Hide the "Repositories" sidebar section (all-repositories list,
  expandable repos, and "My contributions") via showRespositories=false
- Remove the "Create a new branch" carousels from the Recent page
- Exclude repository branches from "Pick up where you left off" so it
  only shows sandboxes/devboxes
- Show a removal banner on the Recent page for any workspace that still
  has at least one imported repository

The repositories route, import modal, and related components are left in
place but are no longer linked from the dashboard.

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

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