import { useInitiativeOperations } from '../../context/InitiativeOperationsContext.jsx'
import { BacklogSection } from '../../components/BacklogSection.jsx'
import { LoadingState } from '../../components/LoadingState.jsx'
export function InitiativeInboxPage() {
const {
initiative,
initiativeId,
backlogItems,
roadmapItems,
featureParentActions,
workCycles,
activeWorkCycle,
capabilities,
formBusy,
error,
loading,
handleCreateBacklog,
handleUpdateBacklog,
handleReorderBacklog,
handleConvertBacklog,
handleBulkConvertBacklog,
handleDeleteBacklog,
} = useInitiativeOperations()
if (!capabilities.has('kairo.initiative.read')) {
return null
}
if (loading && initiative === null) {
return
{error}
}