Skip to content

Commit 04600cd

Browse files
authored
Merge pull request #348 from thefifthdev/issue-185-186-merchant-affiliate
feat: implement merchant onboarding and affiliate tracking systems
2 parents 7fcef1b + c4e1c6f commit 04600cd

10 files changed

Lines changed: 1938 additions & 0 deletions

File tree

src/navigation/AppNavigator.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ import { SegmentDetailScreen } from '../screens/SegmentDetailScreen';
3333
import { GamificationScreen } from '../screens/GamificationScreen';
3434
import RevenueReportScreen from '../screens/RevenueReportScreen';
3535
import UsageDashboardScreen from '../screens/UsageDashboard';
36+
import MerchantOnboardingScreen from '../screens/MerchantOnboardingScreen';
37+
import AffiliateDashboardScreen from '../screens/AffiliateDashboardScreen';
3638
import { colors } from '../utils/constants';
3739

3840
import { RootStackParamList, TabParamList } from './types';
@@ -184,6 +186,16 @@ const SettingsStack = () => (
184186
component={ExportScreen}
185187
options={{ title: 'Export Subscriptions', headerShown: true }}
186188
/>
189+
<Stack.Screen
190+
name="MerchantOnboarding"
191+
component={MerchantOnboardingScreen}
192+
options={{ title: 'Merchant Onboarding', headerShown: true }}
193+
/>
194+
<Stack.Screen
195+
name="AffiliateDashboard"
196+
component={AffiliateDashboardScreen}
197+
options={{ title: 'Affiliate Dashboard', headerShown: true }}
198+
/>
187199
</Stack.Navigator>
188200
);
189201

src/navigation/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ export type RootStackParamList = {
2929
Gamification: undefined;
3030
RevenueReport: undefined;
3131
UsageDashboard: { subscriptionId: string; planId: string; name: string };
32+
MerchantOnboarding: undefined;
33+
AffiliateDashboard: undefined;
3234
};
3335

3436
export type TabParamList = {

0 commit comments

Comments
 (0)