Skip to content

Spaces into the world via island designer - #636

Draft
bnolan wants to merge 1 commit into
mainfrom
cursor/spaces-add-to-world-125d
Draft

Spaces into the world via island designer#636
bnolan wants to merge 1 commit into
mainfrom
cursor/spaces-add-to-world-125d

Conversation

@bnolan

@bnolan bnolan commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

What

Old /spaces/:id/play links redirect to /spaces. Admins can migrate a space into the world through the island designer.

How

  1. On /spaces/:id, admin sees add to world (or open in world if parcel_id is already set)
  2. That opens /island/space?id=... with the space(s) loaded as parcels (size from the space, 4m gap, island name = truncated space name + island)
  3. add to world upserts the island (2m bleed already in the designer), inserts unminted parcels with copied content / space owner / spaces.parcel_id, then teleports to /play?coords=

No mint. Mint later via /admin.

Files

  • redirect: src/user-interface.tsx, web/load-routes.tsx
  • button: web/src/space.tsx
  • designer: web/src/admin/islands.tsx, web/src/routes.ts
  • create-from-space: server/controllers/admin.ts
  • parcel_id type: common/messages/space.ts
Open in Web Open in Cursor 

/spaces/:id/play redirects to /spaces. Admins get add-to-world on the
space page, which opens /island/space?id= so they can place parcels,
upsert the island, insert unminted parcels with copied content and the
space owner, then teleport in.

Co-authored-by: Ben Nolan <bnolan@users.noreply.github.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.

2 participants