Skip to content

Commit 3f0dc3f

Browse files
feat(06-02): integrate MobileCarousel into Dashboard
- Replace MobileHeatmap with MobileCarousel for mobile view - Carousel provides swipeable navigation between heatmap and muscle list - Defaults to heatmap view (NAV-03) with dot indicators (NAV-02) - Maintains same profileId prop interface Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent b821b3d commit 3f0dc3f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ui/pages/Dashboard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { useCurrentProfile } from '../context/ProfileContext';
99
import { useUnmappedExercises } from '@db/hooks/useUnmappedExercises';
1010
import { useIsMobileDevice } from '@ui/hooks/useIsMobileDevice';
1111
import { MuscleHeatmap } from '../components/MuscleHeatmap';
12-
import { MobileHeatmap } from '@ui/components/mobile/MobileHeatmap';
12+
import { MobileCarousel } from '@ui/components/mobile/MobileCarousel';
1313
import { TotalVolumeCard } from '../components/TotalVolumeCard';
1414
import { WeeklyActivityChart } from '../components/WeeklyActivityChart';
1515

@@ -83,7 +83,7 @@ export function Dashboard(): React.ReactElement {
8383
{/* This Week Section */}
8484
<div className="rounded-lg bg-primary-700 p-6">
8585
{isMobile ? (
86-
<MobileHeatmap profileId={currentProfile.id} />
86+
<MobileCarousel profileId={currentProfile.id} />
8787
) : (
8888
<>
8989
<div className="mb-6">

0 commit comments

Comments
 (0)