diff --git a/client/src/pages/DashboardPage.tsx b/client/src/pages/DashboardPage.tsx index 86fff2e2..1b935861 100644 --- a/client/src/pages/DashboardPage.tsx +++ b/client/src/pages/DashboardPage.tsx @@ -203,10 +203,10 @@ function SpotlightCard({ trip, onEdit, onCopy, onDelete, onArchive, onClick, t, ) : }
e.stopPropagation()}> - {onEdit && } - {onCopy && } - {onArchive && } - {onDelete && } + {onEdit && } + {onCopy && } + {onArchive && } + {onDelete && }
@@ -303,10 +303,10 @@ function MobileTripCard({ trip, onEdit, onCopy, onDelete, onArchive, onClick, t, {/* Action buttons top-right */}
- {onEdit && } - {onCopy && } - {onArchive && } - {onDelete && } + {onEdit && } + {onCopy && } + {onArchive && } + {onDelete && }
{/* Countdown badge */} @@ -393,10 +393,10 @@ function TripCard({ trip, onEdit, onCopy, onDelete, onArchive, onClick, t, local {/* Action buttons top-right — visible on hover */}
- {onEdit && } - {onCopy && } - {onArchive && } - {onDelete && } + {onEdit && } + {onCopy && } + {onArchive && } + {onDelete && }
{/* Status badge top-left */} diff --git a/client/src/pages/TripPlannerPage.test.tsx b/client/src/pages/TripPlannerPage.test.tsx index 54a7d99d..78096249 100644 --- a/client/src/pages/TripPlannerPage.test.tsx +++ b/client/src/pages/TripPlannerPage.test.tsx @@ -592,32 +592,7 @@ describe('TripPlannerPage', () => { }); }); - describe('FE-PAGE-PLANNER-018: Memories tab renders MemoriesPanel', () => { - it('shows MemoriesPanel after clicking the Photos tab with a photo_provider addon enabled', async () => { - server.use( - http.get('/api/addons', () => - HttpResponse.json({ addons: [{ id: 'google_photos', type: 'photo_provider' }] }) - ) - ); - - vi.useFakeTimers(); - - seedTripStore({ id: 42 }); - - renderPlannerPage(42); - - act(() => { vi.runAllTimers(); }); - - vi.useRealTimers(); - - const photosTab = await screen.findByTitle('Photos'); - fireEvent.click(photosTab); - - await waitFor(() => { - expect(screen.getByTestId('memories-panel')).toBeInTheDocument(); - }); - }); - }); + // FE-PAGE-PLANNER-018: Removed — MemoriesPanel moved to Journey addon describe('FE-PAGE-PLANNER-019: Todo subtab in ListsContainer', () => { it('shows TodoListPanel after switching to the Todo subtab inside Lists', async () => {