Add run dashboard and encounter tracking interface
Run list at /runs shows all runs with status badges. Run dashboard at /runs/:id displays stats, active team, graveyard, and rule badges. Encounter tracking at /runs/:runId/encounters shows route list with status indicators, progress bar, filters, and a modal for logging or editing encounters with pokemon picker. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
import { Routes, Route } from 'react-router-dom'
|
||||
import { Layout } from './components'
|
||||
import { Home, NewRun, Dashboard, Encounters } from './pages'
|
||||
import { Home, NewRun, RunList, RunDashboard, RunEncounters } from './pages'
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<Routes>
|
||||
<Route path="/" element={<Layout />}>
|
||||
<Route index element={<Home />} />
|
||||
<Route path="runs" element={<RunList />} />
|
||||
<Route path="runs/new" element={<NewRun />} />
|
||||
<Route path="dashboard" element={<Dashboard />} />
|
||||
<Route path="encounters" element={<Encounters />} />
|
||||
<Route path="runs/:runId" element={<RunDashboard />} />
|
||||
<Route path="runs/:runId/encounters" element={<RunEncounters />} />
|
||||
</Route>
|
||||
</Routes>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user