feat(frontend): unify person routing, cast page, and centralize ratings
- Add EntryCastsPage at /entry/:id/cast with sort/filter and breadcrumb nav - Show episode count under character names for TV series in CastList - Add "All Cast & Crew →" link to CastList section header - Extract reusable StarRating component with half-star support and 3 sizes - Replace all rating UIs (EntrySettingsDialog, CollectionEditDialog, RatingDialog) - Document StarRating component as the single rating standard in Components.md Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
1 parent
b3002a329d
commit
e460290b9b
11 files changed
+392
-146
No files matched your search
@@ -63,6 +63,11 @@ const SeasonPage = lazy(() =>
|
||||
const EpisodePage = lazy(() =>
|
||||
import('@/pages/EpisodePage').then((m) => ({ default: m.EpisodePage }))
|
||||
);
|
||||
const EntryCastsPage = lazy(() =>
|
||||
import('@/pages/EntryCastsPage').then((m) => ({
|
||||
default: m.EntryCastsPage,
|
||||
}))
|
||||
);
|
||||
const PeoplePage = lazy(() =>
|
||||
import('@/pages/PeoplePage').then((m) => ({ default: m.PeoplePage }))
|
||||
);
|
||||
@@ -185,6 +190,14 @@ export const router = createBrowserRouter([
|
||||
</SuspensePage>
|
||||
),
|
||||
},
|
||||
{
|
||||
path: '/entry/:id/cast',
|
||||
element: (
|
||||
<SuspensePage fallback={<PeopleSkeleton />}>
|
||||
<EntryCastsPage />
|
||||
</SuspensePage>
|
||||
),
|
||||
},
|
||||
{
|
||||
path: '/entry/:entryId/season/:seasonId',
|
||||
element: (
|
||||
|
||||
Reference in new issue
Block a user