diff options
Diffstat (limited to 'makima/frontend/src/routes/document-directives.tsx')
| -rw-r--r-- | makima/frontend/src/routes/document-directives.tsx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/makima/frontend/src/routes/document-directives.tsx b/makima/frontend/src/routes/document-directives.tsx index 9cb984b..ada8a3d 100644 --- a/makima/frontend/src/routes/document-directives.tsx +++ b/makima/frontend/src/routes/document-directives.tsx @@ -657,17 +657,17 @@ function DocumentSidebar({ {/* Sidebar header */} <div className="flex items-center justify-between px-3 py-2 border-b border-dashed border-[rgba(117,170,252,0.2)]"> <span className="text-[11px] font-mono text-[#9bc3ff] uppercase tracking-wide"> - Documents + Contracts </span> <span className="text-[10px] font-mono text-[#556677]"> {directives.length} </span> </div> - {/* Top-level "directives/" folder header (informational, non-interactive). */} + {/* Top-level "contracts/" folder header (informational, non-interactive). */} <div className="flex items-center gap-1.5 px-3 py-1.5 text-[11px] font-mono text-[#9bc3ff]"> <FolderIcon open /> - <span>directives/</span> + <span>contracts/</span> </div> {/* Body */} @@ -678,7 +678,7 @@ function DocumentSidebar({ </div> ) : directives.length === 0 ? ( <div className="px-3 py-6 text-center text-[#556677] font-mono text-[11px]"> - No directives yet + No contracts yet </div> ) : ( sorted.map((d) => ( @@ -735,10 +735,10 @@ function EditorShell({ <div className="flex-1 flex items-center justify-center h-full"> <p className="text-[#556677] font-mono text-[12px]"> {listLoading - ? "Loading documents..." + ? "Loading contracts..." : hasDirectives - ? "Select a document from the sidebar" - : "No documents yet — create one from the legacy UI"} + ? "Select a contract from the sidebar" + : "No contracts yet — create one from the legacy UI"} </p> </div> ); @@ -747,7 +747,7 @@ function EditorShell({ if (loading && !directive) { return ( <div className="flex-1 flex items-center justify-center h-full"> - <p className="text-[#556677] font-mono text-[12px]">Loading document...</p> + <p className="text-[#556677] font-mono text-[12px]">Loading contract...</p> </div> ); } @@ -755,7 +755,7 @@ function EditorShell({ if (!directive) { return ( <div className="flex-1 flex items-center justify-center h-full"> - <p className="text-[#7788aa] font-mono text-[12px]">Document not found</p> + <p className="text-[#7788aa] font-mono text-[12px]">Contract not found</p> </div> ); } @@ -772,11 +772,11 @@ function EditorShell({ return ( <div className="flex-1 flex flex-col h-full overflow-hidden"> - {/* Document header — breadcrumb-like, mirrors a code editor's tab bar */} + {/* Contract header — breadcrumb-like, mirrors a code editor's tab bar */} <div className="px-6 py-3 border-b border-dashed border-[rgba(117,170,252,0.2)]"> <div className="flex items-center gap-2 text-[10px] font-mono uppercase tracking-wide text-[#7788aa]"> <FileIcon /> - <span>directives /</span> + <span>contracts /</span> <span className="text-[#9bc3ff]">{directive.id.slice(0, 8)}</span> {selectedTaskId && ( <> @@ -787,7 +787,7 @@ function EditorShell({ onClick={onClearTask} className="ml-2 px-1.5 py-0.5 text-[#7788aa] hover:text-white border border-[#2a3a5a] rounded normal-case" > - back to document + back to contract </button> </> )} |
