feat: DashboardScreen composition and cleanup (#196) #200

Closed
opened 2026-02-15 16:31:11 +00:00 by egullickson · 0 comments
Owner

Relates to #196

Summary

Rewire DashboardScreen to use the new VehicleRosterCard grid and ActionBar. Remove old SummaryCards, QuickActions, and RecentActivity components. Update heading from "Dashboard" to "Your Fleet". Update barrel exports.

Files Modified

  • frontend/src/features/dashboard/components/DashboardScreen.tsx -- new layout composition
  • frontend/src/features/dashboard/index.ts -- update barrel exports

Files Removed

  • frontend/src/features/dashboard/components/SummaryCards.tsx
  • frontend/src/features/dashboard/components/QuickActions.tsx
  • frontend/src/features/dashboard/components/RecentActivity.tsx

Acceptance Criteria

  • DashboardScreen renders: heading ("Your Fleet") + ActionBar + vehicle roster grid
  • Vehicle roster grid: 2 columns on desktop (>= 640px), 1 column on mobile (< 640px)
  • Empty state (0 vehicles) still renders correctly (existing behavior preserved)
  • Loading skeletons updated for new card-based layout
  • Old SummaryCards, QuickActions, RecentActivity components deleted
  • PendingAssociationBanner still renders at top when applicable
  • Barrel exports updated -- old component exports removed, new ones added
  • Remove redundant "Welcome back, email" from header area
  • No dead imports or unused code remaining
Relates to #196 ## Summary Rewire DashboardScreen to use the new VehicleRosterCard grid and ActionBar. Remove old SummaryCards, QuickActions, and RecentActivity components. Update heading from "Dashboard" to "Your Fleet". Update barrel exports. ## Files Modified - `frontend/src/features/dashboard/components/DashboardScreen.tsx` -- new layout composition - `frontend/src/features/dashboard/index.ts` -- update barrel exports ## Files Removed - `frontend/src/features/dashboard/components/SummaryCards.tsx` - `frontend/src/features/dashboard/components/QuickActions.tsx` - `frontend/src/features/dashboard/components/RecentActivity.tsx` ## Acceptance Criteria - [ ] DashboardScreen renders: heading ("Your Fleet") + ActionBar + vehicle roster grid - [ ] Vehicle roster grid: 2 columns on desktop (>= 640px), 1 column on mobile (< 640px) - [ ] Empty state (0 vehicles) still renders correctly (existing behavior preserved) - [ ] Loading skeletons updated for new card-based layout - [ ] Old SummaryCards, QuickActions, RecentActivity components deleted - [ ] PendingAssociationBanner still renders at top when applicable - [ ] Barrel exports updated -- old component exports removed, new ones added - [ ] Remove redundant "Welcome back, email" from header area - [ ] No dead imports or unused code remaining
egullickson added the
status
backlog
type
feature
labels 2026-02-15 16:31:46 +00:00
egullickson added this to the Sprint 2026-02-02 milestone 2026-02-15 16:31:51 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: egullickson/motovaultpro#200