feat: support explicit live demo launch
This commit is contained in:
@@ -191,6 +191,7 @@ describe("OperatorChat", () => {
|
||||
timelineAgent={{
|
||||
messages: [],
|
||||
canRun: true,
|
||||
canRunLive: true,
|
||||
runLabel: "Run prepared workflow",
|
||||
runPreparedWorkflow,
|
||||
submitSelectedIssues: vi.fn(async () => {}),
|
||||
@@ -236,6 +237,7 @@ describe("OperatorChat", () => {
|
||||
timelineAgent={{
|
||||
messages: [],
|
||||
canRun: false,
|
||||
canRunLive: false,
|
||||
runLabel: "Run prepared workflow",
|
||||
runPreparedWorkflow: vi.fn(async () => {}),
|
||||
submitSelectedIssues,
|
||||
|
||||
@@ -59,6 +59,7 @@ export const PresentationRoute = () => {
|
||||
const timelineAgent = useTimelineAgent(demo, {
|
||||
mode: presentationTarget.mode === "live" ? "live" : "replay",
|
||||
status: targetStatus,
|
||||
liveTargetReady: targetStatusController.liveTargetReady,
|
||||
});
|
||||
const requiredDemoStage = state.location.kind === "main"
|
||||
? requirementForDemoBeat(state.location.sceneId, state.location.beatId).requiredStage
|
||||
|
||||
Reference in New Issue
Block a user