Repository navigation
Description
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
- From the home section gallery, add TMDB Trending This Week.
- 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 inwindow(internal/sections/recipes/trending_discover.go:tdisc_tmdb_dayis first, thentdisc_tmdb_week). recipeLabelinweb/src/components/sections/EditableSectionRows.tsxlabels any section with the first preset'sdisplay_namefor its type. It doesn't match the section's config to a preset.SectionEditorDrawer.tsxlabels each type in the type menu withpresets[0]. When the editor has no parameters, it also seeds them frompresets[0].default_params. So a trending section created or reset in the editor may silently getwindow: 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
fix(web): label home sections by the preset their config matches (Sil…
zZebrahz commentedon Sep 26, 2026
Still seeing this on
54dcc2f3Created with
zZebrahz commentedon Sep 26, 2026
66f6a52aLooks good!