Open
Conversation
|
🚅 Deployed to the app-pr-1606 environment in Drips App
|
700d684 to
b15d3f8
Compare
48b741c to
7aa07f2
Compare
809d18a to
73240a4
Compare
a7cdd61 to
1515c2b
Compare
Base automatically changed from
mhgbrown/1568-linked-identities-and-orcids
to
main
November 19, 2025 13:34
…EDIT_DRIP_LIST_FLOW_DRIP_LIST_FRAGMENT
Contributor
There was a problem hiding this comment.
Pull request overview
This PR implements "Drip List Blueprints" functionality that allows external parties to submit a list of splits and receive a blueprint ID. Users can then be directed to the funder onboarding flow with this blueprint ID to pre-fill their Drip List configuration.
Key Changes:
- Added REST API endpoints for creating and retrieving blueprints stored in Redis with a 6-hour TTL
- Integrated blueprint loading into the funder onboarding flow with a new populate-blueprint step
- Enhanced the progress bar component to support centered text and custom styling for blueprint population
- Added comprehensive test coverage for the blueprint-based Drip List creation flow
Reviewed changes
Copilot reviewed 17 out of 18 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
src/routes/api/list-blueprints/+server.ts |
PUT endpoint to create blueprints with validation and Redis storage |
src/routes/api/list-blueprints/[blueprintId]/+server.ts |
GET endpoint to retrieve blueprints by ID with validation |
src/lib/utils/blueprints/schemas.ts |
Zod schemas defining blueprint structure and validation rules |
src/routes/(pages)/app/(flows)/funder-onboarding/+page.server.ts |
Server-side load function to fetch blueprint data from query params |
src/routes/(pages)/app/(flows)/funder-onboarding/+page.svelte |
Page component updated to pass blueprint data to stepper |
src/lib/flows/create-drip-list-flow/create-drip-list-stepper.svelte |
Updated to accept and forward blueprint data to flow steps |
src/lib/flows/create-drip-list-flow/create-drip-list-flow.ts |
Flow configuration updated to conditionally include blueprint population step |
src/lib/flows/create-drip-list-flow/steps/populate-blueprint/populate-blueprint.svelte |
New step component that hydrates blueprint splits into the form |
src/lib/flows/create-drip-list-flow/steps/choose-creation-mode/choose-creation-mode.svelte |
Updated to show blueprint mode UI and hide recipient selection options |
src/lib/flows/create-drip-list-flow/steps/build-list/build-list.svelte |
Added AccountId type import (appears unused) |
src/lib/utils/launch-create-drip-list.ts |
Updated modal launch to include blueprintOrBlueprintError parameter |
src/lib/components/stepper/types.ts |
Added progressBar support to AwaitPendingPayload type |
src/lib/components/stepper/components/await-step.svelte |
Integrated ProgressBar component rendering |
src/lib/components/progress-bar/progress-bar.svelte |
Enhanced with centered text option and improved styling |
tests/create-drip-list.spec.ts |
Added end-to-end test for blueprint-based Drip List creation |
tests/ecosystems.spec.ts |
Updated import path for ecosystem payload |
tests/payloads/create-blueprint-payload.json |
Test payload for blueprint creation |
tests/payloads/create-ecosystem-payload.json |
Test payload moved to payloads directory |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
src/lib/flows/create-drip-list-flow/steps/populate-blueprint/populate-blueprint.svelte
Show resolved
Hide resolved
src/routes/(pages)/app/(flows)/funder-onboarding/+page.server.ts
Outdated
Show resolved
Hide resolved
src/lib/flows/create-drip-list-flow/steps/populate-blueprint/populate-blueprint.svelte
Outdated
Show resolved
Hide resolved
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.