From d513f93c84ae985738e0f696fcb72fa1153046ef Mon Sep 17 00:00:00 2001 From: soryu Date: Tue, 28 Apr 2026 17:35:08 +0100 Subject: feat: document UI with contract blocks, expandable logs, and interaction controls (#97) * feat: soryu-co/soryu - makima: Rename tasks to contracts in directive API and types * feat: soryu-co/soryu - makima: Add contract interaction panel with comment and interrupt * feat: soryu-co/soryu - makima: Build expandable contract log feed in StepsDiagram * feat: soryu-co/soryu - makima: Rename tasks to contracts throughout document UI and add contract block support * feat: soryu-co/soryu - makima: Add comment and interrupt controls to expanded step log feed * feat: soryu-co/soryu - makima: Audit and fix Document UI feature flag visibility and missing implementations * feat: soryu-co/soryu - makima: Add expandable step rows with live log feed in StepsDiagram * WIP: heartbeat checkpoint * feat: soryu-co/soryu - makima: Integrate all document UI components and final polish --- frontend/src/components/document/DocumentLayout.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'frontend/src/components/document/DocumentLayout.tsx') diff --git a/frontend/src/components/document/DocumentLayout.tsx b/frontend/src/components/document/DocumentLayout.tsx index a555ad0..05f4190 100644 --- a/frontend/src/components/document/DocumentLayout.tsx +++ b/frontend/src/components/document/DocumentLayout.tsx @@ -1,4 +1,4 @@ -import { useEffect, useState, useCallback, useRef } from 'react' +import { useEffect, useState, useCallback, useRef, useMemo } from 'react' import { useParams, useNavigate, Link } from 'react-router-dom' import { DirectiveFileTree } from './DirectiveFileTree' import DocumentEditor from './DocumentEditor' @@ -152,7 +152,7 @@ function DocumentLayoutInner() { if (!selectedId) return try { await cleanupDirective(selectedId) - addToast('Cleanup task spawned', 'success') + addToast('Cleanup contract spawned', 'success') startStepPolling() } catch (err) { addToast(`Cleanup failed: ${(err as Error).message}`, 'error') -- cgit v1.2.3