-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
P1High: significant impact, fix this sprintHigh: significant impact, fix this sprintepicMaster issue tracking multiple sub-issuesMaster issue tracking multiple sub-issuesfrontendFrontend / Next.js / ReactFrontend / Next.js / React
Description
Epic: Mobile Dashboard Visual Polish & Bug Fixes
Problem Statement
Mobile screenshots of the live dashboard reveal 2 confirmed bugs and 2 polish opportunities that degrade the mobile experience. These are visual regressions and omissions from the initial dashboard implementation — all discoverable from careful screenshot analysis.
Child Issues
| # | Issue | Priority | Status | Summary |
|---|---|---|---|---|
| 1 | #973 | P0 bug | Open | Double-arrow "View history → →" + standardize arrow pattern across 4 dashboard links |
| 2 | #974 | P1 bug | Open | Categories first item ("Baby Food") clipped behind scroll-fade-x mask |
| 3 | #975 | P2 polish | Open | Distribution bar segment rounding + add src/components/dashboard/ to screenshot page-map |
Implementation Order
Issues are ordered by priority. Each issue is implemented, screenshot-verified, tested, PR'd, CI-green (all checks), and merged before the next begins.
Audit Findings (from mobile screenshots)
Confirmed Bugs
-
Double arrow "View history → →" (RecentlyViewed.tsx line 62-66)
- i18n value
"View history →"includes text arrow - JSX also renders
<ArrowRight>icon → produces double arrow - Same pattern inconsistency across 4 dashboard links (viewHistory, viewAll, tipLearnMore, quickWinViewSwap) — each uses a different arrow convention
- i18n value
-
Categories first item clipped (CategoriesBrowse.tsx)
scroll-fade-xCSS mask fades first 1.5rem to transparent<ul>has no left padding → first chip starts inside the fade zone- "Baby Food" appears as "y Food" on mobile
Polish Issues
-
Distribution bar hard color transitions (HealthSummary.tsx)
- Container has
rounded-fullbut child segments have no border-radius - First and last segments show hard corners at the bar edges
- Container has
-
Page-map gap (page-map.ts line 73)
- Dashboard entry patterns don't include
src/components/dashboard/ - Component changes don't trigger PR screenshots
- Dashboard entry patterns don't include
NOT a Bug (Verified)
ScoreGauge score={100 - avgTryVit}— double-inversion correctly passes unhealthiness value (avgTryVit is already inverted from avgUnhealthiness; 100 - avgTryVit = avgUnhealthiness, which is what ScoreGauge expects per JSDoc)
Scope
- Components affected: RecentlyViewed, CategoriesBrowse, HealthSummary, NutritionTip
- Files changed (estimated): ~12 (4 components + 3 i18n + 3 tests + 1 page-map + 1 globals.css review)
- Tests added/updated: ~8-12 new assertions
- Screenshot verification: After each PR via RUN_PR_SCREENSHOTS.ps1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P1High: significant impact, fix this sprintHigh: significant impact, fix this sprintepicMaster issue tracking multiple sub-issuesMaster issue tracking multiple sub-issuesfrontendFrontend / Next.js / ReactFrontend / Next.js / React