feat: resolve merchant onboarding KYC, navigation modularization, billing strategy, and context state management - #1048
Open
linesofcodes0-cloud wants to merge 2 commits into
Conversation
added 2 commits
August 26, 2026 23:50
…ing, OpenAPI 3.1 SDK generation, and auth strategies - Refactor smart contract into modular library submodules delegating to SubTrackrSubscription (Issue Smartdevs17#971) - Enhance error handling with domain error types, status codes, user messages, and recovery hints (Issue Smartdevs17#972) - Update OpenAPI 3.1 specification and automated SDK endpoint generator script (Issue Smartdevs17#973) - Expand modular authentication middleware with strategy ordering and route level authorization (Issue Smartdevs17#974)
…ling strategy, and context state management Fixes Smartdevs17#966 Fixes Smartdevs17#967 Fixes Smartdevs17#969 Fixes Smartdevs17#970
|
@linesofcodes0-cloud 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.
Description
This Pull Request resolves four open platform issues by implementing subscription merchant onboarding with KYC verification, restructuring the mobile navigation to feature-based modular architecture, implementing the Strategy Pattern for the subscription billing engine, and refactoring mobile state management to a high-performance Context + Hooks pattern.
Key Changes Implemented
Merchant Onboarding with KYC Integration (Fixes Implement subscription merchant onboarding with KYC integration #966)
backend/services/shared/kycService.tsto manage KYC verification requests, document validation, and verification tier assignment (BASICvsENHANCED).backend/services/shared/__tests__/kycService.test.ts.MerchantOnboardingScreen.tsxwith validation, document upload triggers, notification badge, and analytics tracking.src/screens/__tests__/MerchantOnboardingScreen.test.tsx.Feature-Based Modular Navigation Architecture (Fixes Restructure mobile app navigation to feature-based modular architecture #967)
AppNavigator.tsxto integrate feature stack modules (SubscriptionStack,AnalyticsStack,SettingsStack,AdminStack,WalletStack,DeveloperStack,SocialStack) exported fromsrc/navigation/modules/.lazyScreen), prefetching, and theme configuration.src/navigation/__tests__/AppNavigator.test.tsx.Billing Engine Strategy Pattern (Fixes Refactor subscription billing engine to strategy pattern #969)
BillingEngineto use pluggable pricing strategies (FlatRate,Tiered,UsageBased,PerSeat,Fallback) viaStrategyRegistryandPricingStrategyFactory.backend/services/billing/__tests__/billingEngine.test.ts.Context + Hooks State Management Refactor (Fixes Refactor mobile app state management to context + hooks pattern #970)
SubscriptionProviderwith memoized context value and slice selectors (useCallback/useMemo) to prevent unnecessary re-renders.useSubscriptionSummary,useSubscriptionManager,useSubscriptionsByCategory,useSubscriptionsByBillingCycle,useSubscriptionSearch) insrc/hooks/useSubscriptionContext.ts.src/context/__tests__/SubscriptionContext.test.tsx.Fixes #966
Fixes #967
Fixes #969
Fixes #970