Mitai analysis-split Sub-Nav und weniger Blend-UI bei Auspraegungen.
Test Suite / lint-backend (push) Waiting to run
Test Suite / compose-smoke (push) Waiting to run
Test Suite / k6 /api/health Baseline (push) Blocked by required conditions
Test Suite / playwright-smoke (push) Blocked by required conditions
Deploy Development / deploy (push) Successful in 46s
Test Suite / pytest-backend (push) Has been cancelled
Test Suite / lint-backend (push) Waiting to run
Test Suite / compose-smoke (push) Waiting to run
Test Suite / k6 /api/health Baseline (push) Blocked by required conditions
Test Suite / playwright-smoke (push) Blocked by required conditions
Deploy Development / deploy (push) Successful in 46s
Test Suite / pytest-backend (push) Has been cancelled
Modus-Subnav als linke Spalte (Plan/Kontrolle/Ausfuehren), Referenz-Auspraegungen aus Formularen entfernt, Hub-Karten auf Steuerung gestrichen. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
b0594df5f2
commit
5e2ae9de31
18 files changed
+293
-440
No files matched your search
@@ -3,7 +3,6 @@ import { scopedPath } from '../../utils/routes.js'
|
||||
import { useInitiativeOperations } from '../../context/InitiativeOperationsContext.jsx'
|
||||
import { SteeringSnapshotPanel } from '../../components/SteeringSnapshotPanel.jsx'
|
||||
import { NextActionWidget } from '../../widgets/NextActionWidget.jsx'
|
||||
import { InitiativeNavCards } from '../../components/InitiativeNavCards.jsx'
|
||||
|
||||
export function InitiativeOverviewPage() {
|
||||
const {
|
||||
@@ -16,9 +15,6 @@ export function InitiativeOverviewPage() {
|
||||
methodBusy,
|
||||
capabilities,
|
||||
handleMethodChange,
|
||||
backlogItems,
|
||||
roadmapItems,
|
||||
milestones,
|
||||
} = useInitiativeOperations()
|
||||
|
||||
const counts = steeringSnapshot?.counts || {}
|
||||
@@ -66,15 +62,6 @@ export function InitiativeOverviewPage() {
|
||||
</Link>
|
||||
</section>
|
||||
)}
|
||||
|
||||
<InitiativeNavCards
|
||||
initiativeId={initiativeId}
|
||||
counts={{
|
||||
backlog: backlogItems.length,
|
||||
roadmapItems: roadmapItems.length,
|
||||
actionsOpen: counts.actions_open,
|
||||
}}
|
||||
/>
|
||||
</>
|
||||
)
|
||||
}
|
||||
@@ -1,18 +1,29 @@
|
||||
import { Navigate, Outlet } from 'react-router-dom'
|
||||
import { ModeAreaShell } from '../../components/ModeAreaShell.jsx'
|
||||
import { ModeAreaNav } from '../../components/ModeAreaNav.jsx'
|
||||
import { ModeShell } from '../../components/ModeShell.jsx'
|
||||
import { ModeSubNav } from '../../components/ModeSubNav.jsx'
|
||||
|
||||
const CONTROL_NAV = [
|
||||
{ to: '/control/status', label: 'Steuerung', end: true },
|
||||
{ to: '/control/journey', label: 'Journey', end: true },
|
||||
]
|
||||
import {
|
||||
CONTROL_NAV_ITEMS,
|
||||
resolveControlNavActiveKey,
|
||||
} from '../../config/controlNav.js'
|
||||
|
||||
export function ControlLayout() {
|
||||
return (
|
||||
<div className="app-page">
|
||||
<ModeShell modeKey="control" />
|
||||
<ModeSubNav items={CONTROL_NAV} />
|
||||
<Outlet />
|
||||
<ModeAreaShell
|
||||
nav={
|
||||
<ModeAreaNav
|
||||
modeLabel="Kontrolle"
|
||||
items={CONTROL_NAV_ITEMS}
|
||||
resolveActiveKey={resolveControlNavActiveKey}
|
||||
showScope
|
||||
scopeMutedLabel="Vorhaben wählen"
|
||||
/>
|
||||
}
|
||||
>
|
||||
<Outlet />
|
||||
</ModeAreaShell>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1,17 +1,15 @@
|
||||
import { Outlet } from 'react-router-dom'
|
||||
import { ModeAreaShell } from '../../components/ModeAreaShell.jsx'
|
||||
import { ModeShell } from '../../components/ModeShell.jsx'
|
||||
import { PlanOutlineNav } from '../../components/PlanOutlineNav.jsx'
|
||||
|
||||
export function PlanLayout() {
|
||||
return (
|
||||
<div className="app-page plan-outline-shell">
|
||||
<div className="app-page">
|
||||
<ModeShell modeKey="plan" />
|
||||
<div className="plan-outline-shell__body">
|
||||
<PlanOutlineNav />
|
||||
<div className="plan-outline-shell__content">
|
||||
<Outlet />
|
||||
</div>
|
||||
</div>
|
||||
<ModeAreaShell nav={<PlanOutlineNav />}>
|
||||
<Outlet />
|
||||
</ModeAreaShell>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -7,7 +7,6 @@ import { LoadingState } from '../../components/LoadingState.jsx'
|
||||
import { Modal } from '../../components/Modal.jsx'
|
||||
import { InitiativeForm } from '../../components/InitiativeForm.jsx'
|
||||
import { InitiativeSteeringMeta } from '../../components/InitiativeSteeringMeta.jsx'
|
||||
import { MethodProfileSelect } from '../../components/MethodProfileSelect.jsx'
|
||||
import { PriorityBadge } from '../../components/PriorityBadge.jsx'
|
||||
import { useInitiativeOperations } from '../../context/InitiativeOperationsContext.jsx'
|
||||
import { useProgramScope } from '../../context/ProgramScopeContext.jsx'
|
||||
@@ -88,8 +87,6 @@ function PlanProfileInner() {
|
||||
formBusy,
|
||||
steeringSnapshot,
|
||||
steeringMethods,
|
||||
methodBusy,
|
||||
handleMethodProfileChange,
|
||||
actors,
|
||||
projects,
|
||||
} = ops
|
||||
@@ -143,16 +140,6 @@ function PlanProfileInner() {
|
||||
steeringSnapshot={steeringSnapshot}
|
||||
steeringMethods={steeringMethods}
|
||||
/>
|
||||
{canManage && (
|
||||
<div className="plan-profile__steering-edit">
|
||||
<MethodProfileSelect
|
||||
archetypeKey={initiative.archetype_key}
|
||||
value={steeringSnapshot?.method_profile_key || ''}
|
||||
disabled={methodBusy}
|
||||
onChange={handleMethodProfileChange}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
<div className="plan-profile__field">
|
||||
<h3 className="plan-profile__label">Verantwortlich (Owner)</h3>
|
||||
<p>{ownerName}</p>
|
||||
|
||||
@@ -1,18 +1,24 @@
|
||||
import { Navigate, Outlet } from 'react-router-dom'
|
||||
import { ModeAreaShell } from '../../components/ModeAreaShell.jsx'
|
||||
import { ModeAreaNav } from '../../components/ModeAreaNav.jsx'
|
||||
import { ModeShell } from '../../components/ModeShell.jsx'
|
||||
import { ModeSubNav } from '../../components/ModeSubNav.jsx'
|
||||
|
||||
const WORK_NAV = [
|
||||
{ to: '/work/today', label: 'Heute', end: true },
|
||||
{ to: '/work/mine', label: 'Meine Queue', end: true },
|
||||
]
|
||||
import { WORK_NAV_ITEMS, resolveWorkNavActiveKey } from '../../config/workNav.js'
|
||||
|
||||
export function WorkLayout() {
|
||||
return (
|
||||
<div className="app-page">
|
||||
<ModeShell modeKey="work" />
|
||||
<ModeSubNav items={WORK_NAV} />
|
||||
<Outlet />
|
||||
<ModeAreaShell
|
||||
nav={
|
||||
<ModeAreaNav
|
||||
modeLabel="Ausführen"
|
||||
items={WORK_NAV_ITEMS}
|
||||
resolveActiveKey={resolveWorkNavActiveKey}
|
||||
/>
|
||||
}
|
||||
>
|
||||
<Outlet />
|
||||
</ModeAreaShell>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user