Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions frontend/logging-view/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"@vitejs/plugin-react-swc": "^4.2.3",
"@workspace/core": "workspace:*",
"@workspace/ui": "workspace:*",
"echarts": "^6.1.0",
"jspdf": "^4.2.1",
"jspdf-autotable": "^5.0.8",
"lucide-react": "^0.563.0",
Expand Down
7 changes: 3 additions & 4 deletions frontend/logging-view/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Root component. Wraps all pages in the shared AppLayout (sidebar + header).
// The active view mode (Normal / Simple) is encoded in the URL so each mode
// can have a completely independent UI. Navigating to "/" redirects to
// "/simple" — Simple (Plot Studio) is the default mode for now because
// Normal mode isn't developed yet; switch this back to "/normal" once it is.
// can have a completely independent UI. Normal is the default analysis view;
// Simple remains the plot studio for publication and PDF export.
import { Navigate, Route, Routes } from "react-router";
import AppLayout from "./layout/AppLayout";
import NormalPage from "./pages/NormalPage";
Expand All @@ -12,7 +11,7 @@ const App = () => {
return (
<AppLayout>
<Routes>
<Route index element={<Navigate to="/simple" replace />} />
<Route index element={<Navigate to="/normal" replace />} />
<Route path="/normal" element={<NormalPage />} />
<Route path="/simple" element={<SimplePage />} />
</Routes>
Expand Down
Loading
Loading