From 8b212f3030ec30ed68410e609ed55fd7f0b06ea0 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 20 Jan 2026 01:16:15 +0000 Subject: feat(deck): separate card list from deck detail page Separate the card list view from the deck learning page to prevent users from seeing cards they are about to study. The deck detail page now shows only study statistics with a "Study Now" button and a "View Cards" link. - Add new DeckCardsPage component at /decks/:deckId/cards for managing cards - Simplify DeckDetailPage to show deck stats and navigation buttons - Update routing in App.tsx with proper route ordering - Add comprehensive tests for both pages --- src/client/App.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/client/App.tsx') diff --git a/src/client/App.tsx b/src/client/App.tsx index e1b794c..69af60f 100644 --- a/src/client/App.tsx +++ b/src/client/App.tsx @@ -1,6 +1,7 @@ import { Route, Switch } from "wouter"; import { OfflineBanner, ProtectedRoute } from "./components"; import { + DeckCardsPage, DeckDetailPage, HomePage, LoginPage, @@ -19,9 +20,9 @@ export function App() { - + - + @@ -29,6 +30,11 @@ export function App() { + + + + + -- cgit v1.3-1-g0d28