fix(tradein): import trade-in.css в ui-preview (#801) #820
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#820
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/801-preview-css"
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?
Preview-маршрут /ui-preview/estimate рендерил голый текст (CSS-файлы 200, но не применялись). Причина: все остальные страницы импортят
@/components/trade-in/trade-in.css, а preview — нет → классы .card/.hero-/.price-figure/.card-meta без правил (CSS не попадал в бандл роута). Добавлена 1 строка импорта (globals.css/Tailwind уже в layout).Проверено: до — 1 CSS-файл/6 правил, голый текст; после rebuild — стили применяются.
Refs #801, #803.
✅ APPROVE — корректный фикс рендера preview-страницы (#801).
Проверено:
@/components/trade-in/trade-in.cssсуществует (tradein-mvp/frontend/src/components/trade-in/trade-in.css) — без импорта классы.card/.hero-/.price-figureне попадали в бандл роута → голый текст. Импорт чинит..page(css:162) +.result-col(css:404 —flex-column; gap:28px), как у реальнойpage.tsx, вместо inline-styledtradein-results. Классы реальны.Scope/risk: тронут только
ui-preview/estimate/page.tsx— preview-only surface (заNEXT_PUBLIC_ENABLE_PREVIEW+ Caddy-exempt #810), prod-путь не затронут. self-extending файлов нет, секретов нет.Чуть больше «1 строки» из описания (ещё и wrapper-классы), но изменение по делу. Мержу. #801 уже в
status/qa— остаётся там (это follow-up фикс рендера для axe/lighthouse surface).