Skip to content

The VS Code of video editing, built for agents.

TypeScript

feat: add new icons for edit with prompt, remove background, and remove silences; update command icons

konstantin-paulusb8869dd6492d
diff --git a/apps/web/src/assets/icons/ai.edit-with-prompt.svg b/apps/web/src/assets/icons/ai.edit-with-prompt.svg
new file mode 100644
index 00000000..84480931
--- /dev/null
+++ b/apps/web/src/assets/icons/ai.edit-with-prompt.svg
@@ -0,0 +1,4 @@
+<svg viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M15.5 7.5L7.5 15.5V17.5H9.5L17.5 9.5A1.4142 1.4142 0 0 0 15.5 7.5ZM14.5 8.5L16.5 10.5M13.5 17.5H18.5M15.5 14.5H18.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
+<path d="M8.01 5.44C8.14 4.94 8.86 4.94 8.99 5.44L9.3 6.7L10.56 7.01C11.06 7.14 11.06 7.86 10.56 7.99L9.3 8.3L8.99 9.56C8.86 10.06 8.14 10.06 8.01 9.56L7.7 8.3L6.44 7.99C5.94 7.86 5.94 7.14 6.44 7.01L7.7 6.7Z" fill="currentColor"/>
+</svg>
diff --git a/apps/web/src/assets/icons/ai.remove-background.svg b/apps/web/src/assets/icons/ai.remove-background.svg
new file mode 100644
index 00000000..25c1b7f3
--- /dev/null
+++ b/apps/web/src/assets/icons/ai.remove-background.svg
@@ -0,0 +1,5 @@
+<svg viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M7.5 9.5V8.5A1 1 0 0 1 8.5 7.5H9.5M11.5 7.5H13.5M17.5 11.5V12.5M7.5 16V16.5A1 1 0 0 0 8.5 17.5H9.5M11.5 17.5H13.5M7.5 11.5V14.5L9.5 12.5L13 16M12.5 15.5L15.5 12.5L17.5 14.5V16.5A1 1 0 0 1 16.5 17.5H15.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
+<circle cx="12.5" cy="10.5" r="1" stroke="currentColor"/>
+<path d="M17.01 5.44C17.14 4.94 17.86 4.94 17.99 5.44L18.3 6.7L19.56 7.01C20.06 7.14 20.06 7.86 19.56 7.99L18.3 8.3L17.99 9.56C17.86 10.06 17.14 10.06 17.01 9.56L16.7 8.3L15.44 7.99C14.94 7.86 14.94 7.14 15.44 7.01L16.7 6.7Z" fill="currentColor"/>
+</svg>
diff --git a/apps/web/src/assets/icons/ai.remove-silences.svg b/apps/web/src/assets/icons/ai.remove-silences.svg
new file mode 100644
index 00000000..70b29fe6
--- /dev/null
+++ b/apps/web/src/assets/icons/ai.remove-silences.svg
@@ -0,0 +1,4 @@
+<svg viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M12.5 6.5V18.5M10.5 7.5H9A1.5 1.5 0 0 0 7.5 9V16A1.5 1.5 0 0 0 9 17.5H10.5M17.5 10.5V16A1.5 1.5 0 0 1 16 17.5H14.5M9.5 11.5V13.5M15.5 11.5V13.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
+<path d="M16.01 4.44C16.14 3.94 16.86 3.94 16.99 4.44L17.3 5.7L18.56 6.01C19.06 6.14 19.06 6.86 18.56 6.99L17.3 7.3L16.99 8.56C16.86 9.06 16.14 9.06 16.01 8.56L15.7 7.3L14.44 6.99C13.94 6.86 13.94 6.14 14.44 6.01L15.7 5.7Z" fill="currentColor"/>
+</svg>
diff --git a/apps/web/src/assets/icons/remove-silence.svg b/apps/web/src/assets/icons/remove-silence.svg
deleted file mode 100644
index ac5c1a0a..00000000
--- a/apps/web/src/assets/icons/remove-silence.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-<svg viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
-<path d="M6.5 8.5V10.5M8.5 6.5V12.5M10.5 7.5V11.5M14.5 7.5V11.5M16.5 6.5V12.5M18.5 8.5V10.5M6.5 16.5H10.5M8.5 14.5L10.5 16.5L8.5 18.5M18.5 16.5H14.5M16.5 14.5L14.5 16.5L16.5 18.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
-</svg>
diff --git a/apps/web/src/components/commands/edit-with-prompt.tsx b/apps/web/src/components/commands/edit-with-prompt.tsx
index 8df27f9c..85c60cc4 100644
--- a/apps/web/src/components/commands/edit-with-prompt.tsx
+++ b/apps/web/src/components/commands/edit-with-prompt.tsx
@@ -16,7 +16,7 @@ export function EditWithPromptCommand() {
id: "edit-with-prompt",
title: "Edit with prompt",
group: "Generate",
- icon: "ai-generate",
+ icon: "ai.edit-with-prompt",
keywords: ["image", "prompt", "ai"],
available: () => imageMedia().length > 0,
run: () => openPromptInput(restoreConfig("IMAGE")),
diff --git a/apps/web/src/components/commands/layer-toggles.tsx b/apps/web/src/components/commands/layer-toggles.tsx
index 7740cbd4..17b61cc8 100644
--- a/apps/web/src/components/commands/layer-toggles.tsx
+++ b/apps/web/src/components/commands/layer-toggles.tsx
@@ -13,7 +13,7 @@ export function LayerToggleCommands() {
useCommand({
id: "toggle-muted",
- title: "Toggle mute",
+ title: "Mute/Unmute",
group: "Object",
icon: "mute",
keywords: ["mute", "unmute", "audio", "sound", "silence"],
diff --git a/apps/web/src/components/commands/project-folder.tsx b/apps/web/src/components/commands/project-folder.tsx
index 1762088c..8805e919 100644
--- a/apps/web/src/components/commands/project-folder.tsx
+++ b/apps/web/src/components/commands/project-folder.tsx
@@ -38,7 +38,7 @@ export function ProjectFolderCommands() {
useCommand({
id: "show-project-folder",
title: isWindowsDesktop() ? "Show in Explorer" : "Show in Finder",
- group: "Window",
+ group: "File",
icon: "navigation.folder",
keywords: ["reveal", "project folder", "files", "finder", "explorer"],
available: () => Boolean(window.desktop && project.dir()),
@@ -63,7 +63,7 @@ function OpenInEditorCommand(props: { editor: EditorInfo }) {
useCommand({
id: `open-in-editor:${editor.id}`,
title: `Open in ${editor.label}`,
- group: "Window",
+ group: "File",
icon: EDITOR_ICONS[editor.id],
keywords: ["code editor", "project folder", "jsx", "source", editor.id],
available: () => Boolean(project.dir()),
diff --git a/apps/web/src/components/commands/reload-window.tsx b/apps/web/src/components/commands/reload-window.tsx
index 88e3be70..0cac8847 100644
--- a/apps/web/src/components/commands/reload-window.tsx
+++ b/apps/web/src/components/commands/reload-window.tsx
@@ -8,11 +8,11 @@ import { useCommand } from "@/context/commands";
export function ReloadWindowCommand() {
useCommand({
id: "reload-window",
- title: "Force reload window",
- group: "Window",
+ title: "Force reload app",
+ group: "View",
icon: "reload",
keywords: ["refresh", "restart"],
- shortcut: ["⌘", "R"],
+ shortcut: ["⇧", "⌘", "R"],
order: 1,
run: () => window.location.reload(),
});
diff --git a/apps/web/src/components/commands/remove-background.tsx b/apps/web/src/components/commands/remove-background.tsx
index c356499f..bfde4e47 100644
--- a/apps/web/src/components/commands/remove-background.tsx
+++ b/apps/web/src/components/commands/remove-background.tsx
@@ -13,7 +13,7 @@ export function RemoveBackgroundCommand() {
id: "remove-background",
title: "Remove background",
group: "Media",
- icon: "ai-generate",
+ icon: "ai.remove-background",
keywords: ["cutout", "matte", "transparent"],
ready: () => targets("removeBackground").length > 0,
run: () => run("removeBackground"),
diff --git a/apps/web/src/components/commands/remove-silence.tsx b/apps/web/src/components/commands/remove-silence.tsx
index 731d0a58..c0ddf8ff 100644
--- a/apps/web/src/components/commands/remove-silence.tsx
+++ b/apps/web/src/components/commands/remove-silence.tsx
@@ -22,7 +22,7 @@ export function RemoveSilenceCommand() {
id: "remove-silence",
title: "Remove silence",
group: "Media",
- icon: "remove-silence",
+ icon: "ai.remove-silences",
keywords: ["silent parts", "pauses", "gaps", "jump cut", "trim", "dead air", "audio"],
ready: () => targets().length > 0,
run: () => void run(),
diff --git a/apps/web/src/components/commands/shortcuts.tsx b/apps/web/src/components/commands/shortcuts.tsx
index 189ff4f7..e786f45c 100644
--- a/apps/web/src/components/commands/shortcuts.tsx
+++ b/apps/web/src/components/commands/shortcuts.tsx
@@ -167,7 +167,7 @@ const SHORTCUTS: Shortcut[] = [
},
{
id: "toggle-hidden",
- title: "Toggle visibility",
+ title: "Show/Hide",
group: "Object",
icon: "eye-on",
keys: ["⇧", "⌘", "H"],
diff --git a/apps/web/src/components/commands/window.tsx b/apps/web/src/components/commands/window.tsx
index ad36ecc0..0f8161d4 100644
--- a/apps/web/src/components/commands/window.tsx
+++ b/apps/web/src/components/commands/window.tsx
@@ -17,7 +17,7 @@ export function WindowCommands() {
useCommand({
id: "toggle-ui",
title: "Show/Hide UI",
- group: "Window",
+ group: "View",
icon: "sidebar",
keywords: ["panels", "sidebar", "focus", "fullscreen", "toggle ui"],
shortcut: ["⌘", "\\"],
@@ -40,7 +40,7 @@ export function WindowCommands() {
useCommand({
id: "toggle-timeline",
title: "Show/Hide timeline",
- group: "Window",
+ group: "View",
icon: "sidebar-timeline",
keywords: ["panel", "tracks", "layers", "minimize", "toggle timeline"],
shortcut: ["⌘", "J"],
@@ -71,7 +71,7 @@ export function WindowCommands() {
useCommand({
id: "toggle-chat",
title: "Show/Hide chat",
- group: "Window",
+ group: "View",
icon: "ask-chat",
keywords: ["open chat", "agent", "assistant", "message", "claude"],
shortcut: ["⌘", "L"],
@@ -81,7 +81,7 @@ export function WindowCommands() {
useCommand({
id: "new-chat",
title: "New chat thread",
- group: "Window",
+ group: "View",
icon: "plus-add",
keywords: ["new thread", "conversation", "agent", "assistant", "claude"],
shortcut: ["⇧", "⌘", "L"],
@@ -92,7 +92,7 @@ export function WindowCommands() {
useCommand({
id: "actions",
title: "Actions…",
- group: "Window",
+ group: "View",
icon: "tool.actions-spotlight",
shortcut: ["⌘", "K"],
palette: false,
diff --git a/apps/web/src/components/genai/prompt-input-actions.tsx b/apps/web/src/components/genai/prompt-input-actions.tsx
index 67275a6a..7ffcc206 100644
--- a/apps/web/src/components/genai/prompt-input-actions.tsx
+++ b/apps/web/src/components/genai/prompt-input-actions.tsx
@@ -106,7 +106,7 @@ export function PromptInputActions() {
<TransformItem name="upscale" icon="arrow-scale" label="Upscale" run={run} />
</Show>
<Show when={hasImageSelection()}>
- <TransformItem name="removeBackground" icon="ai-generate" label="Remove background" run={run} />
+ <TransformItem name="removeBackground" icon="ai.remove-background" label="Remove background" run={run} />
</Show>
</DropdownMenuGroup>
</DropdownMenuContent>
diff --git a/apps/web/src/context/commands.tsx b/apps/web/src/context/commands.tsx
index f6478c82..f5810101 100644
--- a/apps/web/src/context/commands.tsx
+++ b/apps/web/src/context/commands.tsx
@@ -18,7 +18,7 @@ import type { Accessor, Component, JSX, Owner } from "solid-js";
* taken from the order commands register in, which depends on what mounted
* first and changes as parts of the UI come and go.
*/
-export const SECTIONS = ["Media", "Generate", "Assets", "Export", "Timeline", "Object", "Tools", "Edit", "Window"] as const;
+export const SECTIONS = ["Media", "Generate", "Assets", "Export", "Timeline", "Object", "Tools", "File", "Edit", "View"] as const;
export type Section = (typeof SECTIONS)[number];