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(platform): Onboarding flow backend #9511

Draft
wants to merge 32 commits into
base: dev
Choose a base branch
from

Conversation

kcze
Copy link
Contributor

@kcze kcze commented Feb 24, 2025

This PR adds backend to make Onboarding UI added in #9485 functional and adds missing confetti screen at the end of Onboarding.

Visit /onboarding/reset to reset onboarding state, otherwise it'll always redirect to /library once finished.

Changes 🏗️

  • Onboarding opens automatically on sign up and login (if unfinished) for all users
  • Update db schema to add UserOnboarding and add migration
  • Add GET and PATCH /onboarding endpoints and logic to retrieve and update data Onboarding for a user
  • Update POST /library/agents endpoint (addMarketplaceAgentToLibrary), so it includes input and output nodes; these are needed to know input schema for the Onboarding
  • Use new endpoints during onboarding to fetch and update data
  • Use agents from the marketplace and their input schema for the onboarding
  • Redirect outside onboarding if finished and resume on proper page
  • Add canvas-confetti and @types/canvas-confetti frontend packages
  • Add and show congrats confetti screen when user runs and agent and before opening library
  • Minor design updates and onboarding fixes

Checklist 📋

For code changes:

  • I have clearly listed my changes in the PR description
  • I have made a test plan
  • I have tested my changes according to the test plan:
    • ...

@github-actions github-actions bot added platform/frontend AutoGPT Platform - Front end platform/backend AutoGPT Platform - Back end labels Feb 24, 2025
Copy link

netlify bot commented Feb 24, 2025

Deploy Preview for auto-gpt-docs-dev canceled.

Name Link
🔨 Latest commit 5e1b513
🔍 Latest deploy log https://app.netlify.com/sites/auto-gpt-docs-dev/deploys/67c5e25f897dcd0008562fd7

Copy link

deepsource-io bot commented Feb 24, 2025

Here's the code health analysis summary for commits ef00ab5..5e1b513. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScript✅ Success
❗ 97 occurences introduced
🎯 56 occurences resolved
View Check ↗
DeepSource Python LogoPython✅ Success
❗ 42 occurences introduced
🎯 29 occurences resolved
View Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

Copy link

netlify bot commented Feb 24, 2025

Deploy Preview for auto-gpt-docs canceled.

Name Link
🔨 Latest commit 5e1b513
🔍 Latest deploy log https://app.netlify.com/sites/auto-gpt-docs/deploys/67c5e25f897dcd0008562fd3

@github-actions github-actions bot added the conflicts Automatically applied to PRs with merge conflicts label Feb 25, 2025
Copy link
Contributor

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

Copy link
Contributor

Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.

@github-actions github-actions bot removed the conflicts Automatically applied to PRs with merge conflicts label Feb 27, 2025
@kcze kcze requested review from Pwuts and majdyz March 2, 2025 12:25
@kcze kcze marked this pull request as ready for review March 2, 2025 12:28
@kcze kcze requested a review from a team as a code owner March 2, 2025 12:28
@kcze kcze marked this pull request as draft March 3, 2025 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform/backend AutoGPT Platform - Back end platform/frontend AutoGPT Platform - Front end size/xl
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant