YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix(workflows): simplify SOP toolbar to icons
Louis Beaumont04e228fddb64
diff --git a/docs/pr-assets/sop-share-images/toolbar-icons.png b/docs/pr-assets/sop-share-images/toolbar-icons.pngnew file mode 100644index 000000000..75d958140Binary files /dev/null and b/docs/pr-assets/sop-share-images/toolbar-icons.png differdiff --git a/packages/workflows-ui/src/guide-video-panel.tsx b/packages/workflows-ui/src/guide-video-panel.tsxindex 744f08de3..cdd085619 100644--- a/packages/workflows-ui/src/guide-video-panel.tsx+++ b/packages/workflows-ui/src/guide-video-panel.tsx@@ -177,8 +177,8 @@ export const GuideVideoPanel = forwardRef<GuideVideoHandle, {</section>;return <>- <button ref={trigger} className={styles.actionButton} aria-label="Video SOP" aria-expanded={open} aria-controls="sop-video-panel" onClick={() => { if (open) backToSop(); else setOpen(true); }}>- {working ? <Loader2 size={16} className={styles.spin} aria-hidden="true" /> : <Film size={16} aria-hidden="true" />} {working ? "Creating video…" : "Video SOP"}+ <button ref={trigger} className={styles.actionButton} aria-label="Video SOP" title={working ? "Creating video…" : "Video SOP"} aria-busy={working} aria-expanded={open} aria-controls="sop-video-panel" onClick={() => { if (open) backToSop(); else setOpen(true); }}>+ {working ? <Loader2 size={16} className={styles.spin} aria-hidden="true" /> : <Film size={16} aria-hidden="true" />}</button>{container ? createPortal(content, container) : content}</>;diff --git a/packages/workflows-ui/src/workflow-guide.tsx b/packages/workflows-ui/src/workflow-guide.tsxindex 81a4bc1de..70284a255 100644--- a/packages/workflows-ui/src/workflow-guide.tsx+++ b/packages/workflows-ui/src/workflow-guide.tsx@@ -13,6 +13,7 @@ import {ExternalLink,ImageOff,Loader2,+ List,MoreHorizontal,Plus,Trash2,@@ -268,7 +269,7 @@ export function WorkflowGuide({)}{draft && (<>- <button className={styles.actionButton} aria-expanded={outlineOpen} onClick={() => setOutlineOpen(!outlineOpen)}>Contents</button>+ <button type="button" className={styles.actionButton} aria-label={ui("Contents")} title={ui("Contents")} aria-expanded={outlineOpen} onClick={() => setOutlineOpen(!outlineOpen)}><List size={16} aria-hidden="true" /></button><DocumentActions document={{ kind: "sop", title: draft.title, markdown: guideMarkdown(draft) }} onShare={platform.openWeb ? () => { setWebError(""); webDialog.current?.showModal(); } : onShareDocument} download={downloadDocument} />{platform.video && <GuideVideoPanel container={videoContainer} onOpenChange={setVideoOpen} ref={videoHandle} guide={draft} workflow={workflow} platform={platform.video} loadScreenshot={platform.loadScreenshot} loadSourceScreenshot={platform.loadSourceScreenshot} save={persist} onVideoMode={setVideoMode} onLayoutChange={videoLayout => update({ ...latest.current!, videoLayout })} assistantBusy={videoBusy} onCreate={platform.video.edit ? () => {if (videoRequested.current) return;@@ -291,7 +292,6 @@ export function WorkflowGuide({}}><ExternalLink size={16} aria-hidden="true" />- {ui("Open on web")}</button>)}<button@@ -305,7 +305,6 @@ export function WorkflowGuide({}}><Download size={16} aria-hidden="true" />- {ui("Export")}</button></>)}