Skip to content

[SeerrNG #745] feat(lumen): compact phone filters, calmer detail pages and fewer folded boxes - #37

Open
ncbudd wants to merge 1 commit into
mainfrom
seerrng-pr-745
Open

ncbudd wants to merge 1 commit into
mainfrom
seerrng-pr-745

Conversation

@ncbudd

@ncbudd ncbudd commented Nov 29, 2026

Copy link
Copy Markdown
Owner

Mirror of snapetech-org/seerrng#745. The lumen/ tree is identical to that PR's branch. Review and discussion happen upstream; this closes once upstream merges and the sync picks it up.

Summary

A layout pass over Lumen on phones, from using it daily on the production install. Desktop and tablet layouts stay as they are unless a bullet says otherwise.

Filters on phones

  • Movies and Series: only the availability switch and a Filters button with a count stay on the page. Sort, genres, network, status and More Filters open in a bottom sheet with Clear and Done. Each filter in use shows as a removable chip on one scrolling line.
  • Comics, Books, Music and Requests: a shared PhoneFilterBar keeps the one control people switch most (Comics: type, Books: library, Music: release types, Requests: status) and moves the rest into the same sheet.
    • Long chip lists (podcast categories and others) scroll on one line.
    • Stacked sheets keep the page inert until the last one closes, and Escape closes the top one (useDialog).
  • Discover: the chip row under the search links only to the media pages this server has. Provider Discovery joins Coming Soon and Share & Identify in the sidebar and the phone More menu.
  • Music and Podcasts:
    • Music Discover gets release type, sort, genre, dates and in-library filters that open the catalog list. Podcasts gets a Following filter on the chart.
    • Music sections sat 60 px apart: the tab panel's display: contents wrapper picked up the section margin on top of the grid gap. They now use the grid gap alone.
    • "Play opens in" moves from the Music page to "When you press Play" on the You page. Lumen settings gains Music apps: which of Aurral, Plex and Hearth people may pick, and the default.
    • The phone app option is now called Hearth (formerly Shelf, shown as "coming") and gets Android intent links to its play routes. The saved value stays shelf, so existing choices keep working.

Detail pages

  • Fewer actions on phones: movie, series, book, artist and comic pages keep their main and everyday actions. Indexer search, blocklist, issue reports, associations, management and similar actions go into one More sheet (MoreActions). More never holds a single item: a lone action shows in place.
  • The top of the page:
    • The description sits right under the title, two lines with Show more (ClampText), instead of lower down or in a folded Overview box. Books, manga and comics show three lines.
    • Status, ratings and the small actions flow as one wrapping group, so no chip is cut off at a scroller's edge. Phones show the top two ratings and +N.
    • Movies show one availability chip when HD and 4K are both on the server ("On Plex · HD + 4K").
    • The dot line never starts or ends a wrapped line with a dot, and empty items leave no stray dot.
    • Discover's previous/next are a labelled pair at the top corner of the art, and only the arrow that leads somewhere shows.
  • Phones, scrolling: the back button joins a solid bar with the title once the page scrolls, so it never covers content. The sticky action bar keeps every button on one line: the title gives way, and Manage keeps only its icon when three buttons share the bar.
  • Fewer folded boxes:
    • Movie and TV: Starring and Crew are one Cast & Crew box. Details, Subject Tags and (TV) Media Server are one Details box.
    • Album: one Credits & Details box (facts, artists, subject tags) right under the songs. Book: Subjects moves into Details.
    • Saved "Keep open" choices carry over: the combined box opens for any saved choice of its parts, closing it for good clears them all, and #crew / #mediaServer links open the combined box at that part.
    • Folded boxes stack 8–10 px apart as one list instead of a full section gap each. The section margin rule no longer adds 28 px on top of the 22 px grid gap in .dcols columns (desktop too).
  • Albums: ratings are a chip row next to the status, sources without a rating are left out, song rows use a small get button, and long albums show ten songs, then "All N songs".
  • People: each filmography group shows 12 titles, then "Show all (N)". The credits list stays on screen while it refreshes, so a bulk request's result no longer vanishes.
  • Books:
    • Overview right under the format cards and action row, then the edition or narrator list, then Collection, Advanced Request Options and Details, like the manga page.
    • Edition and narration pickers show four rows, then "All N editions" / "All N narrations", and the selected row stays in view.
    • One Follow button under the narrations, for the selected narrator, replaces the stack of per-narrator buttons. The ebook page shows its edition as one card (EditionPreview).
    • Switching between ebook and audiobook on a book opened without a lookup title no longer blanks the page: the saved answer shows while the new one loads, and hovering or touching the format link asks for it ahead.
  • Fixed on the way: duplicate React keys left stale Watchlist buttons on movie pages; the actions now live in their own containers.

Settings, You and Administration on phones

  • Account and Lumen settings fold their sections. Jump links and #section addresses open the section they point to. User Settings shows its toolbar links and jump chips as one sideways-scrolling row, Import lists first.
  • You folds the nine admin groups into one "All Settings and Tools" box and Discover, Library, Acquisition and Support into "Library & Tools" (17 folds down to 6).
  • Administration folds TV, book, music and software services into one "Media Services" box (9 folds down to 6).
  • Request limits shows no empty heading when there is nothing to list.

Search page

  • An empty Book Series section is hidden, and partial provider failures become one quiet note with Retry instead of an error card. Sort is a chip on phones.

Other

  • Requests: a row's buttons run under the whole row instead of down the narrow text column, and the sentence that repeats the list's order is hidden on phones.
  • Discover shelves drop the Title View chip (it stays under You > Appearance; touch screens always show titles).

Testing

  • New tests:
    • phone-filters.spec.ts: the filter sheet, chips and Clear on each page, phones only;
    • book-edition-layout.spec.ts: book section order, the four-row pickers, the single Follow button and the format switch;
    • member-pass.spec.ts: a member with only request and auto-approve permissions, on every size;
    • review-pages.spec.ts: folded-section gaps, the account chip row and the detail top;
    • hearthLink.test.mjs: Hearth intent links;
    • shared helpers phoneSections.ts and discoveryFilters.ts. Specs that visit folded groups or combined boxes open them first and keep their checks.
  • Local checks on main as of today (00b4b12d1):
    • Lumen tsc, build and unit tests (90): pass;
    • pnpm i18n:check and ESLint on the changed Lumen files: pass;
    • Lumen browser specs for the touched screens (desktop, iPhone, Android, tablet): app, comics-manga, book-library, music-playback, phone-filters, book-edition-layout, member-pass, review-pages, review-core, account-settings, admin-navigation, mobile-navigation, watchlist, share, lumen-preferences, detail-options-localization, music-format-request and book-grouping. 2,117 passed, 45 failed:
      • 10 were newer specs from main that didn't know about the phone filter sheet (original language and origin country after a reload, and the comic catalogue locale spec, on phones). The last commit opens the sheet in them; they now pass on all four sizes (20 of 20).
      • 32 also fail on untouched main:
        • the 4 review-core tests on every size (16);
        • "artist details follow new album releases" (4): the spec's /follow fixture always answers an empty list, so the new Following readback can't confirm the write;
        • "series watch rule keeps the rejected selection", "Classic comic discovery bookmarks" (it looks for "Maximum Issues"; the restored English catalog now says "Max issues") and "Music album and artist details localize" (12).
      • 3 phone navigation timeouts (share Share & Identify reachability, mobile-navigation landmarks) passed when rerun (12 of 12).
  • Live: running on the production install since 2026-11-27 (filters) and 2026-11-28 (the rest).

AI assistance

AI tools helped write parts of the code and tests. I reviewed the changes, ran the tests listed above, and checked it on a live install.

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