From b3b7af03907afa7a6aec9f095e037f51ea869ded Mon Sep 17 00:00:00 2001 From: Psychotoxical <171614930+Psychotoxical@users.noreply.github.com> Date: Tue, 30 Jun 2026 18:16:44 +0200 Subject: [PATCH] refactor(help): co-locate help page into features/help; pages/ now empty --- src/app/AppRoutes.tsx | 4 ++-- src/features/help/index.ts | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 src/features/help/index.ts diff --git a/src/app/AppRoutes.tsx b/src/app/AppRoutes.tsx index f74c6932..ccfc5611 100644 --- a/src/app/AppRoutes.tsx +++ b/src/app/AppRoutes.tsx @@ -29,8 +29,8 @@ const PlaylistDetail = lazy(() => import('@/features/playlist/pages/PlaylistDeta const NowPlayingPage = lazy(() => import('@/features/nowPlaying/pages/NowPlaying')); const Settings = lazy(() => import('@/features/settings/pages/Settings')); const Statistics = lazy(() => import('@/features/stats/pages/Statistics')); -const Help = lazy(() => import('../pages/Help')); -const WhatsNew = lazy(() => import('../pages/WhatsNew')); +const Help = lazy(() => import('@/features/help/pages/Help')); +const WhatsNew = lazy(() => import('@/features/whatsNew/pages/WhatsNew')); const DeviceSync = lazy(() => import('@/features/deviceSync/pages/DeviceSync')); const OfflineLibrary = lazy(() => import('@/features/offline/pages/OfflineLibrary')); const LabelAlbums = lazy(() => import('@/features/album/pages/LabelAlbums')); diff --git a/src/features/help/index.ts b/src/features/help/index.ts new file mode 100644 index 00000000..1c3378b3 --- /dev/null +++ b/src/features/help/index.ts @@ -0,0 +1,6 @@ +/** + * Help feature — the static help / usage-guide page (keyboard shortcuts, tips, + * FAQ). The page is lazy-loaded by the router via its deep path, so it is not + * re-exported here; it has no other module surface. + */ +export {};