feat(react): add toasts, loading states, skeletons, animations, and mobile responsiveness
- Toast notifications (sonner): success/error toasts on all mutations - Loading spinners: EntryCard add/remove, ConfirmDialog, EntrySeenDialog, favorite/refresh buttons - Page skeletons: 13 page-specific Suspense fallbacks replacing generic skeleton - CSS animations: card-enter (staggered), page-enter, slide-up-fade keyframes - Mobile layout: hamburger menu with sheet sidebar, responsive entry details - Mobile controls: separate compact filter/sort popovers for Library and Watchlist - Desktop sort: popover menu replacing Select dropdown on Library and Watchlist - Filter ranges: year 1950-2100, rating 0-10
This commit is contained in:
1 parent
ae67663623
commit
d60d142d17
29 files changed
+1008
-226
No files matched your search
@@ -37,7 +37,7 @@ export function PeoplePage() {
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<div className="space-y-6 animate-page-enter">
|
||||
<h1 className="text-2xl font-bold">People</h1>
|
||||
|
||||
<div className="relative max-w-xs">
|
||||
@@ -65,6 +65,8 @@ export function PeoplePage() {
|
||||
<div
|
||||
key={person.id}
|
||||
ref={index === people.length - 1 ? lastRef : undefined}
|
||||
className="animate-card-enter"
|
||||
style={{ animationDelay: `${Math.min(index * 20, 300)}ms` }}
|
||||
>
|
||||
<Link
|
||||
to={`/people/tmdb/${person.id}`}
|
||||
|
||||
Reference in new issue
Block a user