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): keep inline toolbar beneath navigation overlay
louisc60a2f4a9966
diff --git a/apps/screenpipe-workflows-web/scripts/eval-workflow-editor.cjs b/apps/screenpipe-workflows-web/scripts/eval-workflow-editor.cjsindex 007c569ad..b8a2867a6 100644--- a/apps/screenpipe-workflows-web/scripts/eval-workflow-editor.cjs+++ b/apps/screenpipe-workflows-web/scripts/eval-workflow-editor.cjs@@ -135,6 +135,7 @@ require("node:fs").mkdirSync(out, { recursive: true });await page.screenshot({ path: out + "/inline-workflow.png" });for (const width of [1050, 720, 390]) {await page.setViewportSize({ width, height: 1000 });+ if (width < 680) await button("Collapse left sidebar").click();await check(`fields and controls fit at ${width}px`, async () => {await page.waitForTimeout(100);const bad = await page.locator("main textarea, main button").evaluateAll(es => es.filter(e => e.getBoundingClientRect().width && (e.getBoundingClientRect().right > innerWidth + 1 || (e.tagName === "TEXTAREA" && e.scrollHeight > e.clientHeight + 3))).map(e => e.getAttribute("aria-label") || e.textContent));diff --git a/packages/workflows-ui/src/workflow-editor.module.css b/packages/workflows-ui/src/workflow-editor.module.cssindex 93a540fd9..952c85ede 100644--- a/packages/workflows-ui/src/workflow-editor.module.css+++ b/packages/workflows-ui/src/workflow-editor.module.css@@ -70,8 +70,6 @@color: var(--muted);}.toolbar {- position: relative;- z-index: 3;display: flex;align-items: center;justify-content: space-between;@@ -97,11 +95,6 @@color: var(--muted);font-size: 12px;}-.toolbar .save {- padding: 7px 12px;- background: var(--ink);- color: var(--panel);-}.intro {margin: 0 0 18px;}@@ -233,7 +226,7 @@}}@container workflow-editor (max-width: 560px) {- .toolbar { top: -16px; gap: 8px; }+ .toolbar { gap: 8px; }.toolbar > div:first-child { flex-direction: column; align-items: flex-start; gap: 3px; }.toolbar span { font-size: 11px; }.intro .title { font-size: 25px; }