Kairo-Jinkendo/frontend/src/pages/initiative/InitiativeInboxPage.jsx
Lars a99d4a8974
Some checks failed
Deploy Development / deploy (push) Successful in 45s
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
AP1.12c: Reorder für Projekte und Backlog per sort_order.
Migration 015 für Backlog sort_order; DnD auf Desktop, Pfeile auf Mobile; PATCH-Batches für Geschwister.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-09 11:35:08 +02:00

39 lines
979 B
JavaScript

import { useInitiativeOperations } from '../../context/InitiativeOperationsContext.jsx'
import { BacklogSection } from '../../components/BacklogSection.jsx'
export function InitiativeInboxPage() {
const {
backlogItems,
roadmapItems,
capabilities,
formBusy,
error,
handleCreateBacklog,
handleBacklogGate,
handleBacklogStatus,
handleConvertBacklog,
handleDeleteBacklog,
} = useInitiativeOperations()
if (!capabilities.has('kairo.initiative.read')) {
return null
}
return (
<>
{error && <p className="error">{error}</p>}
<BacklogSection
items={backlogItems}
roadmapItems={roadmapItems}
canManage={capabilities.has('kairo.backlog.manage')}
onCreate={handleCreateBacklog}
onUpdate={handleUpdateBacklog}
onReorder={handleReorderBacklog}
onConvert={handleConvertBacklog}
onDelete={handleDeleteBacklog}
busy={formBusy}
/>
</>
)
}