SeasonsListEpisode: Show spoilers when status is set to FINISHED and allow changing status while spoilers are hidden

Based on PR by goestav: https://github.com/sbondCo/Watcharr/pull/1055

Different in these ways:
- Using $derived here for `ws` variable
- Using z-index to allow status button to be clicked while spoilers are hidden
- Don't hide spoilers again (if they are shown) when episode is deleted

Also refactored `handleStatusClick()` a bit by removing the redundant `ws` lookup (it can now just use `we` set at the top of the component).

Co-Authored-By: Goestav <27970303+goestav@users.noreply.github.com>
This commit is contained in:
IRHM
2026-07-18 12:40:13 +01:00
committed by momi
parent 9b64932af1
commit f5bfa29877
2 changed files with 61 additions and 16 deletions
+3
View File
@@ -6,6 +6,9 @@ These changes are awaiting release:
- Profile: Stats no longer care about the `Include Previously Watched` setting. All previously watched items will be counted in the stats now.
- Activity: Added `index` to `WatchedID` column to speed up queries.
- SeasonsListEpisode when `Hide Spoilers` is on:
- Show episode spoilers if its status is `FINISHED`;
- Allow changing status without showing spoilers (useful for when setting an episode to PLANNED, etc).
## Fixed