Skip to content

Add watchlist catalog filters, search, and preset catalogs - #49

Open
leo-mathurin wants to merge 2 commits into
stagingfrom
t3code/add-watchlist-filters
Open

leo-mathurin wants to merge 2 commits into
stagingfrom
t3code/add-watchlist-filters

Conversation

@leo-mathurin

@leo-mathurin leo-mathurin commented Sep 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add configurable genre, decade, runtime, and IMDb rating filters.
  • Support catalog search with accent-insensitive title matching.
  • Add temporary Stremio dropdown filters and sorting options.
  • Add optional short, rated, and shuffle preset catalogs.
  • Improve release-date handling, caching fallbacks, and metadata behavior.
  • Persist catalog settings with migration and update documentation.
  • Save watchlists and the RPDB key in one database transaction; preserve omitted settings and clean up deleted caches after commit.

Testing

  • Added backend coverage for catalog filtering, routing, search, presets, CRUD persistence, cache fallbacks, and IMDb release dates.
  • Passed: lint, builds, typechecks, and all 176 backend tests.
  • Passed PostgreSQL regression tests for transaction rollback, mixed omitted/explicit settings, ownership validation, and RPC permissions; added these checks to CI.

Rollout

  • Apply the catalog settings and replace_user_config database migrations before deploying the backend.

@vercel

vercel Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated
stremlist-backend Ignored Ignored Preview Sep 15, 2026 8:01am UTC
stremlist-frontend Ignored Ignored Preview Sep 15, 2026 8:01am UTC

Request Review

@greptile-apps

greptile-apps Bot commented Sep 14, 2026

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

The PR appears safe to merge, with the previously reported partial-commit problem fully addressed by the transactional replacement function.

Summary

This PR adds configurable catalog filters, accent-insensitive search, temporary Stremio dropdown selections, preset catalogs, complete release-date sorting, and transactional configuration persistence.

  • Adds shared catalog settings and corresponding frontend configuration controls.
  • Applies saved and temporary filters before pagination while supporting stable shuffle and preset ordering.
  • Extends IMDb metadata and cached records with validated complete release dates.
  • Replaces independent configuration writes with a PostgreSQL transaction and performs cache cleanup only after commit.
  • Adds backend, database, and CI regression coverage for the new behavior.

Reviews (3) · Last reviewed commit: "fix: save watchlist configuration atomic..."

Comment thread apps/backend/src/services/user.ts Outdated
@leo-mathurin

Copy link
Copy Markdown
Owner Author

@greptile review

@leo-mathurin

Copy link
Copy Markdown
Owner Author

@greptile review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant