Refactored media list to follow SvelteKit data loading patterns:
- Removed client-side fetch() calls and manual state management
- Filter/sort/search state now driven by URL search params
- Page navigation triggers server-side reloads via goto()
- Mutations use invalidate('admin:media') to reload data
- Replaced error state with toast notifications for better UX
- Removed redundant loading state (handled by SvelteKit)
This completes Task 2 - all admin lists now use server-side data loading with proper session authentication.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| assets | ||
| lib | ||
| routes | ||
| stories | ||
| app.css | ||
| app.d.ts | ||
| app.html | ||
| decs.d.ts | ||
| global.d.ts | ||