feat(web): default deco.cx imports to {slug}.deco.site preview with chat closed - #6699
Merged
Merged
Conversation
…hat closed Import from deco.cx now defaults the preview server to https://<sitename>.deco.site and starts new spaces with the chat panel closed (chatDefaultOpen: false). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
decocms Bot
pushed a commit
that referenced
this pull request
Aug 28, 2026
PR: #6699 feat(web): default deco.cx imports to {slug}.deco.site preview with chat closed Bump type: minor - decocms (apps/api/package.json): 4.294.4 -> 4.295.0 - @decocms/native (apps/native/package.json): 4.294.4 -> 4.295.0 Deploy-Scope: web
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
Two changes to the Import from deco.cx flow (
apps/web/src/components/import-from-deco-dialog.tsx):https://<sitename>.deco.site(built from the site slug) instead of picking the site's real production/custom domain fromsite.domains.productionUrlis still dual-written to the same value for rollback compatibility.chatDefaultOpen: falsein the created space'smetadata.ui.layout(wastrue).Notes
pickProductionDomainremains imported; it's still used elsewhere in the dialog for display.<slug>.deco.siterather than the custom domain. Users can edit the Preview server field afterward.Testing
bun run fmtpasses clean.🤖 Generated with Claude Code
Summary by cubic
Changes Import from deco.cx so the preview server defaults to
https://<slug>.deco.siteinstead of the site's real production or custom domain, and new spaces start with the chat panel closed.productionUrlis still dual-written to the same value so a rollback to an older app version keeps working.Sites on a custom domain will now see the deco.site host as the preview server by default; the field can still be edited after import.
Written for commit 3d4dc2e. Summary will update on new commits.