Repository navigation
Conversation
Signed-off-by: MrDongsls <87852321+MrDongsls@users.noreply.github.com>
- Take over the whole screen for the director stage instead of a centered card, so the editor shell matches the target console layout from the first slice onward. - Move the tool actions (undo, redo, stage JSON import and export, still download, MP4 render) from the modal footer into a toolbar row under the header; the footer keeps cancel and apply. - Guard closing with unsaved stage changes through the shared stage equality: keep editing, discard and close, or save and close. - npm run build, npm test (679 passing), npm run check:i18n (2892 keys, 0 problems). - node tests/browser/director_stage_entry.mjs in en-US and zh-CN against the isolated creation_server.py fixture on this tree. Refs: ThinkFlowLab#241 (cherry picked from commit 58e1ce20d9cfe3da0ad76f0de8fbf88f0f55901f)
- Rebuild the editor body as a console layout: a left scene panel, a center viewport that fills the available frame, a right inspector, and a bottom timeline strip holding playback, duration, the playhead, keyframe chips, and storyboard editing. - Let the preview renderer fill its panel instead of a letterboxed aspect box; the stage aspect now governs the captured still and the MP4, not the free-form preview frame. - npm run build, npm test (679 passing), npm run check:i18n. - node tests/browser/director_stage_entry.mjs in en-US and zh-CN against the isolated creation_server.py fixture; viewport measured at 1144x643 inside the 1700x1000 frame, with a comparison screenshot saved beside the reference captures. Refs: ThinkFlowLab#241 (cherry picked from commit 985fac622c29c8b7d67eec940f8a3567be7f4129)
- Rebuild the editor root: the 3D frame is now the base layer covering the whole console (measured 1700x956 in a 1700x1000 frame), replacing the grid cell that left dead bands above and below the viewport. - Float every panel over the frame the way the reference console does: a top bar carrying identity, tool actions, cancel, apply, and close; translucent left scene and right inspector panels; a bottom timeline strip; render status and errors as floating overlays. - Drop the shared modal chrome for the stage and own the dialog semantics directly: focus trap, Escape, backdrop close, body scroll lock, and the unsaved guard all live in the console. - npm run build, npm test (679 passing), npm run check:i18n. - node tests/browser/director_stage_entry.mjs in en-US and zh-CN against the isolated creation_server.py fixture; comparison screenshot refreshed beside the reference captures. Refs: ThinkFlowLab#241 (cherry picked from commit ea7b9ec15a6fd7e83e8d5e38197ee13b68fcd49c)
…ave chip - Pin the preview canvas to its CSS box so a HiDPI display keeps a sharp 1:1 frame instead of the zoomed, blurry crop the unstyled canvas produced. - Split the left panel into Characters, Objects, Cameras, and Background tabs: imports preset their role from the active tab, camera rigs list and add inline, and scene settings move to their own page. - Draw a camera-preview picture-in-picture with a scissored second render pass framed exactly as the still and the MP4 capture, plus a toggleable aspect mask that letterboxes the shot frame over the free-form preview. - Show a saved/unsaved chip in the top bar next to the toggles. - npm run build, npm test (679 passing), npm run check:i18n (2902 keys, 0 problems). - node tests/browser/director_stage_entry.mjs in en-US and zh-CN on the isolated fixture; tabs, chip, camera add, preview frame, and mask verified in a live probe with zero page errors; comparison screenshot refreshed beside the reference captures. Refs: ThinkFlowLab#241 (cherry picked from commit 6e690e6fcf1a9536c360c1bcf770515f35e50c59)
The fullscreen console layout rebuild moved the editor away from the dialog-era markup; this lands the batch-2 drawer as a floating layer over the 3D scene, between the aspect overlays and the console panels. The top-bar capture, materials and export entries, the drawer draft state and the unsaved-close guard (which now also tracks still edits) ride along from the merged main. Refs: ThinkFlowLab#241 (cherry picked from commit 4103029e2dea141d5120eff7c85dd06bf4341e31)
- The shot-materials drawer floats above the console panels and sits left of the right inspector instead of hiding underneath it. - The unsaved-close guard compares against the committed baselines that mid-session prepares advance, so an exported stage with committed stills no longer shows a false Unsaved chip or nags on Escape. Refs: ThinkFlowLab#241 (cherry picked from commit a3864a27d335a2af41f34435d3eca039dc741a5b)
The top bar gains a shortcuts entry and the first object added in this browser opens the same panel once (localStorage marker): mouse bindings for orbit/pan/zoom plus the Escape and Tab behaviour of the console. The panel grows as placement and gizmo shortcuts land. Refs: ThinkFlowLab#241 (cherry picked from commit 5e18458f4e1c3a97bbf0340b9675bf8b813dc904)
- Each camera row gains a live-preview entry that splits the scene: the orbit working view keeps the left share, the chosen rig (or the storyboard sample once shots exist) fills the right pane. A draggable divider adjusts the ratio with keyboard equivalents, camera tabs switch the pane source, and Exit returns to the single view. - Every axis in the position, rotation and scale groups pairs a bounded slider with the exact number input, so common adjustments come from a drag with immediate viewport feedback while out-of-band values stay typable. Refs: ThinkFlowLab#241 (cherry picked from commit d4e1116237ed417d5d9a960171b6f2b8a7665a94)
The workspace root handles keydown in the capture phase and its Escape branch closes the open editor; the dialog-era stage was exempt through the .cw-domain-dialog wrapper class, but the fullscreen console dropped that wrapper without joining the exemption list, so every Escape inside the console force-closed the editor and bypassed the unsaved-close guard. The console joins the exemption list, the help panel focuses its close button so Escape dismisses it first, and a browser check covers the cheat-sheet, the split live preview (tabs, keyboard ratio nudges, exit) and transform sliders. Comparison shots land as od-batch4-*.png. Refs: ThinkFlowLab#241 (cherry picked from commit f2c66df72430cd80d9a55e51e0ef7e89f3d51237)
Context-creation failures lose their multisample retry (some drivers refuse antialiasing buffers under pressure; a plain context keeps the editor usable), both renderer cleanups force-context-loss before disposing so browsers free the slot immediately instead of waiting for garbage collection, and the failure message now carries recovery steps (hardware acceleration, chrome://gpu, close competing WebGL tabs). A 20-cycle open/close probe survives on a fresh context, so the immediate failure is environmental; these changes make the app degrade gracefully and diagnosable either way. Refs: ThinkFlowLab#241 (cherry picked from commit 3a5b372d8b0a6b71c83d7ae3b3790d44b2a1fc13)
Signed-off-by: MrDongsls <87852321+MrDongsls@users.noreply.github.com> (cherry picked from commit 14e6c7807fcc5cd786f3e25d76e5904e39236eb7)
## summary - Extend Director Stage object contracts with primitive geometry kinds. - Persist and validate camera roll across the frontend, backend, schema, generated types, and fixtures. Signed-off-by: MrDongsls <87852321+MrDongsls@users.noreply.github.com>
## summary - Add the asset rail preview modes and object cards used by the Director Stage. - Render thumbnails from zero-transform objects, crop them from the centered view, and persist them as image asset references. - Validate projected thumbnails across the frontend, backend, schema, and tests. Signed-off-by: MrDongsls <87852321+MrDongsls@users.noreply.github.com>
## summary - Remove renderer-only visibility fields from transient thumbnail objects. - Keep thumbnail generation within the existing StageObject transform contract. Signed-off-by: MrDongsls <87852321+MrDongsls@users.noreply.github.com>
## summary - Persist the editable stage document, environment, camera channels, and timeline contracts. - Add preview-card placement, mutually exclusive Gizmo modes, viewport state, object tree, and inspector editing. - Cover the core interactions with browser scenarios and unit/contract validation. Signed-off-by: MrDongsls <87852321+MrDongsls@users.noreply.github.com>
## summary - Persist prepared output slots and stable upload handles before media publication begins. - Resume unfinished output imports after reload without duplicating completed assets. - Require rendered video duration to match the frozen camera plan and localize the pending-preparation error. Signed-off-by: MrDongsls <87852321+MrDongsls@users.noreply.github.com>
## summary - Capture missing object thumbnails after model loading and report failures without hiding the imported object. - Preserve the stage poster only when a usable preview URL exists. - Treat thumbnail assets as registered stage dependencies and cover the validation path in TypeScript tests. Signed-off-by: MrDongsls <87852321+MrDongsls@users.noreply.github.com>
## summary - Persist prepared output slots and stable upload handles before media publication begins. - Resume unfinished output imports after reload without duplicating completed assets. - Require rendered video duration to match the frozen camera plan and localize the pending-preparation error. Signed-off-by: MrDongsls <87852321+MrDongsls@users.noreply.github.com>
## summary - Capture missing object thumbnails after model loading and report failures without hiding the imported object. - Preserve the stage poster only when a usable preview URL exists. - Treat thumbnail assets as registered stage dependencies and cover the validation path in TypeScript tests. Signed-off-by: MrDongsls <87852321+MrDongsls@users.noreply.github.com>
## summary - Keep focus inside help, export, preview, and close-confirm dialogs. - Restore the previously focused control after each nested dialog closes. - Keep Escape scoped to the active dialog instead of the stage editor. Signed-off-by: MrDongsls <87852321+MrDongsls@users.noreply.github.com>
…ment Signed-off-by: MrDongsls <87852321+MrDongsls@users.noreply.github.com>
This was referenced Nov 22, 2026
## summary - Add pointer and keyboard resizing for the left and right panels and dynamic timeline. - Keep layout dimensions in ephemeral view state with bounded values and bilingual separator labels. - Limit panel highlight lines to the timeline top while dynamic preview is visible. ## validation - npm test - npm run build - npm run check:i18n - npm run check:browser-manifest - CREATION_API_URL=http://127.0.0.1:37901 CREATION_WEB_URL=http://127.0.0.1:4173 node tests/browser/director_stage_layout.mjs
## summary - Add a mutually exclusive Select tool and a disabled-aware Drop to ground action to the Director Stage toolbar. - Reuse the existing pose editor for keyboard and button ground placement, including locked-object protection. - Keep the preview WebGL buffer aligned with its full panel so transform picking follows the visible viewport. - Extend bilingual browser coverage for the new toolbar actions and preserve the existing gizmo journey. ## validation - npm test - npm run build - npm run check:i18n - npm run check:browser-manifest - CREATION_API_URL=http://127.0.0.1:37901 CREATION_WEB_URL=http://127.0.0.1:4173 node tests/browser/director_stage_gizmo.mjs - DIRECTOR_STAGE_LOCALE=zh-CN CREATION_API_URL=http://127.0.0.1:37901 CREATION_WEB_URL=http://127.0.0.1:4173 node tests/browser/director_stage_gizmo.mjs
## summary - group dynamic timeline tracks by shots, cameras, and current scene objects - render source group rows while preserving property track and keyframe editing - cover grouping, object removal, and bilingual browser acceptance ## validation - npm test - npm run build - npm run check:i18n - npm run check:browser-manifest - director_stage_entry.mjs in en-US and zh-CN
## summary - add expandable source group rows to the dynamic Director Stage timeline - preserve property track editing while hiding collapsed child rows - add bilingual accessible labels and browser coverage ## validation - node --test tests/stageTimeline.test.ts - npm run build - npm run check:i18n - director_stage_entry.mjs in en-US and zh-CN
## summary Land the camera-rigs feature on the Director Stage core. It is rebuilt from the net difference of feat/stage-camera-rigs (cb00d80..79856431), with its 37 merge conflicts resolved against the core structure. It carries the work of f4cf7fb, 99c96eb, d1ea6592 and 79856431. - The main viewport is the director's own view. It opens on DEFAULT_DIRECTOR_VIEW, the reset button returns to it, and orbiting never writes a camera pose or an undo entry: orbitEnd and gestureCameraId are gone. Nothing poses the viewport camera from a stage sample; displayPose is removed and only displayObjects remains. - Each camera is a rig in the scene with a body and a viewpoint. Clicking either end, in the viewport or in the object tree, selects the camera and the end being edited (the view-state field cameraEndpoint). The gizmo then translates that end, and the drag edits the camera's position or target. Selecting writes no document and moves no preview source. A selected camera offers translation only. - Camera presets are placed in two steps: the preset is armed, then a subject is clicked and a new camera is added beside it, turned to the subject's facing. addCamera(pose) is the one path that adds a camera. applyCameraPreset, the left "Add camera" button and camera list, and the inspector's "Duplicate as new camera" are removed with their entries. - The camera-preview frame keeps core's draggable, collapsible frame and shows core's preview-source selector in its control bar while it is open. The preview source alone decides what a preview shows. - A still keeps the director's camera and hides every director-only layer. The export drops the rigs' group. The viewfinder is picked through the preview camera and never picks an endpoint. - The export dialog reopens at the frame rate last used, and the view HUD names the view and follows a change of language. The behaviour follows the product decisions recorded in the local tickets 05 (director view), 06 (preset placement and the Cameras tab), 07 (preview source and frame) and 08 (selection model). withCameraChannels is not carried: parseLocalStageValue already recalculates the keyframe projection. ## validation - npx tsc --noEmit - npm test (985 passed) - npm run check:i18n, npm run check:browser-locale, npm run check:browser-manifest - No browser script was run for this commit. The gate scripts that still assert the removed controls are adapted in later commits.
## summary The camera rigs belong to the director's viewport. The core paths that the camera-rigs branch never had drew them into their pictures, because they only knew the layers core had before: - renderPreview, which draws the camera-preview frame, the viewfinder and the split view's right pane, now switches the rigs off for its render and back on afterwards. It runs every frame, so it only changes visibility and does no other work. - hideViewport, which the Storyboard thumbnails use, hides the rigs with the other viewport-only layers and restores them. How any other layer reaches a preview is unchanged. A still already hides the rigs with every director-only layer, and the export already drops the rigs' group. ## validation - npx tsc --noEmit - No browser script was run; pictures of these surfaces are checked when the feature's browser scripts are adapted.
## summary A camera can have an aspect ratio of its own, which the document stored and nothing used. The camera-preview frame now takes that shape. - The frame element carries --stage-pip-aspect, and the stylesheet lays the frame out with it: its aspect, its width inside the viewport's height, and its upper position bound. --stage-aspect keeps its single stage value for everything else. - previewAspectOf states the rule once, for the frame and for its picture: a camera with an aspect of its own is previewed in that shape; a camera without one, and the Storyboard, take the stage's, so a Storyboard frame does not change shape from block to block. - The viewfinder passes the stage's aspect explicitly. It fills the frame the stylesheet outlines at the stage's aspect, and the camera-rigs branch only ever shaped the camera-preview frame this way. This also corrects two faults in the earlier resolution of poseCameraFor: it took the aspect of whichever camera drew a Storyboard frame, and it let the viewfinder take a camera's own aspect. ## validation - npx tsc --noEmit - No browser script was run; the frame's shape is checked in both languages when the feature's browser scripts are adapted.
## summary A camera preset is placed by clicking a subject, and a new stage opens without any. Until the stage has a character or an object: - every preset button is disabled, and the Cameras tab says why, in the same form as the core placement hints; - a preset that was already armed is cancelled when the last subject goes, instead of waiting for a click that has nothing to hit. The message entry editors.stage.ui.cameraPresetNeedsSubject is added in both languages. ## validation - npx tsc --noEmit - npm run check:i18n - No browser script was run; the disabled state is checked in both languages when the feature's browser scripts are adapted.
…'s bar ## summary The camera-preview frame shows the preview-source selector in its control bar while it is open. The bar now lays it out next to the drag handle and before the collapse toggle: - the selector is sized by its options, and gives way before it could reach the handle or the toggle; a long camera name is cut with an ellipsis instead of widening the frame; - it takes the pointer itself, as the two buttons do, so the frame around the controls still passes clicks through and the drag still starts from the handle alone; - it takes the frame's own surface, border and type size, and shows a focus border in the same way as the console's other selectors. ## validation - Not checked in a browser. Whether it fits in both languages, and that the later duplicate rules in the stylesheet do not override it, are to be looked at when the feature's browser scripts are adapted.
## summary Cover the camera endpoint functions the Director Stage uses to edit a camera through its body and its viewpoint: - a camera's body and viewpoint have stable identities derived from the camera, and sample to the camera's position and target; - moving one end leaves the other end where it was; - a viewpoint moved onto its camera's position is refused. An existing round-trip test also asserts that the legacy keyframe projection keeps the frame a camera edit authored. ## validation - npx tsc --noEmit - node --test tests/canvasStage.test.ts (59 passed)
…view state ## summary Adapt the camera-rigs view-state tests to the core view state, where the preview source is a required argument and a selection is a subject, a camera or nothing: - a camera is edited through its body or its viewpoint: both are the same camera selection, told apart by cameraEndpoint, and every other gizmo mode than translation is refused for both. A subject keeps the mode the director chose; - selecting a camera or its end leaves the preview source, the selected Storyboard block and the camera preview as they were; - the preview source is independent from the main selection; - a camera preset arms an exclusive interaction mode that a placement, the viewfinder or another preset replaces, and that pressing the armed preset again ends; - the export dialog reopens at the frame rate last used, with the source and clarity of the call. The decisions are the local tickets 06 (preset placement), 07 (preview source) and 08 (selection model). ## validation - npx tsc --noEmit - node --test tests/directorStageViewState.test.ts (18 passed)
## summary Add a section to the user guide, in English and Chinese with the same content, before the two Director Stage Storyboard sections. It explains: - the main viewport is the director's own view: dragging it changes no camera and adds nothing to undo; - each camera is a rig with a body and a viewpoint, either end can be selected and moved, and dragging the viewpoint changes where the camera looks; - a camera is added by clicking a preset and then a character or an object, with `Esc` to cancel and the presets unavailable on a stage without a subject; - the drop-down on the camera-preview frame chooses the Storyboard or a camera, beside the frame's handle and collapse switch; the viewfinder and the split view's right pane, and that selecting a camera in the object tree does not change the preview; - the frame takes the camera's own aspect ratio, and the stage's for the Storyboard. ## validation - Markdown checked by the repository's pre-commit hooks. - Not walked through by a reader; the interface names follow the message entries of both languages.
## summary A still shows the picture of the preview source, as it does on core. The Director View change had left the still going through the viewport's camera, which is now the director's own view, so a still pictured the stage from the director's seat instead of from the previewed camera. captureOutputStill now poses a camera of its own for the preview frame, the way the preview surfaces pose theirs: position, target, up vector and roll of the camera the preview source names, at the frame time a preview shows. The output size still fixes the picture's shape, so a camera's own aspect ratio is not extended to stills. The viewport's camera is no longer touched at all, not even its aspect. The objects are posed for the preview frame and put back at the playhead afterwards, as before. ## validation - npx tsc --noEmit - npm test (990 passed) - No browser script was run at this commit; the still is checked by director_stage_storyboard.mjs once that script is adapted.
## summary
- Fix a second `const stageBox` in one `try` block, a syntax error the
camera-rigs branch carried from its first commit.
- Name the subject the seed stage holds ("Subject"), and let the seed
camera keep the name the imported file gives it in either language.
- The below-ground pixel read counts every pixel. The Director View
stands farther from the subject than the stage camera the journey was
written for, so the lit part below the ground is a few pixels wide; the
point, the window and the threshold are as they were.
- After the first apply the camera holds one frame as well: the viewpoint
edit in this journey keys the camera's target at the playhead. The
subject keeps exactly its parked frame and the drag adds none.
- The orbit check selects the camera first, so its endpoints are on read,
drags in an open stretch of the viewport (the old start lands on the
view readout's reset button in the compact layout) and also checks that
the director's view did turn.
- The persisted pose is compared as the server stores it, `roll: 0`
included.
Decisions: Director View and orbit write nothing (issues 05), camera and
viewpoint selection (08), test dispositions (11).
## validation
- tests/browser/director_stage_gizmo.mjs in en-US and zh-CN against the
isolated servers on 5191/8031: both pass.
- Before the fix the script did not parse (Identifier 'stageBox' has
already been declared).
## summary The camera preset journey is rewritten for a stage that opens without a subject, as stages do on core: - Until a character is placed every preset is disabled and the Cameras tab says why; the journey places one, seats it at the origin and turns it, and checks that the presets are enabled and the reason is gone. - The Cameras tab offers presets only: no add button and no second list, and no duplicate button in the inspector. Placing a preset is the only way a camera is added. - An armed preset survives a click on empty space and is cancelled by Escape. - The placed camera follows the subject's local facing, is the camera selected in the scene tree and the one the camera preview shows, and is the stored active camera after apply. - The persisted pose is compared as the server stores it, `roll: 0` included. Decisions: two-step presets and the single add path (issues 06), the Director View the click is projected from (05), test dispositions (11). ## validation - tests/browser/director_stage_camera_preset.mjs in en-US and in zh-CN against the isolated servers on 5191/8031: both pass. - npm run check:browser-manifest and npm run check:browser-locale pass. - The backend's StageCamera contract serializes a pose with `roll: 0.0` whether or not a roll is sent (checked with a one-off script against the model; no test file was added).
## summary The console gives every select a 30px minimum height. The preview-source selector in the camera-preview frame's control bar was therefore 30px high although the rule for it says 22px, so the open frame's bar grew around it and the collapse toggle sat 4px lower while the frame was open than once it had collapsed. The selector now carries the same 22px minimum. The bar is one row as high as its buttons whether the frame is open or collapsed, and the toggle stays where it was. ## validation - tests/browser/director_stage_visual_v1.mjs (en-US) against the isolated servers on 5191/8031 passes with the next commit's adaptation of that script, including its check that the toggle does not move when the frame collapses. Before this fix that check read the toggle 4px lower in the open frame. - The bar measured 30px with the selector and 22px without it; it is 22px in both states now.
## summary The camera-preview frame, the viewfinder and the split view's right pane draw the scene through the preview camera with the rigs switched off and nothing else. With a subject, a camera body or a viewpoint selected, the transform handles that stand on it in the director's view were drawn into those pictures as well. renderPreview now switches the three gizmo helpers off for its render together with the rigs, and back on afterwards. It runs every frame and still only changes visibility. The grid and the motion paths reach a preview as they did before; a still and the Storyboard pictures already left the handles out. ## validation - tests/browser/director_stage_visual_v1.mjs (en-US) against the isolated servers on 5191/8031, with its check that the camera preview holds no handle-coloured pixel while the director's view shows them: it passes. With the three helpers left out of the hidden list the same check fails (66 red, 63 green and 61 blue pixels in the preview). - With a subject, a second subject, a camera body and a viewpoint selected in turn, the camera preview, the viewfinder and the split pane hold no handle-coloured pixel, while the director's view holds about a thousand of each colour. - npx tsc --noEmit and npm test (990 passed).
## summary - The camera-preview section follows core's frame: the drag handle, the label and the toggle with aria-expanded are tested as core tests them. The open frame carries the preview-source selector under the same name the inspector's has, the two are one choice, and switching it changes the preview's pixels. - A second camera comes from a preset placed on the journey's character, no longer from a duplicate button. - The selector is checked to sit in the frame's bar without covering the handle or the toggle and to stay inside the frame; a collapsed frame keeps its class instead of leaving the page. - The camera preview holds no transform handle while the director's view shows the selected camera's. - The journey runs in another language with DIRECTOR_STAGE_LOCALE, and that run's pictures end in the language's code. Decisions: core's frame carrying the selector (issues 07), the single add path (06), test dispositions (11). ## validation - tests/browser/director_stage_visual_v1.mjs in en-US and in zh-CN against the isolated servers on 5191/8031: both pass. - npm run check:browser-manifest and npm run check:browser-locale pass.
## summary The console journey added its second camera with the inspector's duplicate button, which no longer exists: a camera is added by placing a preset on a subject and in no other way. The journey now selects the camera's row in the scene tree, which the inspector follows and nothing else, arms a preset, clicks a character, and finds the new camera selected. The camera preview shows the camera that was placed and collapses and expands in place; it does not follow the selection. Decisions: two-step presets as the single add path (issues 06), a tree row that only selects (08), test dispositions (11). ## validation - tests/browser/director_stage_console.mjs (en-US, the only language it is written in) against the isolated servers on 5191/8031: it passes.
## summary - The viewfinder check presses the button, which is what the viewfinder is on core: the journey's `check()` waited for a checkbox that never comes. - "The viewfinder hides director labels" reads every name layer the viewport holds. The development server mounts the viewport twice and core's cleanup leaves one empty name layer behind, so a single-element read found two. Decisions: test dispositions (issues 11). ## validation - tests/browser/director_stage_output.mjs (en-US, the only language it is written in) against the isolated servers on 5191/8031: the viewfinder part passes. The journey then stops where it also stops on the base f43efcf: after the stage is reopened it waits for a subject's "Position X" field, and a stage opens without a subject on core. That step is core's and is left as it is. - A copy of this script that places a subject before the first reopening runs to the end in en-US: two stills, the viewfinder, two preview MP4 exports, publication, the timeline reference and the reload.
## summary The gate read the main viewport as the previewed camera's picture and used camera controls that the Director View and the two-step preset replaced: - A second camera is placed with a preset on a character the journey places first, no longer through an add button. The stored active camera is the placed one, as before. - The preview is read where it shows: in the camera-preview frame while the viewfinder is closed, and in the viewport while it is open. The direct reads of the viewport follow the same rule; the split view's left pane is the director's view and is no longer read as a camera. - "The editing scene advances under a held picture" is gone: the viewport holds no picture. - The camera-list table is the scene tree alone. A camera row or its viewpoint row selects and does nothing else: it neither moves the preview nor writes the stored active camera, under a camera preview and under the Storyboard. The Cameras tab's list and its pressed marks are not read any more. - The orbit check reads: a drag turns the director's view (its readout changes), edits no camera and writes no history. - The one-step preset check is gone with the preset it checked. - A tree row's name is read without its decorative icon. - Pictures made while the playhead runs are watched in the camera preview; the viewport is watched only where a picture is drawn into its corner. - The manifest note follows the journey. Decisions: the Director View (issues 05), two-step presets (06), a tree row that only selects (08), the still taken through the preview source (the brief's correction after phase one), test dispositions (11). ## validation - tests/browser/director_stage_storyboard.mjs in en-US (482 s) and in zh-CN (480 s) against the isolated servers on 5191/8031: both pass, including the two still checks, the viewfinder's held pick and the exported MP4. - npm run check:browser-manifest and npm run check:browser-locale pass.
## summary Two rules came over from the camera-rigs branch with no element to style: the group wrapper's margin and the viewpoint row's icon colour. The scene tree marks its rows with other classes. Both rules are removed; nothing in the interface changes. ## validation - npx tsc --noEmit and npm run build pass. - A search of src and tests finds no other use of either class.
## summary The visual journey ends with a second Director Stage, stored the way an Agent stores one, whose three cameras differ only in their output aspect. The interface has no field for a camera's own aspect, so a document is the only way one arrives. The camera-preview frame is checked to take each camera's own shape (9:16, 1:1, 16:9) and, on the Storyboard, the stage's shape although its one block is cut by the tall camera. Decisions: the frame shaped by the camera's own aspect ratio (issues 07). ## validation - tests/browser/director_stage_visual_v1.mjs in en-US and in zh-CN against the isolated servers on 5191/8031: both pass. - npm run check:browser-manifest passes.
## summary The pictures under artifacts/director-stage/visual are made again for the screens that the Director View, the camera rigs and the preview-source selector change: the shell, the shell in dynamic mode, the camera-preview frame and the view-settings menu, at 1700x1100 and at 1920x1080, in English under the names they already had and in Chinese under new names ending in .zh-CN. The viewfinder picture is not changed by the feature and stays as it was. The rest of core's older pictures stay with core. ## validation - tests/browser/director_stage_visual_v1.mjs four times, in en-US and in zh-CN at 1700x1100 and at 1920x1080, against the isolated servers on 5191/8031: all four pass, and the pictures are what it wrote.
## summary - In the Director Stage Storyboard journey, the second background image's "request held" signal now waits for the import notice before it asks the pictures to settle, as the first image's signal does. - The signal is any held asset content request. The Background tab's own preview of the newly registered asset makes one, and the library's card can commit before the stage names the image as its background. The blocks then still hold the pictures made for the orange texture, ready, so the wait for settled pictures returned on those; the read that followed saw the stage's edit committed with no picture yet, and the pictures made after the refusal no longer matched. - The notice is written in the same commit as the stage's edit, so the pictures read after it are made for the background the request belongs to. The assertion and every timeout are unchanged. ## validation - `tests/browser/director_stage_storyboard.mjs` on the isolated pair, not throttled: en-US (450 s) and zh-CN (465 s) passed end to end. A first zh-CN attempt stopped at the journey's opening wait for the saved label (line 432, 20 s timeout) and was not investigated. - A throwaway probe copy of the script, not committed, with the page's CPU throttled 8x and the server's answer to the second `asset.import` held back 600 ms after it was applied: without this change the assertion fails twice with `expected [ null, null ]` (2 of 2); with this change it passes (1 of 1). - `npm run check:browser-manifest` and `npm run check:browser-locale`: clean. Signed-off-by: MrDongsls <87852321+MrDongsls@users.noreply.github.com>
## summary - tests/browser/director_stage_output.mjs imports the same minimal single-subject stage as the gizmo journey right after the stage is created, the way 5b626fb seeded the other stage journeys. - New stages start empty since 5b626fb, so the reopened stage had no selected subject and the Position X fill timed out. - Assertions, step order and timeouts are unchanged. ## validation - node tests/browser/director_stage_output.mjs (en-US) against the isolated creation server and the Vite dev server, run from a working tree whose only change is this file: passed end to end twice. Before the change the same command stopped at line 211 with locator.fill: Timeout 20000ms exceeded. - node --check tests/browser/director_stage_output.mjs. Signed-off-by: MrDongsls <87852321+MrDongsls@users.noreply.github.com>
## summary - The Director Stage Storyboard journey's success output listed two checks in the words used before the camera rigs landed: that an orbit, a preset and the viewfinder's field of view edit the camera the preview shows, and that a camera-list click moves the preview and writes the stored active camera. The journey asserts the opposite since the Director View, preset placement and selection-only tree rows landed, so the gate reported both as passed in words that are no longer true. - Both lines now say what the journey checks: dragging the viewport turns only the director's view and writes nothing, a field of view committed from the viewfinder lands on the camera the preview shows, and a scene-tree camera row selects that camera only. ## validation - node --check tests/browser/director_stage_storyboard.mjs. - tests/browser/director_stage_storyboard.mjs on the isolated pair, en-US: passed end to end, and its success output carries the two new lines. Signed-off-by: MrDongsls <87852321+MrDongsls@users.noreply.github.com>
## summary - The Cameras tab's note still told the user to select a camera and edit its framing on the right, from the tab that used to list cameras. The tab offers presets only, so the note now says what to do there: choose a preset, then click a character or object in the viewport to place a new camera. Both languages. - The four camera-preview evidence pictures show that tab, so they are made again. ## validation - npx tsc --noEmit, npm run check:i18n, npm run check:browser-locale, npm run check:browser-manifest, npm test. - tests/browser/director_stage_camera_preset.mjs, en-US and zh-CN: passed end to end. - tests/browser/director_stage_visual_v1.mjs at 1700x1100 and 1920x1080, en-US and zh-CN: passed end to end; the four v5-stage-pip pictures are its output. Signed-off-by: MrDongsls <87852321+MrDongsls@users.noreply.github.com>
## summary - The heading of the new section in the Chinese user guide read 执导舞台. The interface and the two Storyboard sections next to it say 导演台. ## validation - Read the heading beside its neighbouring sections in docs/guides/user-guide.zh-CN.md. Signed-off-by: MrDongsls <87852321+MrDongsls@users.noreply.github.com>
…ng playhead ## summary - The step that watches pictures while the playhead runs reads each marker's share from the camera preview's canvas, because the viewport is the director's view. Its success line and two assertion messages still called that picture the viewport. - They name the camera preview now. The viewport is named only where the step does look at it, its bottom-left corner. ## validation - node --check tests/browser/director_stage_storyboard.mjs. Signed-off-by: MrDongsls <87852321+MrDongsls@users.noreply.github.com>
MrDongsls
force-pushed
the
feat/stage-camera-rigs
branch
from
November 30, 2026 09:49
99c96eb to
f5f15b2
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Director Stage cameras are independent scene objects with separate viewpoints, director-view control, and small camera-output monitors. Camera presets can be placed relative to the selected character or object, while the main viewport remains the Director View.
Merge order
main.GitHub base note
The upstream repository grants this account read-only access, so GitHub cannot use the fork-only Core branch as the formal base of an upstream PR. This draft targets upstream
main; review it after Core using the intended deltafeat/director-stage-core..feat/stage-camera-rigs, then merge it after that prerequisite.Scope
This PR does not change Agent publishing and does not introduce a second business publication path.
Historical references
Evidence
After: cameras and viewpoints are independently selectable, the Director View is stable, and camera monitors/presets have dedicated behavior.
npm run buildpasses.npm test— 894 passed, 0 failed.npm run check:i18n— 3215 keys, 0 problems..venv/bin/python -m pytest -q tests/test_director_stage_assets.py— 30 passed.Merge Danger
Door: two-way
Blast Radius: Viewport