Refactor trial routes to be study-scoped and update navigation

This commit is contained in:
2025-09-24 15:19:55 -04:00
parent 51096b7194
commit 9431bb549b
9 changed files with 312 additions and 580 deletions

View File

@@ -61,7 +61,7 @@ export const trialExecutionItems: NavigationItem[] = [
},
{
label: "Schedule Trial",
href: "/trials/new",
href: "/studies/{studyId}/trials/new",
icon: Calendar,
roles: ["administrator", "researcher"],
requiresStudy: true,