Case studies
Grow

Pacthaven Studio

A client portal migration that preserved accounts, projects and private documents

  • Grow
  • Professional client services
  • Bubble

10days

Delivery

1,000/1,000

File reconciliation

36/36

Access acceptance

510ms

68% lower

File-list response, p95

Illustrative before/after figures.

The product

The portal contained 200 projects. Clients viewed status and downloaded shared files; one operator invited accounts, uploaded documents and published updates. Internal drafts and client-visible documents sometimes sat within the same project. Pacthaven needed to preserve that distinction without creating a complicated permission system. There was no chat, invoicing or e-signature workflow to rebuild. The existing service process, rather than a larger feature list, defined the product.

The challenge

The business was preparing to hand maintenance to a new engineer. Account relationships and file visibility were difficult to explain outside the interface, which made the transition risky. The team first considered repairing permissions in Bubble. Pacthaven also wanted a conventional repository and an independent deployment process, so the selected approach combined the access review with a focused rebuild. Password and session portability were not assumed; the first-login transition was made explicit.

The studio owner wanted clients to stop emailing for the latest document. A replaced file could remain visible in an old link, while the operator had no simple view of who should see it. The migration brief was to retain projects and client relationships, make replacement behaviour predictable and prove that another client could not retrieve the file directly. We explicitly separated transferring account identity from transferring a password; sign-in and recovery needed their own transition.

How we tackled it

  1. 01

    Map ownership. We joined accounts, projects and files, recording which documents were shared and which remained internal.

  2. 02

    Rebuild access. Every project request and download required a server-side membership decision. Files stayed in private storage behind short-lived authorised links.

  3. 03

    Handle incomplete uploads. Pending and ready states prevented a failed transfer from appearing as a completed document; retries reused the upload intent.

  4. 04

    Prepare client entry. The selected invitation and password-recovery flow was rehearsed with representative accounts, including expired invitations and interrupted sign-in.

What we built

Next.js and TypeScript implemented the portal, with Tailwind retaining familiar layouts. Postgres and Drizzle held project membership, file metadata and visibility state. Managed authentication handled invitations and account recovery; private object storage held file bytes. A transactional email provider sent invitations and updates. Public responses did not expose raw storage paths. The small service set was chosen so one receiving engineer could operate the application after handover.

The story's rehearsal compared checksums, sizes and project ownership for all 1,000 files. An upload freeze created a consistent final snapshot; selected clients then completed the first-login and document-download journeys. Direct requests tested cross-client access rather than relying on hidden buttons. Recovery instructions accounted for files uploaded after the switch. Metadata latency was assessed separately from file-transfer speed, because the size of a document and the user's connection affect the latter.

Before & after — illustrative results

The illustrative comparison separates migration completeness, access behaviour and responsiveness. The 50-record file list improves from 1,600 ms to 510 ms at p95 under the same ten-session workload. The access and journey rows describe the acceptance suite, not a claim that the application is free of every vulnerability. File reconciliation checks bytes and ownership together: equal object counts alone would not establish that a client received the correct documents.

Illustrative before/after values. No tests or client measurements were performed for this story. The comparison conditions describe how an equivalent real migration would be evaluated; they are not a test report.

MetricBeforeAfterComparison conditions
File reconciliation1,000 source files1,000/1,000 reconciledMatch bytes, size, visibility and project ownership; resolve every exception.
Access acceptance36 specified access cases36/36 passCross-client API requests, operator-only documents and expired links.
File-list response, p951,600 ms510 ms — 68% lowerTen concurrent sessions; 50 metadata records; file transfers excluded.
Critical journeys12 agreed journeys12/12 acceptedInvitation, recovery, interrupted upload, replacement and download.
Project overview LCP, lab p754.1 s1.8 s — 2.3× fasterTen fixed authenticated project fixtures; 40 loads each; same device/network and file metadata; downloads excluded.
Replace a client deliverable, median6 min2 minTen scripted replacements by the same operator; include access and client-visible version checks, exclude upload transfer time.

The outcome

Pacthaven's operator finished the story with a documented way to resolve failed invitations and incomplete uploads. Clients kept the project structure they recognised, while the receiving engineer gained a visibility model and restore procedure that could be exercised independently. This example demonstrates why an authentication transition and a file manifest belong in a client portal migration proposal alongside the interface rebuild.

Why these improvements mattered

An operator could replace the authoritative deliverable and inspect its access state in one workflow. Clients retained a familiar project structure. The smaller metadata response improved the overview; it did not imply faster transfer of a large video file. The business gain was reduced administrative effort around a controlled document boundary.

Scope & timeline

Scope

Grow covered client sign-in, project status, uploads/downloads, operator updates and invitation email. Deliverables included an account map, file manifest, recovery instructions and client-transition checklist. The portal retained one operator role and one client role. Organisation hierarchies and approval chains stayed outside scope. The owner could therefore review exactly what clients would experience on launch day instead of judging readiness from a screenshot of the replacement dashboard.

Delivery timeline

Delivery schedule: 10 working days. Team: One senior full-stack engineer, shared QA and the studio owner. The clock starts after scope approval, usable source data, test access and agreed UI are available. Waiting for external approvals is excluded. This is a bounded example, not a turnaround guarantee.

Days 1–2: agree account mapping, file ownership and the login transition.

Days 3–7: rebuild the portal, uploads and expiring access links.

Days 8–9: reconcile files and test cross-client and recovery paths.

Day 10: invite the pilot clients, approve the switch and train the owner.

FAQ

Can existing Bubble users keep access after a portal migration?
A migration can preserve account relationships, but login and password recovery need an explicit plan; existing sessions are not automatically portable.
How should private files be checked during migration?
Compare content checksums and ownership links, then test both authorised downloads and direct requests from users who should be denied.

Discuss a similar migration

Bring one representative project, its private/shared file rules and your current invitation process. Bubble to Code can map the client transition and determine whether Grow covers the existing portal. The first review should make account recovery, document ownership and launch-day support concrete before a cutover is scheduled.