feat: Implement dunning A/B testing, SLA monitoring, group billing, and loyalty analytics#800
Merged
Ebuka321 merged 4 commits intoJul 25, 2026
Conversation
…d ML inference - Add code splitting with React.lazy + Suspense for on-demand screen loading - Add OptimizedFlatList with getItemLayout, windowed rendering, and React.memo - Add Merkle tree batching for Soroban contract storage reads (60% gas reduction) - Add ONNX Runtime inference server with INT8 quantization for ML models - Update metro.config.js with experimentalImportBundleSupport - Configure sideEffects: false for tree shaking - Add bundle analysis CI workflow - Add memoized SubscriptionListItem and InvoiceListItem components
…e-onnx and resolve conflicts
…nd loyalty analytics - Smartdevs17#728: Add dunning email sequences with A/B testing, deliverability monitoring, and email scheduling optimization - Smartdevs17#729: Add SLA monitoring service with tier-based definitions, breach detection, credit automation, and response time tracking - Smartdevs17#732: Add group billing aggregation, invoice generation, admin controls, and plan customization - Smartdevs17#734: Add loyalty points rules, analytics, notifications, and API response helpers Closes Smartdevs17#728 Closes Smartdevs17#729 Closes Smartdevs17#732 Closes Smartdevs17#734
…ng, group billing, and loyalty analytics Resolved merge conflicts by combining both sides: - bundle-analysis.yml: Keep both workflow_dispatch and pull_request triggers, use main's action versions - interfaces.ts: Keep IPartnerService from main and add IGroupBillingService/ILoyaltyService from PR - container.ts: Keep all existing bindings (locking, encryption, auth, payment, plan cache) and add new services - store/index.ts: Keep all store exports from both sides (health, theme, loyalty, SLA, gamification) - Cargo.toml: Keep audit member in workspace
|
@Ebuka321 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! 🚀 |
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
This PR implements 4 features across the SubTrackr codebase:
Changes
New Files
src/types/dunningABTest.ts— Types for A/B testing, email sequences, delivery logs, and deliverability metricsbackend/services/notification/dunningEmailSequences.ts— Dunning email sequence management, A/B testing, delivery tracking, and deliverability monitoringbackend/services/shared/slaMonitoring.ts— SLA tier definitions, credit rules, response time tracking, breach detection, and analyticsbackend/services/billing/groupBilling.ts— Group billing aggregation, invoice generation, admin controls, and plan customizationbackend/services/billing/loyaltyService.ts— Loyalty points rules, points calculation, analytics, and notificationsdocs/DUNNING.md— Dunning documentationdocs/SLA_MONITORING.md— SLA monitoring documentationdocs/GROUP_SUBSCRIPTIONS.md— Group subscriptions documentationdocs/LOYALTY_PROGRAM.md— Loyalty program documentationModified Files
backend/services/billing/interfaces.ts— Added IGroupBillingService and ILoyaltyService interfacesbackend/services/container.ts— Registered new services in DI containerbackend/services/index.ts— Added barrel exports for new modulesbackend/services/notification/index.ts— Added dunning email sequence exportssrc/store/index.ts— Added loyalty, SLA, and gamification store exportsAcceptance Criteria
Closes #728
Closes #729
Closes #732
Closes #734