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

feat(studio): integration #2836

Merged
merged 26 commits into from
Nov 22, 2024
Merged

feat(studio): integration #2836

merged 26 commits into from
Nov 22, 2024

Conversation

larbish
Copy link
Collaborator

@larbish larbish commented Nov 7, 2024

📚 Description

The Studio Module will now be part of Nuxt Content.

To activate it, just set the content.studio.enabled config to true in nuxt.config.ts file.

📝 Checklist

  • __studio.json file generation containing metadata (including collection schema)
  • Websocket communication with Studio API to init and sync preview data
  • Iframe communication with https://nuxt.studio
  • Generate preview database when previewToken is detected
  • Handle updates in database when draft changed
  • App config edition with preview
  • Yaml/json edition with preview
  • Media preview
  • Revert data
  • Frontmatter edition with form generation based on schema
  • Studio Front compatibility
  • Check database options generated

@larbish larbish requested a review from farnabaz November 7, 2024 10:11
Copy link

gitguardian bot commented Nov 12, 2024

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
14129182 Triggered Generic High Entropy Secret 6debe94 docs/app/pages/roadmap.vue View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Copy link

cloudflare-workers-and-pages bot commented Nov 12, 2024

Deploying nuxt-content with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2f77238
Status:🚫  Build failed.

View logs

Copy link

cloudflare-workers-and-pages bot commented Nov 12, 2024

Deploying content with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6debe94
Status: ✅  Deploy successful!
Preview URL: https://3526ace2.content-f0q.pages.dev
Branch Preview URL: https://v3-studio.content-f0q.pages.dev

View logs

@larbish larbish changed the title [WIP] Studio module integration into Content v3 feat(studio): integration Nov 22, 2024
Copy link

pkg-pr-new bot commented Nov 22, 2024

pnpm add https://pkg.pr.new/@nuxt/content@2836

commit: 2f77238

Copy link
Member

@farnabaz farnabaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@farnabaz farnabaz merged commit 99f6f2f into v3 Nov 22, 2024
2 of 4 checks passed
@farnabaz farnabaz deleted the v3-studio branch November 22, 2024 11:07
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