Skip to content
This repository was archived by the owner on Sep 24, 2025. It is now read-only.

Conversation

@atinux
Copy link
Member

@atinux atinux commented Jan 29, 2024

Partially resolves https://github.com/nuxtlabs/studio-app/issues/1582

No need to give the team + name as we can get the git infos for the user and automatically detect the project.

On the API side, I suggest to check in priority the gitInfo from __studio.json before the the tokens.

This can give a zero config experience back to Studio 🚀

This will also solve our issues for working with staging since we should validate directly the gitInfo.

For the preview on Studio staging, we should append the url with ?staging and the preview will automatically call the staging API.

@atinux atinux requested a review from farnabaz January 29, 2024 10:35
@atinux atinux changed the title feat: add gitInfo feat: add gitInfo in /__studio.json and support staging API for preview mode Jan 29, 2024
@larbish larbish merged commit 9b02f48 into main Feb 7, 2024
@larbish larbish deleted the feat/git-info branch February 7, 2024 09:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants