Skip to content

feat(series): list links to every metadata source - #1487

Merged
hidden4003 merged 4 commits into
stagingfrom
split/10-series-source-links
Oct 10, 2026
Merged

hidden4003 merged 4 commits into
stagingfrom
split/10-series-source-links

Conversation

@revam

@revam revam commented Oct 3, 2026 •

Copy link
Copy Markdown
Member

Why

The series overview listed only AniDB and TMDB among its metadata sites, though a series can now be linked to any source (IDs.Linked).

What changed

  • The metadata sites list every linked source after AniDB and TMDB, with GET /api/v3/Series/{id}/Metadata/{source}/CrossReferences telling series from movies.
  • Each enabled source gets a row to link it.
  • Other sources' entries open on the linking page; TMDB keeps its external link (Part 11 uses each source's site).
  • SeriesMetadata becomes SeriesMetadataLink, taking a source and its sourceName; sources are compared ignoring case through isSameKey.

Where to look first

  • src/components/Collection/SeriesSourceLinks.tsx: the new list.
  • src/components/Collection/SeriesMetadataLink.tsx: one source's rows.

Feedback wanted

Layout of the list with several sources.

Stack

Part 10 of 12 in the split of #1477. Below: Part 9, linking any metadata source. Above: Part 11, site links, source icons and the source picker.

Testing

pnpm tscheck, pnpm lint, pnpm test and pnpm build pass at this branch's tip. Manual, on 6.0.0-dev.495: a series linked to TMDB and one other source shows both.

@revam
revam added this pull request to stack #1490 October 3, 2026 17:38
@harshithmohan
harshithmohan force-pushed the split/10-series-source-links branch from aea73af to 417f52b Compare October 3, 2026 17:43
@revam
revam force-pushed the split/10-series-source-links branch from 417f52b to 8260877 Compare October 3, 2026 18:48
@revam
revam force-pushed the split/10-series-source-links branch from 8260877 to f226b2c Compare October 3, 2026 19:04
@harshithmohan
harshithmohan force-pushed the split/10-series-source-links branch 3 times, most recently from 8640ac1 to b7fe140 Compare October 4, 2026 08:00
@harshithmohan
harshithmohan force-pushed the split/10-series-source-links branch from b7fe140 to 21a0c5d Compare October 5, 2026 17:38
@harshithmohan
harshithmohan removed this pull request from stack #1490 October 5, 2026 17:42
@harshithmohan
harshithmohan added this pull request to stack #1492 October 5, 2026 17:42
@harshithmohan
harshithmohan force-pushed the split/10-series-source-links branch from 21a0c5d to 5824a59 Compare October 6, 2026 13:51
@harshithmohan
harshithmohan removed this pull request from stack #1492 October 6, 2026 13:53
@harshithmohan
harshithmohan added this pull request to stack #1494 October 6, 2026 13:53
@harshithmohan
harshithmohan removed this pull request from stack #1494 October 6, 2026 13:54
@harshithmohan
harshithmohan added this pull request to stack #1495 October 6, 2026 13:55
@harshithmohan
harshithmohan removed this pull request from stack #1495 October 6, 2026 16:37
@harshithmohan
harshithmohan added this pull request to stack #1496 October 6, 2026 16:37
@hidden4003
hidden4003 force-pushed the split/10-series-source-links branch from 5824a59 to 414a5df Compare October 10, 2026 08:44
Base automatically changed from split/09-metadata-linking to staging October 10, 2026 14:14
- Listed the series' links to every source after AniDB and TMDB, from `IDs.Linked`, with `Series/{id}/Metadata/{source}/CrossReferences` telling series from movies
- Added a row to link each source `GET Metadata/Source` reports enabled
- Opened other sources' entries on the linking page, as the server sends no site URL for them; TMDB keeps its external link
- Renamed `SeriesMetadata` to `SeriesMetadataLink`, which takes a `source` and its `sourceName`
@hidden4003
hidden4003 force-pushed the split/10-series-source-links branch from 414a5df to 0d4ef2d Compare October 10, 2026 14:14
The cross-references query is disabled once a source has no linked IDs, and invalidating skips disabled queries, so the removed row kept rendering from the cache.
The linking page falls back to TMDB for a source the server does not list, so a link to such a source opened the wrong page. Show those links without the linking page link or the actions.
Before the sources load, a linked source cannot be told from an unlisted one, so every one showed read-only and then switched.
@hidden4003
hidden4003 merged commit 241fe7e into staging Oct 10, 2026
1 check passed
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.

2 participants