feat(manager): remove the KDS page; app cards lead to pairing a screen (platform-v2 3.2d)
- Deleted pages/KdsPage.jsx, its /kds route, nav entry and text: the kitchen display runs only on paired screens (D-25). - Apps: cards of apps that run on a screen get "Set up a screen" (core.devices.manage) → /devices?pair=<app>, which opens the pair dialog on that app. - manager.mjs: no "Open" on the KDS card, "Set up a screen" lands on the pair dialog, /kds is gone; the module-off rule stays covered by the Notes checks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -12,9 +12,6 @@ import client from './api/client'
|
||||
import LoginPage from './pages/LoginPage'
|
||||
import SetupWizard from './pages/SetupWizard'
|
||||
|
||||
// Standalone (no shell)
|
||||
import KdsPage from './pages/KdsPage'
|
||||
|
||||
// Operation
|
||||
import DashboardPage from './pages/DashboardPage'
|
||||
import TablesPage from './pages/TablesPage'
|
||||
@@ -140,7 +137,6 @@ export default function App() {
|
||||
<Route element={<ManagerRoot />}>
|
||||
<Route path="/setup" element={<SetupWizard />} />
|
||||
<Route path="/login" element={<SetupGuard><LoginPage /></SetupGuard>} />
|
||||
<Route path="/kds" element={<RequireAuth><RouteGuard><KdsPage /></RouteGuard></RequireAuth>} />
|
||||
|
||||
<Route path="/" element={<RequireAuth><LiveProvider><AppLayout /></LiveProvider></RequireAuth>}>
|
||||
<Route index element={<Navigate to="/dashboard" replace />} />
|
||||
|
||||
Reference in New Issue
Block a user