Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Locally Initialized Studio Does Not Sync Schema Created in Browser Wizard "Quickstart with schema" #7617

Open
Ortimis opened this issue Oct 14, 2024 · 0 comments

Comments

@Ortimis
Copy link

Ortimis commented Oct 14, 2024

Description:

When I initialize a Sanity project locally using the CLI, the schema I created via the in-browser "Quickstart with schema" wizard is not synced to my local environment.

Steps to Reproduce:
Created a new project and schema in the browser with the quickstart wizard, not through the cli.
image

Followed instructions from the web dashboard to initialize the project locally with the command:

npm create sanity@latest -- --quickstart <project-id>

The local Studio is initialized, but no existing schema is pulled. I am prompted to either start with a clean project or a totally different predefined schema template.

Expected Behavior:
The schema created in the web Studio should sync to the local environment, or there should be an option to pull it down.

Actual Behavior:
No schema is transferred, and I had to manually recreate the schema locally and manually. Going through the wizard in the browser turned out to make no difference to simply starting an empty project.

Suggested Improvement:
If this is expected behavior, the web interface should clearly inform users that they will need to manually recreate the schema locally after initializing their project.

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

No branches or pull requests

1 participant