fix(scrapers/ui): дедуп queryKey cian test-auth + a11y (Phase-1 polish) #1824
No reviewers
Labels
No labels
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
Fable 5 ревью
feedback/max
generative
GG-форсайт
needs-discussion
needs-human
observability
pause-bots
performance
priority/p0
priority/p1
priority/p2
priority/p3
scope/backend
scope/db
scope/devops
scope/frontend
scope/qa
scrapers
security
site-finder
stage/1
stage/2
status/blocked
status/done
status/needs-analysis
status/needs-fix
status/qa
status/ready
status/review
status/wip
tech-debt
tradein
ux
week ревью 1
wontfix
вторичка
ИРД
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#1824
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/scrapers-phase1-frontend"
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?
Phase-1 polish единой scrapers-страницы (frontend-часть).
Изменения
CianCookiesSection.testAuthQueryшарил queryKey["cian-test-auth"]с авто-поллингом баннераuseTestAuth()(refetchInterval 60s) → кросс-контаминация cache между авто-статусом и ручной кнопкой «Test Current Session». Ручному query дан отдельный ключ["cian-test-auth", "manual"].scope="col"— на<th>в трёх таблицах:RunsTable,RunsLogSection(ScraperPage), proxy-таблица (ProxyHealthCard).<a href>на отдельные страницы), не in-page switching → применёнaria-current="page"на активный link (tablist/tabpanel семантически неверны для route-нав).role="img"+aria-label(статус не только цветом).Файлы
tradein-mvp/frontend/src/app/scrapers/cian/page.tsxtradein-mvp/frontend/src/components/scrapers/RunsTable.tsxtradein-mvp/frontend/src/app/scrapers/_components/ScraperPage.tsxtradein-mvp/frontend/src/components/scrapers/ProxyHealthCard.tsxtradein-mvp/frontend/src/components/trade-in/Topbar.tsxПроверка
Pre-commit (prettier/ruff/detect-private-key) — pass. tsc в worktree без node_modules не гоняется (baseline-ошибки только в untouched-файлах); в основном repo src/ чист.
Не блокеры, чисто polish. Деплой — фронт-билд (без recreate backend).