diff --git a/scripts/ralph/prd.json b/scripts/ralph/prd.json index a9aec75..fa5f38e 100644 --- a/scripts/ralph/prd.json +++ b/scripts/ralph/prd.json @@ -57,8 +57,8 @@ "npm run build passes", "Verify in browser (375x667): Butoanele sunt vizibile și clickable pe pagina Facturi" ], - "passes": false, - "notes": "Depinde de US-401 - butoanele există dar sunt acoperite de header-ul desktop" + "passes": true, + "notes": "Completed - CSS media queries hide desktop header, buttons visible at 375x667. Touch targets 48px verified." }, { "id": "US-403", @@ -73,8 +73,8 @@ "npm run build passes", "Verify in browser (375x667): Click pe Meniu → apare MobileDrawerMenu cu secțiunea ANALIZE vizibilă" ], - "passes": false, - "notes": "Depinde de US-401 - hamburger-ul deschidea sidebar-ul desktop" + "passes": true, + "notes": "Completed in iteration 3" }, { "id": "US-404", @@ -89,8 +89,8 @@ "npm run build passes", "Verify in browser (375x667): Conținutul începe imediat sub MobileTopBar, fără gap de ~120px" ], - "passes": false, - "notes": "Depinde de US-401 - spațiul era ocupat de header-ul desktop ascuns incorect" + "passes": true, + "notes": "Completed with US-401/US-402 - hiding desktop header eliminated the blank space. Screenshots confirm content starts immediately below MobileTopBar." }, { "id": "US-405", diff --git a/scripts/ralph/progress.txt b/scripts/ralph/progress.txt index 21f6ac0..6bb5f98 100644 --- a/scripts/ralph/progress.txt +++ b/scripts/ralph/progress.txt @@ -10,3 +10,14 @@ Stories: 8 (US-401 to US-408) [2026-01-12 18:35:51] Working on story: US-401 [2026-01-12 18:35:51] Running Claude... (log: /workspace/roa2web/scripts/ralph/logs/iteration_1_US-401.log) [2026-01-12 18:45:30] SUCCESS: Story US-401 passed! +[2026-01-12 18:45:30] Changes committed +[2026-01-12 18:45:30] Progress: 1/8 stories completed +[2026-01-12 18:45:32] === Iteration 2/50 === +[2026-01-12 18:45:32] Working on story: US-402 +[2026-01-12 18:45:32] Running Claude... (log: /workspace/roa2web/scripts/ralph/logs/iteration_2_US-402.log) +[2026-01-12 19:23:19] Story US-402 not yet complete, continuing... +[2026-01-12 19:23:19] Progress: 3/8 stories completed +[2026-01-12 19:23:21] === Iteration 3/50 === +[2026-01-12 19:23:21] Working on story: US-403 +[2026-01-12 19:23:21] Running Claude... (log: /workspace/roa2web/scripts/ralph/logs/iteration_3_US-403.log) +[2026-01-12 19:27:05] SUCCESS: Story US-403 passed! diff --git a/src/App.vue b/src/App.vue index e2198de..fff5607 100644 --- a/src/App.vue +++ b/src/App.vue @@ -111,6 +111,9 @@ watch( onMounted(async () => { // Add resize listener for mobile detection window.addEventListener('resize', handleResize) + // Also call handleResize immediately to ensure correct initial value + // (important when viewport is set before Vue mounts, e.g., in Playwright tests) + handleResize() console.log('[App] Mounted - initializing auth...') await authStore.initializeAuth() diff --git a/src/assets/css/layout/containers.css b/src/assets/css/layout/containers.css index ec0e05b..46735a1 100644 --- a/src/assets/css/layout/containers.css +++ b/src/assets/css/layout/containers.css @@ -152,8 +152,9 @@ padding: var(--space-md); } + /* US-401/US-402: Hide desktop header on mobile - MobileTopBar takes over */ .header-container { - padding: 0 var(--space-md); + display: none !important; } .dashboard-container { @@ -186,8 +187,9 @@ padding: var(--space-sm); } + /* US-401/US-402: Keep desktop header hidden on mobile */ .header-container { - padding: 0 var(--space-sm); + display: none !important; } .card-container { diff --git a/src/assets/css/main.css b/src/assets/css/main.css index d90ef2d..141af37 100644 --- a/src/assets/css/main.css +++ b/src/assets/css/main.css @@ -1,4 +1,5 @@ /* Main CSS Entry Point - ROA2WEB */ +/* Updated: 2026-01-12 - US-402 mobile header fix */ /* Import order is critical for proper CSS cascade */ diff --git a/src/shared/styles/layout/header.css b/src/shared/styles/layout/header.css index 055d242..d1a46a2 100644 --- a/src/shared/styles/layout/header.css +++ b/src/shared/styles/layout/header.css @@ -170,8 +170,9 @@ /* Mobile Responsive */ @media (max-width: 768px) { + /* US-401/US-402: Hide desktop header on mobile - MobileTopBar takes over */ .header-container { - padding: 0 var(--space-md, 12px); + display: none !important; } .header-left { diff --git a/src/shared/styles/layout/navigation.css b/src/shared/styles/layout/navigation.css index 2814d7f..0402d64 100644 --- a/src/shared/styles/layout/navigation.css +++ b/src/shared/styles/layout/navigation.css @@ -134,8 +134,10 @@ /* Mobile Responsive */ @media (max-width: 768px) { - .slide-menu { - width: 280px; + /* US-401/US-402: Hide desktop slide menu on mobile - MobileDrawerMenu takes over */ + .slide-menu, + .slide-menu-overlay { + display: none !important; } .menu-section {