Repository navigation
Conversation
… dashboard (Shoshuo#133) - New /jellyseerr/issues page (Issues button beside Requests): one card per reported issue with poster/title (opens the global quick-look), movie/TV, issue type, open/resolved, season/episode for shows, the reporter's description (Seerr's first comment), reporter, date and reply count. "Open in Seerr" links out for commenting/resolving; the page itself is read-only. - Open / Resolved / All filters (open by default), newest / last-modified sort, pagination, and a counts row from /issue/count. - Dashboard Requests card: a summary row "N open issues reported" linking to the page, only when N > 0; a failed count hides the row instead of showing a misleading zero. - Off-origin reporter avatars (plex.tv, gravatar) fall back to an initial, since img-src only whitelists the Seerr origin. - TMDb lookups are memoized per page (several issues often share a title); the TMDb summary is factored out of enrichRequest() and reused. - EN + FR strings; render test covers both locales, escaping, filter fallback, the unreachable banner and the dashboard row.
The stubbed ping() records Seerr as "up" in HealthService's shared cache.app pool, which outlives the per-test SQLite reset; on CI's run order that verdict leaked into TopbarHealthServicesTest (asserts every service is unconfigured). Clear the pool before and after each test.
The -lt badge tint matches the button colour, so on the selected (solid) filter the count was amber-on-amber and invisible (seen live on :beta). The selected button now gets a white badge in the button's colour.
…y class; changelog entry The dashboard Requests empty state is a plain card-body upstream; assert its message instead of a component class so the test holds on both.
… ?page= - Issue-card titles come from cache.app for 6 h (keyed by Seerr instance, type and TMDb id): a page was up to 20 sequential Seerr lookups on every load. A failed lookup is not cached, so the next load retries it. - A page past the last one redirects to the last page instead of showing "No open issues" under a pager that counts backwards. - ?page= is capped at 10000, so a huge value no longer overflows the skip into a float (TypeError -> "Seerr unreachable" banner).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #133
What
A read-only Issues page under Seerr, plus an open-issue count on the dashboard, as the issue asks.
JellyseerrClientalready hadgetIssues()/getIssueCount(); nothing called them except the Seerr "About" settings page./jellyseerr/issues(new Issues button next to Requests):prismarr_date, so it follows the Display date format) and the reply count.{seerr}/issues/{id}for commenting or resolving. The page itself never writes./issue/count(open, resolved, video, audio, subtitles, other).Dashboard: the Requests card gets one "N open issues reported · View →" row at the top, linking to the page, only when N > 0. It rides on the existing
widget/requestsfragment with one/issue/countcall. If that call fails, the row is hidden instead of showing 0.Details
/avatarproxy/...) are used.img-srcallows the Seerr origin but not plex.tv or Gravatar, so an absolute avatar URL would be blocked by the CSP; those show the reporter's initial./movie//tvproxy, same as the Requests page. The lookup is factored out ofenrichRequest()intotmdbSummary()and memoized per page, since several issues often point at the same title. The memo is a local, not a property, so nothing carries over between requests in worker mode.Tests
JellyseerrIssuesRenderTestrenders the page for real. It seeds the Seerr settings and stubs the client before the container builds it, so the route guard passes. It covers:The test clears
cache.appbefore and after: the stubbedping()records Seerr as "up" in HealthService's shared pool, which outlives the SQLite reset and otherwise leaks intoTopbarHealthServicesTest.Full suite green on this branch (1,276 tests), Twig lint clean.
Verified live
Against a real Seerr, on a build of this feature:
That live check caught one bug, fixed here: on the selected (solid) filter button, the
-ltcount badge was the same colour as the button and invisible. The selected button now gets a white badge. The Requests filter row in_jellyseerr_nav.html.twighas the same problem; I left it alone to keep this PR to #133.