Skip to content

Feat/issues 562 563 entity management pause subscription#662

Open
Chuks-coderr wants to merge 2 commits into
Smartdevs17:mainfrom
Chuks-coderr:feat/issues-562-563-entity-management-pause-subscription
Open

Feat/issues 562 563 entity management pause subscription#662
Chuks-coderr wants to merge 2 commits into
Smartdevs17:mainfrom
Chuks-coderr:feat/issues-562-563-entity-management-pause-subscription

Conversation

@Chuks-coderr

Copy link
Copy Markdown

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 #562
closes #563

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
…pause (Smartdevs17#563)

Issue Smartdevs17#562 – Multi-entity/brand management:
- src/types/entity.ts: Entity hierarchy types, roles, consolidated invoice, merge/divest results
- src/store/entityStore.ts: EntityService (pure fns) + Zustand store with createEntity,
  mergeEntities, divestitureEntity, computeEntityAnalytics, buildConsolidatedInvoice
- src/screens/EntityManagementScreen.tsx: UI for parent/child entity tree, add/remove,
  merge (acquisition), divest, member role management

Issue Smartdevs17#563 – Subscription holiday/vacation pause:
- src/types/pause.ts: PauseState machine, PauseLimits, PauseRecord, PausePreview types
- src/store/pauseStore.ts: ProrationCalculator + PauseService (validatePauseRequest,
  initiatePause, resumePause, expireCredit) + Zustand store; max 2 pauses/year, 7-90 days
- src/screens/PauseSubscriptionScreen.tsx: UI with duration picker, reason selector,
  credit preview, early resume, pause history

Navigation:
- src/navigation/types.ts: EntityManagement and PauseSubscription routes added
- src/navigation/AppNavigator.tsx: lazy screens registered in HomeStack + SettingsStack

Chore:
- .gitignore: add Rust target/, Python __pycache__, jest-results, copy file patterns
@drips-wave

drips-wave Bot commented Jun 25, 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.

Add subscription holiday/vacation pause with prorated credits Build multi-entity/brand management with consolidated billing

1 participant