Skip to content

Conversation

@efstajas
Copy link
Contributor

@efstajas efstajas commented Aug 29, 2025

"List Blueprints" allow submitting a list of splits in return for a "blueprint ID".
Then, the user can be sent off to /app/funder-onboarding?blueprintId=XYZ, which will retrieve
the blueprint and pre-fill the splits in the onboarding flow.

We store blueprints on Redis with a short TTL of 6 hours, since they are meant to be
short-lived and temporary.

@railway-app
Copy link

railway-app bot commented Aug 29, 2025

🚅 Deployed to the app-pr-1606 environment in Drips App

Service Status Web Updated (UTC)
App ✅ Success (View Logs) Web Dec 18, 2025 at 5:04 pm

@railway-app railway-app bot temporarily deployed to App (Drips App / app-pr-1606) August 29, 2025 09:05 Destroyed
@railway-app railway-app bot temporarily deployed to App (Drips App / app-pr-1606) August 31, 2025 11:47 Destroyed
@railway-app railway-app bot temporarily deployed to App (Drips App / app-pr-1606) September 10, 2025 12:47 Destroyed
@railway-app railway-app bot temporarily deployed to App (Drips App / app-pr-1606) September 12, 2025 07:59 Destroyed
@railway-app railway-app bot temporarily deployed to App (Drips App / app-pr-1606) September 12, 2025 08:09 Destroyed
@mhgbrown mhgbrown force-pushed the mhgbrown/1568-linked-identities-and-orcids branch from 700d684 to b15d3f8 Compare September 26, 2025 20:16
@mhgbrown mhgbrown force-pushed the mhgbrown/1568-linked-identities-and-orcids branch from 48b741c to 7aa07f2 Compare October 14, 2025 13:04
@mhgbrown mhgbrown force-pushed the mhgbrown/1568-linked-identities-and-orcids branch from 809d18a to 73240a4 Compare October 22, 2025 13:54
@mhgbrown mhgbrown force-pushed the mhgbrown/1568-linked-identities-and-orcids branch from a7cdd61 to 1515c2b Compare November 3, 2025 16:05
Base automatically changed from mhgbrown/1568-linked-identities-and-orcids to main November 19, 2025 13:34
@railway-app railway-app bot temporarily deployed to Drips App / app-pr-1606 December 18, 2025 12:23 Destroyed
@railway-app railway-app bot temporarily deployed to Drips App / app-pr-1606 December 18, 2025 12:42 Destroyed
@railway-app railway-app bot temporarily deployed to Drips App / app-pr-1606 December 18, 2025 12:59 Destroyed
@mhgbrown mhgbrown marked this pull request as ready for review December 18, 2025 13:39
@mhgbrown mhgbrown requested review from mhgbrown and removed request for mhgbrown December 18, 2025 13:39
@mhgbrown mhgbrown changed the title blueprints (wip) blueprints Dec 18, 2025
@mhgbrown mhgbrown changed the title blueprints Drip List Blueprints Dec 18, 2025
@efstajas efstajas requested a review from Copilot December 18, 2025 16:01
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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.

@railway-app railway-app bot temporarily deployed to Drips App / app-pr-1606 December 18, 2025 16:10 Destroyed
@railway-app railway-app bot temporarily deployed to Drips App / app-pr-1606 December 18, 2025 16:14 Destroyed
@railway-app railway-app bot temporarily deployed to Drips App / app-pr-1606 December 18, 2025 16:14 Destroyed
Copy link
Contributor Author

@efstajas efstajas left a comment

Choose a reason for hiding this comment

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

✅ Approved

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.

3 participants