mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7495] [MERGED] feat(card-browser): browse and import PlotLight characters and personas #7759
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#7759
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7495
Author: @SpicyMarinara
Created: 10/12/2026
Status: ✅ Merged
Merged: 10/12/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/plotlight-card-browser📝 Commits (3)
99f6ed9feat(card-browser): browse and import PlotLight characters and personas5fb377ffix(card-browser): keep the download message out of PlotLight search errors2e72bc8fix(card-browser): mark adult PlotLight results and resolve typed tags from its catalog📊 Changes
5 files changed (+909 additions, -56 deletions)
View changed files
📝
docs/characters/bot-browser.md(+34 -11)📝
packages/client/src/components/bot-browser/BotBrowserView.tsx(+204 -45)➕
packages/client/src/lib/plotlight-content.ts(+341 -0)📝
packages/client/src/localization/locales/en.json(+9 -0)➕
scripts/regressions/bot-browser-plotlight.regression.ts(+321 -0)📄 Description
Linked issue
Closes #7480
Why this change
What changed
Nothing that worked before stops working.
species_elf. Excluding a name that two PlotLight tags share (like "Superhero") removes both. Including one uses the first, because PlotLight has no "any of" filter.Retry-Afterpasses. It also waits for the reset whenX-RateLimit-Remainingreaches 0.https, and detail and download links must stay on plotlightstudios.com. Download formats come only from a fixed list.docs/characters/bot-browser.md. Translation follow-up: #7493, now updated to match.Validation
pnpm checkpasses locallyCONTRIBUTING.mdCommands run by the agent (results as of
2e72bc874):pnpm check: passed. The only lint output is the existingserverRunhook warning, which this PR doesn't touch.node ./scripts/run-regressions.mjs --filter bot-browser-plotlight: passed. The regression runs a fake PlotLight server with a paged tag catalog. It covers item mapping, hostile links and images, paging through short and empty pages, and an empty page that still reports more. It also covers catalog slugs for listed, typed and shared tag names, and the adult (After Dark) marking. Then: the stale-search cursor, the catalog loading once, separate search and export limits, the png3-to-JSON download fallback, attribution fill-in, refused exports, and Retry-After blocking.'500'vs'48'). With downloads sharing the search limit, it fails on the blocked download. Against the previous module, it fails on the typedelftag.node ./scripts/run-regressions.mjs --filter bot-browser: 3/3 passed (PlotLight, Pygmalion login, Chub route).--filter persona-client-contractand--filter janny-character-import: passed. Both readBotBrowserView.tsx.elfsentspecies_elf(4 results), and excludingelfas well brought that to 0. Excludingsuperherosent both slugs.png3,json3) work. Every persona download I tried returned 404 from PlotLight, so persona import shows "PlotLight doesn't offer this for download." until PlotLight serves those files. Marinara doesn't fall back to the listing text, because that would bypass the creator's download setting.2e72bc874: one finding. It asked for a docs-i18n follow-up, and one already exists: #7493, linked above and now updated to the new wording. Nothing else was flagged. The first two attempts hit the shared rate limit. An earlier local run gave two findings. Fixed: a 401/403/404 from search showed the download message, and now shows the generic PlotLight error. The same docs-i18n point was answered by #7493.2e72bc874: adult-tagged cards had no NSFW badge, typed tags weren't resolved to slugs, the pager disappeared on an empty page, persona detail pages closed straight away, search and download shared one rate limit, a name shared by two slugs, and the stale-search cursor.Manual verification notes
elfin the tag box before any elf card has shown up, and include it. Only elf cards appear. Then blockelfinstead, and no elf cards remain.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)Docs:
docs/characters/bot-browser.mdis updated, and #7493 tracks the translations. No CHANGELOG edit, per the release-notes policy.UI evidence (if applicable)
No screenshots taken. See the manual verification steps.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.