mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-08-29 03:55:38 -04:00
Merge watchlist and watching into a single "Watching" status
The distinction between "Watchlist" and "Watching" added no value — the progress bar already shows whether you've started. Now there are just two visible states: Watching (amber) and Completed (green). Adding a show via "+ Watchlist" now sets in_progress directly, and both the old watchlist and in_progress DB values render as "Watching" for backward compatibility. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
"use client";
|
||||
|
||||
import {
|
||||
IconBookmarkFilled,
|
||||
IconCheck,
|
||||
IconPlayerPlayFilled,
|
||||
IconPlus,
|
||||
@@ -9,21 +8,17 @@ import {
|
||||
} from "@tabler/icons-react";
|
||||
import { AnimatePresence, motion } from "motion/react";
|
||||
|
||||
const watchingStyle = {
|
||||
label: "Watching",
|
||||
icon: IconPlayerPlayFilled,
|
||||
class: "text-status-watching",
|
||||
bgClass: "bg-status-watching/10 hover:bg-status-watching/15",
|
||||
borderClass: "ring-status-watching/20",
|
||||
};
|
||||
|
||||
const statusConfig = {
|
||||
watchlist: {
|
||||
label: "Watchlist",
|
||||
icon: IconBookmarkFilled,
|
||||
class: "text-status-watchlist",
|
||||
bgClass: "bg-status-watchlist/10 hover:bg-status-watchlist/15",
|
||||
borderClass: "ring-status-watchlist/20",
|
||||
},
|
||||
in_progress: {
|
||||
label: "Watching",
|
||||
icon: IconPlayerPlayFilled,
|
||||
class: "text-status-watching",
|
||||
bgClass: "bg-status-watching/10 hover:bg-status-watching/15",
|
||||
borderClass: "ring-status-watching/20",
|
||||
},
|
||||
watchlist: watchingStyle,
|
||||
in_progress: watchingStyle,
|
||||
completed: {
|
||||
label: "Completed",
|
||||
icon: IconCheck,
|
||||
|
||||
Reference in New Issue
Block a user