Skip to content

feat(api): turn lists that stopped updating into smart lists - #992

Merged
vladjerca merged 1 commit into
masterfrom
feat/smart-list-convert
Oct 11, 2026
Merged

vladjerca merged 1 commit into
masterfrom
feat/smart-list-convert

Conversation

@vladjerca

@vladjerca vladjerca commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Follow-up to #991: turning a list that stopped updating into a smart list.

  • POST /users/:id/lists/:list_id/smart-list-draft/convert (owner only): takes the smart list create body, usually the draft's filters, source and media_type as the owner edited them. It creates the smart list and links it in one call.
    • 201 { ids }: converted.
    • 200 { ids }: already converted, with the existing smart list. Safe to retry after a dropped response.
    • 404 list_not_convertible, 420 at the smart list limit.
  • converted_to on the list response ({ ids: { trakt, slug } } | null): set once the list is converted. Visible to everyone when the smart list is public, and always to the owner. The web redirects the old list page to the smart list with it.
  • After converting, the list keeps its address: its items are served from the smart list, so apps reading it keep getting new titles.

Smart list create is unchanged.

Verified

  • deno check, deno lint, deno fmt, deno task test in projects/api.

@vladjerca vladjerca self-assigned this Oct 10, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-10T21:43:10.562496Z a999e8a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@vladjerca
vladjerca force-pushed the feat/smart-list-convert branch from a999e8a to 2c8a021 Compare October 10, 2026 22:05
@vladjerca vladjerca changed the title feat(api): add list to smart list conversion feat(api): turn lists that stopped updating into smart lists Oct 10, 2026
@vladjerca
vladjerca force-pushed the feat/smart-list-convert branch from 2c8a021 to 5a29e5c Compare October 11, 2026 06:56
@vladjerca vladjerca changed the title feat(api): turn lists that stopped updating into smart lists feat(api): link lists that stopped updating to a smart list Oct 11, 2026
@vladjerca
vladjerca force-pushed the feat/smart-list-convert branch from 5a29e5c to 1374322 Compare October 11, 2026 07:01
@vladjerca vladjerca changed the title feat(api): link lists that stopped updating to a smart list feat(api): turn lists that stopped updating into smart lists Oct 11, 2026
Adds converted_to to the list response and
POST /users/:id/lists/:list_id/smart-list-draft/convert, which turns a
list that stopped updating into a smart list in one call while the list
keeps its address. Converting an already converted list returns the
existing smart list, so retries are safe.
@vladjerca
vladjerca force-pushed the feat/smart-list-convert branch from 1374322 to 40d2e78 Compare October 11, 2026 07:10
@vladjerca
vladjerca merged commit ed5f860 into master Oct 11, 2026
5 checks passed
@vladjerca
vladjerca deleted the feat/smart-list-convert branch October 11, 2026 07:18
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