feat(admin): strip SPA ops menus; redirect old hashes to native WP (Phase 4)
SPA shop/forum/payment/users sections now keep configuration pages only. Operational workbenches were removed from the sidebar and loaders; legacy hash routes open NativeOpsRedirect into the matching WP native admin page. Admin SPA production build refreshed accordingly.
This commit is contained in:
1 parent
bf061f43ee
commit
a3dde3874a
85 files changed
+15987
-249
No files matched your search
@@ -1,6 +1,7 @@
|
||||
export const corePageLoaders = {
|
||||
SchemaPage: () => import('@/pages/SchemaPage.vue'),
|
||||
DeferredPage: () => import('@/components/DeferredPage.vue'),
|
||||
NativeOpsRedirect: () => import('@/pages/placeholder/NativeOpsRedirect.vue'),
|
||||
FloatingButtonsSettings: () => import('@/pages/content/FloatingButtonsSettings.vue'),
|
||||
FooterTabbarSettings: () => import('@/pages/content/FooterTabbarSettings.vue'),
|
||||
FooterSettings: () => import('@/pages/content/FooterSettings.vue'),
|
||||
|
||||
@@ -1,7 +1,2 @@
|
||||
export const forumPageLoaders = {
|
||||
ForumDashboard: () => import('@/pages/forum/ForumDashboard.vue'),
|
||||
ForumBoards: () => import('@/pages/forum/ForumBoards.vue'),
|
||||
ForumTopics: () => import('@/pages/forum/ForumTopics.vue'),
|
||||
ForumModerators: () => import('@/pages/forum/ForumModerators.vue'),
|
||||
ForumModeratorApplications: () => import('@/pages/forum/ForumModeratorApplications.vue'),
|
||||
}
|
||||
// Forum ops Vue pages removed (Phase 4). Config uses SchemaPage.
|
||||
export const forumPageLoaders = {}
|
||||
@@ -1,6 +1,3 @@
|
||||
export const paymentPageLoaders = {
|
||||
PaymentRevenue: () => import('@/pages/payment/PaymentRevenue.vue'),
|
||||
PaymentGateway: () => import('@/pages/payment/PaymentGateway.vue'),
|
||||
PaymentChargeCard: () => import('@/pages/payment/PaymentChargeCard.vue'),
|
||||
PaymentRebate: () => import('@/pages/payment/PaymentRebate.vue'),
|
||||
}
|
||||
@@ -1,9 +1,2 @@
|
||||
export const shopPageLoaders = {
|
||||
ShopDashboard: () => import('@/pages/shop/ShopDashboard.vue'),
|
||||
ShopProducts: () => import('@/pages/shop/ShopProducts.vue'),
|
||||
ShopOrders: () => import('@/pages/shop/ShopOrders.vue'),
|
||||
ShopWithdrawals: () => import('@/pages/shop/ShopWithdrawals.vue'),
|
||||
ShopCoupons: () => import('@/pages/shop/ShopCoupons.vue'),
|
||||
ShopAfterSale: () => import('@/pages/shop/ShopAfterSale.vue'),
|
||||
ShopShipping: () => import('@/pages/shop/ShopShipping.vue'),
|
||||
}
|
||||
// Shop ops Vue pages removed (Phase 4). Config uses SchemaPage.
|
||||
export const shopPageLoaders = {}
|
||||
@@ -1,12 +1,8 @@
|
||||
export const usersPageLoaders = {
|
||||
UsersFeatures: () => import('@/pages/users/UsersFeatures.vue'),
|
||||
UsersSignin: () => import('@/pages/users/UsersSignin.vue'),
|
||||
UsersInviteCodes: () => import('@/pages/users/UsersInviteCodes.vue'),
|
||||
UsersVerify: () => import('@/pages/users/UsersVerify.vue'),
|
||||
UsersLevel: () => import('@/pages/users/UsersLevel.vue'),
|
||||
UsersBadge: () => import('@/pages/users/UsersBadge.vue'),
|
||||
UsersReport: () => import('@/pages/users/UsersReport.vue'),
|
||||
UsersMessages: () => import('@/pages/users/UsersMessages.vue'),
|
||||
UsersBan: () => import('@/pages/users/UsersBan.vue'),
|
||||
UsersWechatTemplate: () => import('@/pages/users/UsersWechatTemplate.vue'),
|
||||
}
|
||||
Reference in new issue
Block a user