From 096464591065758d4c16b74bde250bb8ae4eda84 Mon Sep 17 00:00:00 2001 From: ZGaetano Date: Mon, 18 May 2026 19:34:53 -0400 Subject: [PATCH] docs: add Phase 1 NLE Editor implementation plan --- .../plans/2026-05-18-nle-editor.md | 2246 +++++++++++++++++ 1 file changed, 2246 insertions(+) create mode 100644 docs/superpowers/plans/2026-05-18-nle-editor.md diff --git a/docs/superpowers/plans/2026-05-18-nle-editor.md b/docs/superpowers/plans/2026-05-18-nle-editor.md new file mode 100644 index 0000000..1aa72f5 --- /dev/null +++ b/docs/superpowers/plans/2026-05-18-nle-editor.md @@ -0,0 +1,2246 @@ +# NLE Editor (Phase 1) Implementation Plan + +> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking. + +**Goal:** Add a Premiere-style NLE editor page (`editor.html`) with source monitor (in/out marking), DOM-based timeline (Select + Razor tools, undo/redo), program monitor (virtual clip-by-clip playback), and EDL export — backed by new `sequences` + `sequence_clips` DB tables and a REST API. + +**Architecture:** New `editor.html` page loads three shared JS modules (`timecode.js`, `timeline.js`, plus existing `api.js`) as ` + + + + + + +``` + +- [ ] **Step 2: Commit** + +```bash +git add services/web-ui/public/editor.html +git commit -m "feat(ui): add NLE editor page (editor.html)" +``` + +--- + +## Task 8: Library Integration + +**Files:** +- Modify: `services/web-ui/public/index.html` + +- [ ] **Step 1: Add Editor nav link to the sidebar** — find the ` + + Editor + +``` + +- [ ] **Step 2: Add "Open in Editor" button to asset cards** — in `index.html`, find the `deleteAssetPrompt` button inside `card.innerHTML`. Change the `asset-actions` div to add a second button: + +```html +
+ + +
+``` + +- [ ] **Step 3: Add the `openInEditor` function** in `index.html`'s `