feat(mobile-fixes-phase3): Complete US-307 - Restructurare Footer Nav (4 butoane noi)

Implemented by Ralph autonomous loop.
Iteration: 1

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Claude Agent
2026-01-12 13:38:58 +00:00
parent b7f442ed33
commit a5740eaf78
16 changed files with 832 additions and 365 deletions

View File

@@ -558,11 +558,8 @@
</Transition>
<!-- US-103: Mobile Bottom Navigation (using shared component) -->
<MobileBottomNav
v-if="isMobile && !mobileSelectionMode"
:items="mobileBottomNavItems"
@item-click="handleBottomNavClick"
/>
<!-- US-307: Using default nav items (Dashboard, Bonuri, Facturi, Setări) -->
<MobileBottomNav v-if="isMobile && !mobileSelectionMode" />
<!-- Desktop: Compact Data Table with Batch Grouping (US-002) -->
<!-- US-104: Explicit !isMobile check (not v-else) to ensure bulk-actions-bar only shows on desktop -->
@@ -1119,20 +1116,8 @@ const handleTopBarAction = (action) => {
}
}
// US-103: Bottom nav items for MobileBottomNav component
const mobileBottomNavItems = computed(() => [
{ to: '/data-entry', icon: 'pi pi-receipt', label: 'Bonuri', active: true },
{ icon: 'pi pi-cloud-upload', label: 'Upload' }, // No 'to' - handled via item-click
{ to: '/reports/dashboard', icon: 'pi pi-chart-bar', label: 'Rapoarte' },
{ to: '/settings', icon: 'pi pi-cog', label: 'Setări' }
])
// US-103: Handle bottom nav clicks for items without routes
const handleBottomNavClick = (item) => {
if (item.label === 'Upload') {
openBulkFileInput()
}
}
// US-307: Removed custom mobileBottomNavItems - using MobileBottomNav defaults
// Upload functionality moved to FAB (US-303)
// US-103/US-113: Selection footer actions for MobileSelectionFooter component
// Bonuri batch actions: Delete + Export