2026-02-05 19:48:36 +00:00
|
|
|
import { createLazyComponent } from './createLazyComponent';
|
|
|
|
|
|
|
|
|
|
export const LazyDashboard = createLazyComponent(
|
|
|
|
|
() => import('@/features/dashboard/pages/DashboardPage'),
|
|
|
|
|
undefined,
|
|
|
|
|
'Dashboard',
|
|
|
|
|
);
|
|
|
|
|
export const LazyChat = createLazyComponent(
|
|
|
|
|
() =>
|
|
|
|
|
import('@/features/chat/pages/ChatPage').then((m) => ({ default: m.ChatPage })),
|
|
|
|
|
undefined,
|
|
|
|
|
'Chat',
|
|
|
|
|
);
|
2026-03-06 17:52:08 +00:00
|
|
|
export const LazyChatJoin = createLazyComponent(
|
|
|
|
|
() =>
|
|
|
|
|
import('@/features/chat/pages/ChatJoinPage').then((m) => ({ default: m.ChatJoinPage })),
|
|
|
|
|
undefined,
|
|
|
|
|
'Chat Join',
|
|
|
|
|
);
|
2026-02-05 19:48:36 +00:00
|
|
|
export const LazyLibrary = createLazyComponent(
|
|
|
|
|
() =>
|
|
|
|
|
import('@/features/library/pages/LibraryPage').then((m) => ({
|
|
|
|
|
default: m.LibraryPage,
|
|
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'Library',
|
|
|
|
|
);
|
|
|
|
|
export const LazyProfile = createLazyComponent(
|
|
|
|
|
() =>
|
|
|
|
|
import('@/features/profile/pages/UserProfilePage').then((m) => ({
|
|
|
|
|
default: m.UserProfilePage,
|
|
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'Profile',
|
|
|
|
|
);
|
|
|
|
|
export const LazySettings = createLazyComponent(
|
|
|
|
|
() =>
|
|
|
|
|
import('@/features/settings/pages/SettingsPage').then((m) => ({
|
|
|
|
|
default: m.SettingsPage,
|
|
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'Settings',
|
|
|
|
|
);
|
|
|
|
|
export const LazyLogin = createLazyComponent(
|
|
|
|
|
() => import('@/features/auth/pages/LoginPage'),
|
|
|
|
|
undefined,
|
|
|
|
|
'Login',
|
|
|
|
|
);
|
|
|
|
|
export const LazyRegister = createLazyComponent(
|
|
|
|
|
() => import('@/features/auth/pages/RegisterPage'),
|
|
|
|
|
undefined,
|
|
|
|
|
'Register',
|
|
|
|
|
);
|
|
|
|
|
export const LazyForgotPassword = createLazyComponent(
|
|
|
|
|
() => import('@/features/auth/pages/ForgotPasswordPage'),
|
|
|
|
|
undefined,
|
|
|
|
|
'Forgot Password',
|
|
|
|
|
);
|
|
|
|
|
export const LazyVerifyEmail = createLazyComponent(
|
|
|
|
|
() => import('@/features/auth/pages/VerifyEmailPage'),
|
|
|
|
|
undefined,
|
|
|
|
|
'Verify Email',
|
|
|
|
|
);
|
|
|
|
|
export const LazyResetPassword = createLazyComponent(
|
|
|
|
|
() => import('@/features/auth/pages/ResetPasswordPage'),
|
|
|
|
|
undefined,
|
|
|
|
|
'Reset Password',
|
|
|
|
|
);
|
|
|
|
|
export const LazySessions = createLazyComponent(
|
|
|
|
|
() => import('@/features/auth/pages/SessionsPage'),
|
|
|
|
|
undefined,
|
|
|
|
|
'Sessions',
|
|
|
|
|
);
|
|
|
|
|
export const LazyNotFound = createLazyComponent(
|
|
|
|
|
() => import('@/features/error/pages/NotFoundPage'),
|
|
|
|
|
undefined,
|
|
|
|
|
'Not Found',
|
|
|
|
|
);
|
|
|
|
|
export const LazyServerError = createLazyComponent(
|
|
|
|
|
() => import('@/features/error/pages/ServerErrorPage'),
|
|
|
|
|
undefined,
|
|
|
|
|
'Server Error',
|
|
|
|
|
);
|
|
|
|
|
export const LazyUserProfile = createLazyComponent(
|
|
|
|
|
() =>
|
|
|
|
|
import('@/features/profile/pages/UserProfilePage').then((m) => ({
|
|
|
|
|
default: m.UserProfilePage,
|
|
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'User Profile',
|
|
|
|
|
);
|
|
|
|
|
export const LazyRoles = createLazyComponent(
|
|
|
|
|
() =>
|
|
|
|
|
import('@/features/roles/pages/RolesPage').then((m) => ({
|
|
|
|
|
default: m.RolesPage,
|
|
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'Roles',
|
|
|
|
|
);
|
|
|
|
|
export const LazyTrackDetail = createLazyComponent(
|
|
|
|
|
() =>
|
|
|
|
|
import('@/features/tracks/pages/TrackDetailPage').then((m) => ({
|
|
|
|
|
default: m.TrackDetailPage,
|
|
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'Track Detail',
|
|
|
|
|
);
|
|
|
|
|
export const LazyPlaylistRoutes = createLazyComponent(
|
|
|
|
|
() =>
|
|
|
|
|
import('@/features/playlists/routes').then((m) => ({
|
|
|
|
|
default: m.PlaylistRoutes,
|
|
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'Playlists',
|
|
|
|
|
);
|
|
|
|
|
export const LazyAdminDashboard = createLazyComponent(
|
|
|
|
|
() =>
|
refactor(audit-2.1,2.6): unify views and pages to features/*/pages pattern
- Migrate LiveView, GearView, PurchasesView, SocialView, AnalyticsView into features
- Create features: admin, developer, seller; add QueuePage, WishlistPage
- Migrate pages/marketplace to features/marketplace
- Remove components/views/ and pages/ legacy directories
- Update lazyExports, docs (ARCHITECTURE)
- Mark audit 2.1, 2.6 as done
Refs: AUDIT_TECHNIQUE_INTEGRAL_2026_02_15.md items 2.1, 2.6
2026-02-15 13:30:40 +00:00
|
|
|
import('@/features/admin/pages/AdminDashboardPage').then((m) => ({
|
|
|
|
|
default: m.AdminDashboardPage,
|
2026-02-05 19:48:36 +00:00
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'Admin Dashboard',
|
|
|
|
|
);
|
feat(v0.701): AdminTransfers page/route, MSW, stories, Deep Health, API ref, docs, scope v0.702
- Step 13: AdminTransfersPage, LazyAdminTransfers, route /admin/transfers
- Step 14: MSW handlers admin transfers
- Step 15: AdminTransfersView stories (Default, Empty, WithFailedTransfers, Error, Loading)
- Step 16-17: DeepHealth handler (disk, config), GET /health/deep
- Step 19: health_deep_test.go (4 tests)
- Step 20: docs/API_REFERENCE.md
- Step 21: Archive V0_604, MIGRATIONS.md migration 116
- Step 22: CHANGELOG, PROJECT_STATE, FEATURE_STATUS v0.701
- Step 23: RETROSPECTIVE_V0701, V0_702 placeholder, SCOPE_CONTROL, .cursorrules
- Step 24: Archive V0_701_RELEASE_SCOPE
- Fix: AdminTransfersView Select component (use options API)
2026-02-23 22:42:02 +00:00
|
|
|
export const LazyAdminTransfers = createLazyComponent(
|
|
|
|
|
() =>
|
|
|
|
|
import('@/features/admin/pages/AdminTransfersPage').then((m) => ({
|
|
|
|
|
default: m.AdminTransfersPage,
|
|
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'Admin Transfers',
|
|
|
|
|
);
|
2026-02-05 19:48:36 +00:00
|
|
|
export const LazyAnalytics = createLazyComponent(
|
|
|
|
|
() =>
|
2026-02-14 21:40:12 +00:00
|
|
|
import('@/features/analytics/pages/AnalyticsPage').then((m) => ({
|
|
|
|
|
default: m.AnalyticsPage,
|
2026-02-05 19:48:36 +00:00
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'Analytics',
|
|
|
|
|
);
|
|
|
|
|
export const LazyWebhooks = createLazyComponent(
|
|
|
|
|
() =>
|
refactor(audit-2.1,2.6): unify views and pages to features/*/pages pattern
- Migrate LiveView, GearView, PurchasesView, SocialView, AnalyticsView into features
- Create features: admin, developer, seller; add QueuePage, WishlistPage
- Migrate pages/marketplace to features/marketplace
- Remove components/views/ and pages/ legacy directories
- Update lazyExports, docs (ARCHITECTURE)
- Mark audit 2.1, 2.6 as done
Refs: AUDIT_TECHNIQUE_INTEGRAL_2026_02_15.md items 2.1, 2.6
2026-02-15 13:30:40 +00:00
|
|
|
import('@/features/developer/pages/WebhooksPage').then((m) => ({
|
|
|
|
|
default: m.WebhooksPage,
|
2026-02-05 19:48:36 +00:00
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'Webhooks',
|
|
|
|
|
);
|
|
|
|
|
export const LazyDesignSystemDemo = createLazyComponent(
|
|
|
|
|
() =>
|
|
|
|
|
import('@/components/demo/DesignSystemDemo').then((m) => ({
|
|
|
|
|
default: m.DesignSystemDemo,
|
|
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'Design System Demo',
|
|
|
|
|
);
|
|
|
|
|
export const LazySocial = createLazyComponent(
|
|
|
|
|
() =>
|
2026-02-14 21:40:12 +00:00
|
|
|
import('@/features/social/pages/SocialPage').then((m) => ({
|
|
|
|
|
default: m.SocialPage,
|
2026-02-05 19:48:36 +00:00
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'Social',
|
|
|
|
|
);
|
2026-03-09 00:52:56 +00:00
|
|
|
export const LazyFeed = createLazyComponent(
|
|
|
|
|
() => import('@/features/feed/pages/FeedPage'),
|
|
|
|
|
undefined,
|
|
|
|
|
'Feed',
|
|
|
|
|
);
|
|
|
|
|
export const LazyDiscover = createLazyComponent(
|
|
|
|
|
() =>
|
|
|
|
|
import('@/features/discover/pages/DiscoverPage').then((m) => ({
|
|
|
|
|
default: m.DiscoverPage,
|
|
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'Discover',
|
|
|
|
|
);
|
2026-02-05 19:48:36 +00:00
|
|
|
export const LazyGear = createLazyComponent(
|
|
|
|
|
() =>
|
2026-02-14 21:40:12 +00:00
|
|
|
import('@/features/inventory/pages/GearPage').then((m) => ({
|
|
|
|
|
default: m.GearPage,
|
|
|
|
|
})),
|
2026-02-05 19:48:36 +00:00
|
|
|
undefined,
|
|
|
|
|
'Gear',
|
|
|
|
|
);
|
|
|
|
|
export const LazyLive = createLazyComponent(
|
|
|
|
|
() =>
|
2026-02-14 21:40:12 +00:00
|
|
|
import('@/features/live/pages/LivePage').then((m) => ({
|
|
|
|
|
default: m.LivePage,
|
2026-02-05 19:48:36 +00:00
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'Live',
|
|
|
|
|
);
|
2026-02-24 09:00:43 +00:00
|
|
|
export const LazyGoLive = createLazyComponent(
|
|
|
|
|
() =>
|
|
|
|
|
import('@/features/live/pages/GoLivePage').then((m) => ({
|
|
|
|
|
default: m.GoLivePage,
|
|
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'Go Live',
|
|
|
|
|
);
|
2026-02-22 17:30:49 +00:00
|
|
|
export const LazyCloud = createLazyComponent(
|
|
|
|
|
() => import('@/features/cloud/pages/CloudPage'),
|
|
|
|
|
undefined,
|
|
|
|
|
'Cloud',
|
|
|
|
|
);
|
2026-02-05 19:48:36 +00:00
|
|
|
export const LazyQueue = createLazyComponent(
|
|
|
|
|
() =>
|
refactor(audit-2.1,2.6): unify views and pages to features/*/pages pattern
- Migrate LiveView, GearView, PurchasesView, SocialView, AnalyticsView into features
- Create features: admin, developer, seller; add QueuePage, WishlistPage
- Migrate pages/marketplace to features/marketplace
- Remove components/views/ and pages/ legacy directories
- Update lazyExports, docs (ARCHITECTURE)
- Mark audit 2.1, 2.6 as done
Refs: AUDIT_TECHNIQUE_INTEGRAL_2026_02_15.md items 2.1, 2.6
2026-02-15 13:30:40 +00:00
|
|
|
import('@/features/library/pages/QueuePage').then((m) => ({
|
|
|
|
|
default: m.QueuePage,
|
2026-02-05 19:48:36 +00:00
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'Queue',
|
|
|
|
|
);
|
|
|
|
|
export const LazyDeveloper = createLazyComponent(
|
|
|
|
|
() =>
|
refactor(audit-2.1,2.6): unify views and pages to features/*/pages pattern
- Migrate LiveView, GearView, PurchasesView, SocialView, AnalyticsView into features
- Create features: admin, developer, seller; add QueuePage, WishlistPage
- Migrate pages/marketplace to features/marketplace
- Remove components/views/ and pages/ legacy directories
- Update lazyExports, docs (ARCHITECTURE)
- Mark audit 2.1, 2.6 as done
Refs: AUDIT_TECHNIQUE_INTEGRAL_2026_02_15.md items 2.1, 2.6
2026-02-15 13:30:40 +00:00
|
|
|
import('@/features/developer/pages/DeveloperDashboardPage').then((m) => ({
|
|
|
|
|
default: m.DeveloperDashboardPage,
|
2026-02-05 19:48:36 +00:00
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'Developer',
|
|
|
|
|
);
|
|
|
|
|
export const LazyNotifications = createLazyComponent(
|
|
|
|
|
() =>
|
2026-02-14 21:40:12 +00:00
|
|
|
import('@/features/notifications/pages/NotificationsPage').then((m) => ({
|
|
|
|
|
default: m.NotificationsPage,
|
2026-02-05 19:48:36 +00:00
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'Notifications',
|
|
|
|
|
);
|
|
|
|
|
export const LazyMarketplace = createLazyComponent(
|
|
|
|
|
() =>
|
refactor(audit-2.1,2.6): unify views and pages to features/*/pages pattern
- Migrate LiveView, GearView, PurchasesView, SocialView, AnalyticsView into features
- Create features: admin, developer, seller; add QueuePage, WishlistPage
- Migrate pages/marketplace to features/marketplace
- Remove components/views/ and pages/ legacy directories
- Update lazyExports, docs (ARCHITECTURE)
- Mark audit 2.1, 2.6 as done
Refs: AUDIT_TECHNIQUE_INTEGRAL_2026_02_15.md items 2.1, 2.6
2026-02-15 13:30:40 +00:00
|
|
|
import('@/features/marketplace/pages/MarketplacePage').then((m) => ({
|
|
|
|
|
default: m.MarketplacePage,
|
2026-02-05 19:48:36 +00:00
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'Marketplace',
|
|
|
|
|
);
|
|
|
|
|
export const LazySearch = createLazyComponent(
|
|
|
|
|
() =>
|
|
|
|
|
import('@/features/search/pages/SearchPage').then((m) => ({
|
|
|
|
|
default: m.SearchPage,
|
|
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'Search',
|
|
|
|
|
);
|
|
|
|
|
export const LazySellerDashboard = createLazyComponent(
|
|
|
|
|
() =>
|
refactor(audit-2.1,2.6): unify views and pages to features/*/pages pattern
- Migrate LiveView, GearView, PurchasesView, SocialView, AnalyticsView into features
- Create features: admin, developer, seller; add QueuePage, WishlistPage
- Migrate pages/marketplace to features/marketplace
- Remove components/views/ and pages/ legacy directories
- Update lazyExports, docs (ARCHITECTURE)
- Mark audit 2.1, 2.6 as done
Refs: AUDIT_TECHNIQUE_INTEGRAL_2026_02_15.md items 2.1, 2.6
2026-02-15 13:30:40 +00:00
|
|
|
import('@/features/seller/pages/SellerDashboardPage').then((m) => ({
|
|
|
|
|
default: m.SellerDashboardPage,
|
2026-02-05 19:48:36 +00:00
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'Seller Dashboard',
|
|
|
|
|
);
|
|
|
|
|
export const LazyWishlist = createLazyComponent(
|
|
|
|
|
() =>
|
refactor(audit-2.1,2.6): unify views and pages to features/*/pages pattern
- Migrate LiveView, GearView, PurchasesView, SocialView, AnalyticsView into features
- Create features: admin, developer, seller; add QueuePage, WishlistPage
- Migrate pages/marketplace to features/marketplace
- Remove components/views/ and pages/ legacy directories
- Update lazyExports, docs (ARCHITECTURE)
- Mark audit 2.1, 2.6 as done
Refs: AUDIT_TECHNIQUE_INTEGRAL_2026_02_15.md items 2.1, 2.6
2026-02-15 13:30:40 +00:00
|
|
|
import('@/features/marketplace/pages/WishlistPage').then((m) => ({
|
|
|
|
|
default: m.WishlistPage,
|
2026-02-05 19:48:36 +00:00
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'Wishlist',
|
|
|
|
|
);
|
|
|
|
|
export const LazyPurchases = createLazyComponent(
|
|
|
|
|
() =>
|
2026-02-14 21:40:12 +00:00
|
|
|
import('@/features/purchases/pages/PurchasesPage').then((m) => ({
|
|
|
|
|
default: m.PurchasesPage,
|
2026-02-05 19:48:36 +00:00
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'Purchases',
|
|
|
|
|
);
|
2026-02-23 23:17:39 +00:00
|
|
|
export const LazyProductDetail = createLazyComponent(
|
|
|
|
|
() =>
|
|
|
|
|
import('@/features/marketplace/pages/ProductDetailPage').then((m) => ({
|
|
|
|
|
default: m.ProductDetailPage,
|
|
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'Product Detail',
|
|
|
|
|
);
|
2026-02-22 13:42:15 +00:00
|
|
|
export const LazyCheckoutComplete = createLazyComponent(
|
|
|
|
|
() =>
|
|
|
|
|
import('@/features/checkout/CheckoutCompletePage').then((m) => ({
|
|
|
|
|
default: m.CheckoutCompletePage,
|
|
|
|
|
})),
|
|
|
|
|
undefined,
|
|
|
|
|
'Checkout Complete',
|
|
|
|
|
);
|