Skip to content

AI media harness for planning, generating, and editing locally

TypeScript

Remove Generator empty-state instructions

Bittib45df8dedfd4
diff --git a/src/components/workspace/GeneratorView.tsx b/src/components/workspace/GeneratorView.tsx
index 4d148b8..82a2e46 100644
--- a/src/components/workspace/GeneratorView.tsx
+++ b/src/components/workspace/GeneratorView.tsx
@@ -1,5 +1,5 @@
import type { GenerationSubmission } from "../../lib/workQueue";
-import { ChevronDown, Plus, Sparkles, Square, Trash2, WandSparkles } from "lucide-react";
+import { ChevronDown, Plus, Square, Trash2, WandSparkles } from "lucide-react";
import { invoke } from "@tauri-apps/api/core";
import { useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
import { actionReferenceIds, compileGenerationJobPrompt, compileGenerationJobSegments, createDraftGenerationJob, danglingReferenceTokens, GENERATION_FRAME_RATE, RANDOM_GENERATION_SEED, sceneDurationSeconds, sceneGenerationReferences, sceneGenerationSeed, sceneGenerationSnapshot, sceneGenerationSteps, sceneShots, SCENE_MAX_SECONDS, SCENE_MIN_SECONDS, projectItemPath, usableReferenceImages, type GenerationJob, type ProjectConfig, type ProjectReference, type SceneShot } from "../../lib/project";
@@ -445,22 +445,6 @@ export function GeneratorView({ config, folderPath, runtime = null, generationCo
onMoveShot={moveShot}
/>}
- {/* No scenes at all — which, on a new project, is where everyone starts.
- This is the whole of the "how do I start" advice now that the composer
- is gone, so it has to name both doors: the button below, and Slop. */}
- {jobs.length === 0 && <div className="job-empty">
- <span className="job-empty__icon"><Sparkles size={26} /></span>
- <h2>Start with one scene</h2>
- <p>An empty scene is one blank shot waiting for a line. Add one, then write what should happen on screen — who or what is in frame, what they do.</p>
- <ul className="job-empty__tips">
- <li>A scene can be up to 15 seconds and split into as many shots as you like.</li>
- <li>Each shot is a card. Choose one to write its line and set it up.</li>
- <li>Drag a reference into a line and the prompt cites it as a subject.</li>
- <li>You can read the finished prompt before anything is sent.</li>
- <li>Or ask Slop in the bar along the bottom — Claude Code and Codex can write a whole scene from a prompt.</li>
- </ul>
- </div>}
-
{jobs.length === 0 && <button
type="button"
className="shot-card shot-card--add scene-card--add"
diff --git a/src/styles/generator.css b/src/styles/generator.css
index 0663202..fee4ca2 100644
--- a/src/styles/generator.css
+++ b/src/styles/generator.css
@@ -2071,77 +2071,6 @@
animation: spin 1.4s linear infinite;
}
-/* --- Empty state ----------------------------------------------------------- */
-
-.job-empty {
- max-width: var(--content-max);
- margin: 0 auto;
- padding: var(--space-8) var(--space-6);
- display: flex;
- flex-direction: column;
- align-items: center;
- text-align: center;
- border: 1px dashed var(--line-strong);
- border-radius: var(--radius-xl);
- background: var(--panel);
-}
-
-.job-empty__icon {
- width: var(--space-8);
- height: var(--space-8);
- display: grid;
- place-items: center;
- border-radius: var(--radius-lg);
- color: var(--accent-bright);
- background: var(--accent-soft);
-}
-
-.job-empty h2 {
- margin: var(--space-4) 0 var(--space-2);
- color: var(--text-primary);
- font-size: var(--text-xl);
- font-weight: var(--weight-semibold);
- line-height: var(--leading-snug);
- letter-spacing: var(--tracking-tight);
-}
-
-.job-empty p {
- max-width: 62ch;
- margin: 0;
- color: var(--text-muted);
- font-size: var(--text-base);
- line-height: var(--leading-normal);
-}
-
-.job-empty__tips {
- max-width: 62ch;
- margin: var(--space-5) 0 0;
- padding: 0;
- display: grid;
- gap: var(--space-2);
- list-style: none;
- text-align: left;
-}
-
-.job-empty__tips li {
- padding-left: var(--space-4);
- position: relative;
- color: var(--text-secondary);
- font-size: var(--text-sm);
- line-height: var(--leading-normal);
-}
-
-.job-empty__tips li::before {
- content: "";
- position: absolute;
- left: 0;
- top: 0.6em;
- width: 6px;
- height: 6px;
- border-radius: 50%;
- background: var(--accent-bright);
-}
-
/* --- Responsive -------------------------------------------------------------
The window can be resized down to 900px (tauri.conf.json minWidth), so the
board and the 380px panel have to keep working the whole way down without a