Skip to content

Home sections added as TMDB Trending This Week are labelled TMDB Trending Today #1500

Closed

Description

@zZebrahz

What happened

A home section added from the gallery as TMDB Trending This Week shows its section type as TMDB Trending Today in the Web section list and editor. The section itself is correct: it uses TMDB's weekly list, and its items differ from the TMDB Trending Today section. Only the label is wrong. An admin can't tell which list a trending section uses without comparing contents.

Observed by the maintainer on server 23125d6c while validating Calendar (#1136, see #1495). An agent API check confirmed the new section's items differ from the daily section's, and that the calendar's weekly Trending view filled in after it was added.

Steps to reproduce

  1. From the home section gallery, add TMDB Trending This Week.
  2. Look at the new section's type in the section list, or open it in the section editor.

Expected behavior

The section type shows the preset that matches its settings: TMDB Trending This Week for window: week, TMDB Trending Today for window: day. The editor shows and keeps the section's own window.

Silo version / commit

23125d6c

Deployment

Not recorded.

Clients affected

Web UI

Relevant logs

No logs available.

Technical notes

Source at 23125d6c:

  • Both TMDB presets are the same section type, trending_discover, and differ only in window (internal/sections/recipes/trending_discover.go: tdisc_tmdb_day is first, then tdisc_tmdb_week).
  • recipeLabel in web/src/components/sections/EditableSectionRows.tsx labels any section with the first preset's display_name for its type. It doesn't match the section's config to a preset.
  • SectionEditorDrawer.tsx labels each type in the type menu with presets[0]. When the editor has no parameters, it also seeds them from presets[0].default_params. So a trending section created or reset in the editor may silently get window: day. This is from source review and hasn't been tested.

The same pattern likely affects other section types that have more than one gallery preset.

Validation reference

Related to #1137 (Curated home sections; Web admin #1141 C1, building home rows) and #192 (Collections; Web admin #194). Not marked as blocking.

AI harness

Claude Code

AI tool(s)

Claude Code, curl, GitHub CLI

AI model(s)

claude-opus-5-5

AI involvement

AI-assisted. The maintainer observed the label; the cause is from source review.

Independent or adversarial review

n/a

Confirmations

  • I reproduced this myself on a real deployment
  • Any logs provided are raw apart from marked redactions and are not AI-summarized; if none were available, I said so above

Activity

  1. added theissue type on Sep 26, 2026
  2. added a commit that references this issue on Sep 26, 2026
    d77371d
  3. zZebrahz commented on Sep 26, 2026

    @zZebrahz
    ContributorAuthor

    Still seeing this on 54dcc2f3

    Image

    Created with

    Image
  4. zZebrahz commented on Sep 26, 2026

    @zZebrahz
    ContributorAuthor

    66f6a52a Looks good!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions