Peach: Local-first video metadata scraper and media manager.
chore(web): 补齐推荐拆分后的门槛:去掉没用到的署名变量,复杂度记录跟着函数改名
longmeidao69d5054e3a7b
diff --git a/frontend/src/react/search/recommendations.ts b/frontend/src/react/search/recommendations.tsindex 79a602ef6..27a2cdac3 100644--- a/frontend/src/react/search/recommendations.ts+++ b/frontend/src/react/search/recommendations.ts@@ -59,7 +59,7 @@ export async function searchRecommendations(request: Request,who, whoAvatarHtml, card, href,});const library = (card: SuggestCard) => {- const { kind, name, coStarred, performers, refs, total } = cardIdentity(card as IdentityItem);+ const { kind, name, coStarred, refs, total } = cardIdentity(card as IdentityItem);if (!kind) return work(card, undefined, '');const ref = kind === 'performer' ? refs[0] : (card as IdentityItem).creator_entity;const shown = entityDisplayName(kind, name, ref?.id);diff --git a/tests/test_complexity_ratchet.py b/tests/test_complexity_ratchet.pyindex 5ef1c8578..817299dd6 100644--- a/tests/test_complexity_ratchet.py+++ b/tests/test_complexity_ratchet.py@@ -47,7 +47,7 @@ BASELINE: dict[str, int] = {"scripts/harvest_social_avatars.py:run": 45,"scripts/fetch_studio_avatar_candidates.py:main": 44,"src/peach/web_catalog.py:q_item": 44,- "src/peach/web_follow.py:q_follow_authors": 40,+ "src/peach/web_follow.py:_follow_author_rows": 35,"src/peach/taste_history.py:_taste_analysis": 40,"src/peach/web_catalog.py:catalog_filter": 40,"scripts/audit_domain_codes.py:collect": 39,