mirror of
https://github.com/soconnor0919/hristudio.git
synced 2026-03-23 19:27:51 -04:00
Add ROS2 bridge
This commit is contained in:
40
src/components/trials/views/WizardView.tsx
Normal file
40
src/components/trials/views/WizardView.tsx
Normal file
@@ -0,0 +1,40 @@
|
||||
"use client";
|
||||
|
||||
import React from "react";
|
||||
import { WizardInterface } from "../wizard/WizardInterface";
|
||||
|
||||
interface WizardViewProps {
|
||||
trial: {
|
||||
id: string;
|
||||
status: "scheduled" | "in_progress" | "completed" | "aborted" | "failed";
|
||||
scheduledAt: Date | null;
|
||||
startedAt: Date | null;
|
||||
completedAt: Date | null;
|
||||
duration: number | null;
|
||||
sessionNumber: number | null;
|
||||
notes: string | null;
|
||||
metadata: Record<string, unknown> | null;
|
||||
experimentId: string;
|
||||
participantId: string | null;
|
||||
wizardId: string | null;
|
||||
experiment: {
|
||||
id: string;
|
||||
name: string;
|
||||
description: string | null;
|
||||
studyId: string;
|
||||
};
|
||||
participant: {
|
||||
id: string;
|
||||
participantCode: string;
|
||||
demographics: Record<string, unknown> | null;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
export function WizardView({ trial }: WizardViewProps) {
|
||||
return (
|
||||
<div className="h-full">
|
||||
<WizardInterface trial={trial} userRole="wizard" />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user