AP1.9a: Arbeitsmodi-Shell mit Scope, Objekt-Routen und Legacy-Redirects.
Deploy Development / deploy (push) Successful in 47s
Test Suite / pytest-backend (push) Failing after 1m46s
Test Suite / k6 /api/health Baseline (push) Has been skipped
Test Suite / playwright-smoke (push) Has been skipped
Test Suite / lint-backend (push) Successful in 2s
Test Suite / compose-smoke (push) Has been skipped

Ersetzt die Vorhaben-Tab-Navigation durch Cockpit/Ausführen/Planen/Kontrolle/Team, Deep Links für APs/Projekte/Gates und Programm-Scope im Header.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-07-08 12:55:37 +02:00
1 parent 33831a8c2c
commit e42edd86fa
54 files changed
+2489 -150

No files matched your search

+11
View File
@@ -5,6 +5,9 @@ import { LoadingState } from '../components/LoadingState.jsx'
import { DesktopSidebar } from '../components/DesktopSidebar.jsx'
import { BottomNav } from '../components/BottomNav.jsx'
import { ContextIndicator } from '../components/ContextIndicator.jsx'
import { ProgramScopeBar } from '../components/ProgramScopeBar.jsx'
import { QuickJump } from '../components/QuickJump.jsx'
import { RecentlyOpened } from '../components/RecentlyOpened.jsx'
export function AppLayout() {
const { me, signOut, loading } = useSession()
@@ -36,9 +39,17 @@ export function AppLayout() {
<span className="app-brand__name">Kairo</span>
<span className="app-brand__family">Jinkendo Program Director</span>
</div>
<QuickJump />
</div>
<ContextIndicator variant="mobile" />
<ProgramScopeBar />
<RecentlyOpened />
</header>
<div className="app-chrome app-chrome--desktop">
<ProgramScopeBar />
<QuickJump />
<RecentlyOpened />
</div>
<main className="app-main">
<Outlet />
</main>
@@ -0,0 +1,13 @@
import { InitiativeOperationsProvider } from '../context/InitiativeOperationsContext.jsx'
import { useProgramScope } from '../context/ProgramScopeContext.jsx'
export function ScopedInitiativeProvider({ initiativeId: initiativeIdProp, children }) {
const { initiativeId: scopeInitiativeId } = useProgramScope()
const initiativeId = initiativeIdProp || scopeInitiativeId
return (
<InitiativeOperationsProvider initiativeId={initiativeId}>
{children}
</InitiativeOperationsProvider>
)
}