feat(media-requests): filter requests list by status and recent days

Adds two new options to the mediaRequests-requestList widget so users
can narrow the Overseerr/Jellyseerr requests list to specific request
statuses and a recent time window (in days):

- statusFilter (multi-select, defaults to all five statuses)
- recentDays  (number 0-365, 0 disables the time filter)

Filtering is applied server-side in the request handler and tRPC
getLatestRequests procedure, with defaults preserved for existing
widgets.

Closes #4561
This commit is contained in:
ajnart committed 2026-07-13 18:47:28 +02:00
1 parent 03f68a0421
commit 9d3de49875
8 files changed
+103 -30

No files matched your search

@@ -23,6 +23,8 @@ type OptionMapping = {
const optionMapping: OptionMapping = {
"mediaRequests-requestList": {
linksTargetNewTab: (oldOptions) => oldOptions.openInNewTab,
statusFilter: () => undefined,
recentDays: () => undefined,
},
"mediaRequests-requestStats": {},
bookmarks: {