mirror of
https://github.com/soconnor0919/hristudio.git
synced 2026-09-22 20:11:27 -04:00
feat: Add Test Action button, fix ros2 config copying, fix transform functions
- Add Test Action button in experiment designer properties panel - Fix DesignerRoot to copy full ros2 config when adding actions - Add transformToWaveGoodbye and transformToAnimation cases - Fix escape sequences for NAOqi markup - Update TrialForm with FormSection, sidebar, and visible validation - Add db:reset and db:restart scripts - Update docker-compose with configurable PostgreSQL and MinIO vars
This commit is contained in:
@@ -1079,14 +1079,18 @@ export function DesignerRoot({
|
||||
}
|
||||
}
|
||||
|
||||
const defExec = actionDef.execution as any;
|
||||
const execution: ExperimentAction["execution"] =
|
||||
actionDef.execution &&
|
||||
(actionDef.execution.transport === "internal" ||
|
||||
actionDef.execution.transport === "rest" ||
|
||||
actionDef.execution.transport === "ros2")
|
||||
defExec &&
|
||||
(defExec.transport === "internal" ||
|
||||
defExec.transport === "rest" ||
|
||||
defExec.transport === "ros2")
|
||||
? {
|
||||
transport: actionDef.execution.transport,
|
||||
retryable: actionDef.execution.retryable ?? false,
|
||||
transport: defExec.transport,
|
||||
retryable: defExec.retryable ?? false,
|
||||
timeoutMs: defExec.timeoutMs,
|
||||
ros2: defExec.ros2,
|
||||
rest: defExec.rest,
|
||||
}
|
||||
: undefined;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user