Skip to content

AI media harness for planning, generating, and editing locally

TypeScript

Shorten the open button and drop the local-project sub-line

Bitti2b628a8e940a
diff --git a/src/App.tsx b/src/App.tsx
index eeb2415..854a336 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -129,7 +129,7 @@ function App() {
<header className="library__topbar">
<Brand />
<div className="search-field"><Search size={17} /><input ref={searchInput} value={query} onChange={(event) => setQuery(event.target.value)} placeholder="Search projects" aria-label="Search projects" /><kbd>Ctrl K</kbd></div>
- <button className="secondary-button" onClick={() => void openFromFolder()}><FolderOpen size={17} /> Open project folder</button>
+ <button className="secondary-button" onClick={() => void openFromFolder()}><FolderOpen size={17} /> Open project</button>
</header>
<div className="library__content">
<PromptComposer busy={busy} onCreate={createFromPrompt} />
@@ -162,7 +162,7 @@ function App() {
<h3>No projects yet</h3>
<p>Describe your video in the box above and press <strong>Create project</strong>. PolStudio makes the folder, the settings, and a first scene for you.</p>
<p className="library-empty__aside">Already made one on this computer?</p>
- <button className="secondary-button" onClick={() => void openFromFolder()}><FolderOpen size={17} /> Open project folder</button>
+ <button className="secondary-button" onClick={() => void openFromFolder()}><FolderOpen size={17} /> Open project</button>
</div>
)}
</section>
diff --git a/src/components/ProjectWorkspace.tsx b/src/components/ProjectWorkspace.tsx
index fe80ac4..a67bb11 100644
--- a/src/components/ProjectWorkspace.tsx
+++ b/src/components/ProjectWorkspace.tsx
@@ -1,4 +1,4 @@
-import { ArrowLeft, BookOpen, Cloud, Download, Film, Save, Sparkles } from "lucide-react";
+import { ArrowLeft, BookOpen, Download, Film, Save, Sparkles } from "lucide-react";
import { useEffect, useState } from "react";
import type { ProjectConfig, ProjectRecord } from "../lib/project";
import { getRuntimeStatus, type RuntimeStatus } from "../lib/runtime";
@@ -69,7 +69,7 @@ export function ProjectWorkspace({ project, initialView = "timeline", settingsRe
<button className="icon-button icon-button--strong" onClick={onBack} aria-label="Back to project library"><ArrowLeft size={18} /></button>
{/* The name column is the topbar's elastic column and truncates on narrow
windows, so the full name stays available on hover. */}
- <div className="project-title"><strong title={config.name}>{config.name}</strong><span><Cloud size={13} aria-hidden="true" /> Local project</span></div>
+ <div className="project-title"><strong title={config.name}>{config.name}</strong></div>
</div>
<nav className="project-nav" aria-label="Project views">
diff --git a/src/styles/workspace.css b/src/styles/workspace.css
index 3008393..0054ed9 100644
--- a/src/styles/workspace.css
+++ b/src/styles/workspace.css
@@ -51,29 +51,15 @@
padding-left: var(--space-1);
}
-.project-title strong,
-.project-title span {
- display: block;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
-}
-
.project-title strong {
+ display: block;
font-size: var(--text-md);
font-weight: var(--weight-semibold);
line-height: var(--leading-snug);
color: var(--text-primary);
-}
-
-.project-title span {
- margin-top: var(--space-1);
- display: flex;
- align-items: center;
- gap: var(--space-2);
- color: var(--text-muted);
- font-size: var(--text-sm);
- line-height: var(--leading-snug);
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
/* Never let the action buttons shrink — a squashed Save is worse than a