From 4b9f729cb13a2a6bd6a93f08aa4cd37f249dc3e1 Mon Sep 17 00:00:00 2001 From: THIS ONE IS A LITTLE BIT TRICKY KRUB Date: Thu, 13 Feb 2025 21:40:27 +0700 Subject: [PATCH] feat: enhance planting details form with additional fields for spacing and depth --- frontend/app/setup/page.tsx | 11 ++- frontend/app/setup/planting-detail-form.tsx | 96 ++++++++++++++++++++- 2 files changed, 104 insertions(+), 3 deletions(-) diff --git a/frontend/app/setup/page.tsx b/frontend/app/setup/page.tsx index 5630df5..cc11086 100644 --- a/frontend/app/setup/page.tsx +++ b/frontend/app/setup/page.tsx @@ -1,7 +1,14 @@ +import PlantingDetailsForm from "./planting-detail-form"; +import { Separator } from "@/components/ui/separator"; + export default function SetupPage() { return ( -
-

Setup Page

+
+

Plating Details

+ +
+ +
); } diff --git a/frontend/app/setup/planting-detail-form.tsx b/frontend/app/setup/planting-detail-form.tsx index c3a3146..13d8a08 100644 --- a/frontend/app/setup/planting-detail-form.tsx +++ b/frontend/app/setup/planting-detail-form.tsx @@ -1,3 +1,5 @@ +"use client"; + import { Form, FormControl, @@ -29,7 +31,7 @@ export default function PlantingDetailsForm() { Day to Emerge -
+
)} /> + ( + + Plant Spacing + +
+
+ +
+
+
+ +
+ )} + /> + ( + + Row Spacing + +
+
+ +
+
+
+ +
+ )} + /> + ( + + + Planting Depth + + +
+
+ +
+
+
+ +
+ )} + /> + ( + + + Average Height + + +
+
+ +
+
+
+ +
+ )} + /> );