Repository navigation
fix(flow): bind edit composers and exclude non-composer panels across builds - #43
Conversation
- Bind image edit prompt boxes and exclude non-composer panels - Include kf segments in fallback PromptState document updates - Route scene clips to /scene/, check alerts, and reject scenes - Track latest_variant_id in history while keeping primary URLs
byteland-app
left a comment
There was a problem hiding this comment.
selectSceneClip falls back to the first visible clip if it cannot match the requested ID. The caller then reports opened: true as soon as any edit composer appears. The edit can target a different clip. Require a matching clip ID and check the selected clip after selection. Return a selection error when you cannot prove the match. Verify a two-clip timeline where the requested clip is absent or has not loaded.
- Require an unambiguous clip ID match without first-clip fallback - Reject unloaded or placeholder clips in scene timelines - Verify selected clip state in DOM and Angular component inputs - Return a selection error when the editor cannot prove the match
|
Addressed in
|
|
Changes requested. This PR is the one to keep of the two edit PRs (#43 and #50). I close #50 as a duplicate.
Rebase after #38 (same history parsing) and #39 are decided. |
- Collect failed history variants without timestamp keys or order - Keep primary media_status and media_error in asset snapshots - Read timeline clips from declared Angular inputs and store data - Allow selection of failed clips and report unreadable timelines - Move run_edit and shared open-edit checks into src/edit.rs - Keep image edit fallback active if workspace navigation fails
|
Addressed all six points in commit
|
|
I reviewed this pull request on top of current
Please split the change: the panel exclusion and image prompt-box binding could land alone. The scene-clip selection can be a second pull request. |
…m0-326e17c2-d6fd-483d-aca5-f017032cc910
- Define PromptComposerFormat for build 20261129.06 and drop kf. - Bind flow-edit-image-prompt-box and exclude non-composer panels. - Fail explicitly when no edit textbox opens and keep scene duration. - Cut scene clip timeline and tile history changes for a second PR. - Bail fast when a failed primary fails again in wait_for_new_assets.
|
Addressed all six review items and split out the scene-clip /
Verified with |
- Merge upstream main through commit d34417e into this branch - Register recent prompt composer formats in ts/frontend_recent.ts - Add verified prompt composer fields for Flow build 20261202.00
Summary
Bind
flow-edit-image-prompt-box, exclude non-composer panels across routes, wire verifiedPromptComposerFormatfields throughts/frontend_builds.ts,ts/frontend_recent.ts,ts/frontend_nov29.ts, andts/frontend_dec02.ts, fail explicitly when no edit prompt box opens, and detect re-failures on already-failed primaries without waiting 420 seconds (scene-clip timeline selection is split out for a separate pull request):PromptComposerFormatints/frontend_builds.ts,ts/frontend_recent.ts,ts/frontend_nov29.ts, andts/frontend_dec02.ts: Removekffromts/prompt_writer.tsandts/types.ts. DefinePromptComposerFormat(LEGACY_PROMPT_COMPOSER,NOVEMBER_20_PROMPT_COMPOSER,NOVEMBER_29_PROMPT_COMPOSERforboq_labs-ai-sandbox-frontend_20261129.06_p0, andDECEMBER_02_PROMPT_COMPOSERforboq_labs-ai-sandbox-frontend_20261202.00_p0:Oa,hp,Nf,Be,If,Xhb,dN,Mh,tf,Td,submit,kQ,ZQ,UZ,dAa,yA,Kw,rl,Dp), and read composer fields throughpromptComposerFormat()acrosscomposer.ts,prompt_writer.ts,setup_generation.ts,attach_ingredients.ts,submit_generation.ts, andvideo_ops.ts.flow-edit-image-prompt-boxand exclude non-composer panels: Includeflow-edit-image-prompt-boxalongsideflow-edit-video-prompt-boxin textbox lookup,BasePromptBoxInstanceresolution,writePromptBoxseeds, settings dismissal, warning checks, and submit button targeting. Exclude verified non-composer panels (flow-agent-panel,.agent-panel-wrapper,flow-creative-agent-prompt-box,flow-applet-chat-sidebar,flow-applet-prompt-box,flow-editor-side-panel,flow-editor-history-panel,flow-comments-panel,.embedded-comments-panel,flow-comment-region-overlay,flow-comment-timeline-lane) on every route.sceneduration compatibility, andsrc/edit.rsextraction: MoveEditParams,check_open_edit_errors, andrun_edittosrc/edit.rs. Keepmainsupport forscenetiles with a duration (target.duration.is_some()/hasTileDuration), reject durationlessscene,character(pointing toflow_character_edit), andaudio, surface.too-long-overlay/[role="alert"]/flow-alert-dialogbanners, and fail with an error instead of downloading the image and spending credits on a workspace generation whenhas_textboxisfalse.wait_for_new_assets: Trackwatched_restarted,stalled_failed_polls, and baselineprimary_media_id,prev_media_error, andprev_created_atso an already-failed primary that fails again exits promptly instead of waiting 420 s.tile.historyscanning: Restorets/scene_tiles.ts,ts/read_store_snapshot.ts,src/assets.rs, andsrc/characters.rstomainfor a separate pull request.Verification
cargo xtask ci(cargo fmt --all -- --check,cargo xtask check,tsc --noEmit,esbuild,cargo clippy --locked --workspace --all-targets -- -D warnings,cargo doc --locked --workspace --no-deps --document-private-items,cargo build --locked --workspace, andcargo deny --locked --workspace check).google-chrome --headless=new) against bothboq_labs-ai-sandbox-frontend_20261129.06_p0andboq_labs-ai-sandbox-frontend_20261202.00_p0:UZ()/Oa.If.Xhb()(20261202.00_p0) andXX()/Oa.Ff.hdb()(20261129.06_p0).attachIngredientsandsubmitGenerationbindflow-edit-image-prompt-boxviadN -> Mh -> tf -> Td(kQ() === trueon20261202.00_p0) andRL -> Ah -> df -> Nd(NO() === trueon20261129.06_p0), and ignoreflow-agent-panel,flow-comments-panel,flow-editor-side-panel, andflow-editor-history-paneldecoys.yA/rl/Kw/Dp, sets output count viadAa(4), and closesZQon20261202.00_p0.23tools, unchangedEditParams) and live Google Flow compatibility (flow-mcp --headless doctor --json->Verified Google Flow build (boq_labs-ai-sandbox-frontend_20261202.00_p0)).