Improve customer dashboard for lead recovery demo flow - #65
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Summary
/appdashboard for lead-recovery demo flow and average job value setup/app/settingstoll-free messaging compliance save path so toll-free verification can be saved without crashing the dashboardToll-free compliance save crash
Root cause
Business.tollFreeVerificationSidwas also modeled as globally unique, which is too strict for shared main-account toll-free verification data and could trigger a PrismaP2002write failureWhat was fixed
tollFreeVerificationSidand added a migration to drop the indexAverage job value and dashboard work from this PR
/apphome screen in a more action-first two-column layout with a right-rail setup cardTest recovery flowBusiness.averageJobValueCentssupport so recovered revenue uses business-specific math instead of the fallback foreverValidation performed
npx prisma generatenpx prisma migrate deploynpx prisma migrate statusnpm run typechecknpm run lintnpm testnpm run buildnpm run vercel-buildnpx tsx --test tests/twilio-compliance.test.ts tests/managed-twilio-status.test.ts tests/twilio-setup-flow.test.ts tests/admin-dashboard.test.ts/app/settingson local dev redirected to Clerk sign-in because the dashboard route is authenticated, so the protected save click could not be completed in automation without a signed-in sessionPreview