Skip to content

feat: add contract renewal automation and upsell recommendation engin…#655

Open
Chuks-coderr wants to merge 1 commit into
Smartdevs17:mainfrom
Chuks-coderr:feature/560-561-renewal-upsell
Open

feat: add contract renewal automation and upsell recommendation engin…#655
Chuks-coderr wants to merge 1 commit into
Smartdevs17:mainfrom
Chuks-coderr:feature/560-561-renewal-upsell

Conversation

@Chuks-coderr

Copy link
Copy Markdown

…e (#560 #561)

Issue 560 - Contract renewal automation:

  • Add renewal types (RenewalMilestone, RenewalStatus, ApprovalWorkflow, etc.)
  • Add RenewalService with quote generation, negotiation workspace, approval chain, e-signature integration, win/loss tracking, auto vs opt-in renewal, and mid-negotiation freeze support
  • Add RenewalMilestoneChecker cron for 90/60/30-day milestone alerts
  • Add RenewalWorkspaceScreen with full negotiation UI

Issue 561 - Upsell recommendation engine:

  • Add upsell types (RecommendationTrigger, ConversionFunnel, etc.)
  • Add RecommendationService with collaborative filtering, A/B test assignment, merchant trigger config, and conversion funnel tracking
  • Add UpsellWidget and RecommendationCard embeddable components
  • Handle edge cases: max-tier subscriber, control A/B variant

Misc:

  • Register RenewalWorkspace screen in navigation
  • Update .gitignore to exclude test snapshots and stray working files

Pull Request Checklist

Quality Gates (All must pass before merge)

  • Lint: Code passes ESLint and Prettier checks
  • Type Check: TypeScript compilation succeeds
  • Tests: All tests pass
  • Build: Project builds successfully
  • Rust Format: Smart contract formatting is correct
  • Rust Clippy: Smart contract linting passes
  • Rust Tests: All smart contract tests pass
  • Rust Build: Smart contracts compile successfully

Additional Requirements

  • New code has appropriate TypeScript types
  • No hardcoded secrets or credentials
  • New features have corresponding tests
  • Documentation updated if needed

Reviewers

  • At least 1 approval required for merge
  • All CI checks must be green

This PR will not be mergeable until all quality gates pass.
closes
closes #560
closes #561

Smartdevs17#560 Smartdevs17#561)

Issue 560 - Contract renewal automation:
- Add renewal types (RenewalMilestone, RenewalStatus, ApprovalWorkflow, etc.)
- Add RenewalService with quote generation, negotiation workspace, approval
  chain, e-signature integration, win/loss tracking, auto vs opt-in renewal,
  and mid-negotiation freeze support
- Add RenewalMilestoneChecker cron for 90/60/30-day milestone alerts
- Add RenewalWorkspaceScreen with full negotiation UI

Issue 561 - Upsell recommendation engine:
- Add upsell types (RecommendationTrigger, ConversionFunnel, etc.)
- Add RecommendationService with collaborative filtering, A/B test assignment,
  merchant trigger config, and conversion funnel tracking
- Add UpsellWidget and RecommendationCard embeddable components
- Handle edge cases: max-tier subscriber, control A/B variant

Misc:
- Register RenewalWorkspace screen in navigation
- Update .gitignore to exclude test snapshots and stray working files
@drips-wave

drips-wave Bot commented Jun 24, 2026

Copy link
Copy Markdown

@Chuks-coderr Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

Implement subscription add-on/upsell recommendation engine Add contract renewal automation with negotiation workflow

1 participant