-
Notifications
You must be signed in to change notification settings - Fork 15
feat: add example worker and improve flow scaffolding #443
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
Conversation
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
View your CI Pipeline Execution ↗ for commit 98f0546
☁️ Nx Cloud last updated this comment at |
65e1a20 to
98f0546
Compare
🔍 Preview Deployment: Website✅ Deployment successful! 🔗 Preview URL: https://pr-443.pgflow.pages.dev 📝 Details:
_Last updated: _ |
Merge activity
|
# Improved Example Flow and Worker for Better Onboarding This PR enhances the onboarding experience by replacing the generic example flow with a more intuitive `GreetUser` flow and adding a corresponding Edge Worker. The changes include: - Created a new `greet-user-worker` that automatically gets scaffolded during installation - Replaced `example-flow.ts` with a more descriptive `greet-user.ts` that demonstrates step dependencies - Added a new "Quickstart" guide to help users run the example flow in 5 minutes - Restructured the "Create Flow" guide to focus on explaining the scaffolded example - Updated the installation completion message to direct users to the quickstart The `GreetUser` flow demonstrates core pgflow concepts with two steps: 1. A `fullName` step that combines first and last name 2. A `greeting` step that depends on the first step's output These changes provide a more complete out-of-the-box experience, allowing new users to see pgflow in action immediately after installation.

Improved Example Flow and Worker for Better Onboarding
This PR enhances the onboarding experience by replacing the generic example flow with a more intuitive
GreetUserflow and adding a corresponding Edge Worker. The changes include:greet-user-workerthat automatically gets scaffolded during installationexample-flow.tswith a more descriptivegreet-user.tsthat demonstrates step dependenciesThe
GreetUserflow demonstrates core pgflow concepts with two steps:fullNamestep that combines first and last namegreetingstep that depends on the first step's outputThese changes provide a more complete out-of-the-box experience, allowing new users to see pgflow in action immediately after installation.