Change this shot: an empty guidance box, the last request shown not pre-filled

This commit is contained in:
gator 2026-09-23 01:32:10 +00:00
parent 7a0d3ab1b1
commit 42fbf5a2d0

View file

@ -1592,8 +1592,15 @@
else if (s.drawing) tools = '<span class="busy">drawing…</span>';
else if (stillFilming(s)) tools = '<span class="busy">filming…</span>';
else if (EDITING === s.id) {
// An EMPTY box: this is guidance for the writer - what should happen,
// how the camera moves, what is said - and it applies the same whether
// the shot is spoken or silent. Everything not mentioned is kept. The
// last request is shown, not pre-filled, so it is not mistaken for the
// thing to change.
tools = '<div style="width:100%"><textarea class="rough" id="rough" rows="3" placeholder="'
+ 'What should change in this shot?">' + esc(s.rough || "") + '</textarea>'
+ 'What should change in this shot? Direction, camera, what is done, or what is said - the writer keeps everything you do not mention.'
+ '"></textarea>'
+ (s.rough ? '<div class="tiny" style="margin:2px 0 6px">Last time you asked for: ' + esc(String(s.rough).slice(0, 240)) + '</div>' : '')
+ '<div class="tools"><button type="button" class="btn primary" data-rewrite="' + esc(s.id)
+ '">Rewrite this shot</button>'
+ '<button type="button" class="btn" data-cancel="1">Cancel</button></div></div>';