diff --git a/movie_editor/frontend/composer.js b/movie_editor/frontend/composer.js index d6d52d85..189f8ef0 100644 --- a/movie_editor/frontend/composer.js +++ b/movie_editor/frontend/composer.js @@ -213,6 +213,7 @@ "Edits apply automatically and stay in sync with the timeline's per-scene prompts. Shortcuts expand at generation time.")); composeTextarea = ta; if (window.ShortcutAutocomplete) window.ShortcutAutocomplete.attach(ta); + if (st.project && window.ShortcutSuggest) titleRow.append(window.ShortcutSuggest.bulb(ta)); // Variables ($name) β€” collapsible, same toggle pattern as Settings β–Έ Built-in pipeline. wrap.append(composeVariables()); diff --git a/movie_editor/frontend/editor_settings.js b/movie_editor/frontend/editor_settings.js index 3074aef7..b77102a8 100644 --- a/movie_editor/frontend/editor_settings.js +++ b/movie_editor/frontend/editor_settings.js @@ -158,6 +158,10 @@ "Prompt autocomplete", "Suggest matching shortcuts while you type in the global prompt and scene prompts. Shows the trigger, its prompt, and category.", "autocomplete")); + content.append(toggleRow( + "Shortcut ideas", + "A πŸ’‘ next to prompt fields lights up when shortcut categories in your library (camera moves, sub-actions…) aren't used in the prompt. Click it for insertable ideas β€” it never pops up on its own.", + "suggestions")); content.append(toggleRow( "Use anchor", "Text before the first split trigger is a shared anchor prepended to every scene. Turn off to make that leading text Scene 1 instead.", @@ -169,7 +173,7 @@ window.SettingsWindow.register({ id: "editor", group: "", title: "Editor", subtitle: "Per-browser preferences β€” they apply to this browser, not the project.", - keywords: "autocomplete anchor prompt shortcuts i2v bypass guide preferences", + keywords: "autocomplete anchor prompt shortcuts ideas suggestions i2v bypass guide preferences", iconBg: "linear-gradient(180deg,#6aa9ff,#3b6fd9)", icon: '', mount, diff --git a/movie_editor/frontend/index.html b/movie_editor/frontend/index.html index 47061c3b..5e6f27cc 100644 --- a/movie_editor/frontend/index.html +++ b/movie_editor/frontend/index.html @@ -130,6 +130,7 @@ + diff --git a/movie_editor/frontend/inspector.js b/movie_editor/frontend/inspector.js index aab48a90..f0711a0f 100644 --- a/movie_editor/frontend/inspector.js +++ b/movie_editor/frontend/inspector.js @@ -288,7 +288,12 @@ const ta = el("textarea"); ta.rows = 4; ta.value = root.text || ""; ta.placeholder = "Describe this scene…"; ta.dataset.k = "sc-text"; ta.oninput = () => S.patchSceneQuiet(scene.id, { text: ta.value }); - body.append(field("Prompt", ta)); + // Ideas bulb floats OUTSIDE the label β€” a button inside a