From f675b31ac91ab3e4c528234309603ce3733474cb Mon Sep 17 00:00:00 2001 From: Jake Kasper Date: Tue, 2 Sep 2025 13:12:31 -0500 Subject: [PATCH] asdf --- frontend/src/pages/History/History.js | 2 +- frontend/src/pages/Mowing/Mowing.js | 77 ++++++++++++++++++--------- 2 files changed, 52 insertions(+), 27 deletions(-) diff --git a/frontend/src/pages/History/History.js b/frontend/src/pages/History/History.js index f1630af..b971b9a 100644 --- a/frontend/src/pages/History/History.js +++ b/frontend/src/pages/History/History.js @@ -287,7 +287,7 @@ const History = () => { return (
-

Application History

+

History

-
-
-
Property
-
Areas
-
Date
-
Mower
-
Cut Height
-
Status
-
Actions
-
- {plans.length === 0 ? ( -
No mowing plans yet.
- ) : plans.map((p) => ( -
-
{p.property_name}
-
{p.section_names}
-
{new Date(p.planned_date).toLocaleDateString()}
-
{p.equipment_name || '—'}
-
{p.cut_height_inches}"
-
{p.status}
-
- - {p.status !== 'archived' && ( - - )} +
+ {filteredPlans.length === 0 ? ( +
No mowing plans yet.
+ ) : filteredPlans.map((p) => ( +
+
+
+
+

{p.property_name}

+ {p.status} +
+

+ + Areas: {p.section_names} ({Math.round(p.total_area || 0).toLocaleString()} sq ft) +

+

+ + {p.equipment_name || '—'} • Cut Height: {Number(p.cut_height_inches || 0).toFixed(2)}" • Direction: {p.direction || '—'} +

+ {p.notes && ( +

"{p.notes}"

+ )} +
+
+

{p.planned_date ? new Date(p.planned_date).toLocaleDateString() : 'No date'}

+

Last updated {new Date(p.updated_at || p.created_at).toLocaleDateString()}

+
+ {p.status === 'planned' && ( + + )} + {p.status !== 'archived' && ( + + )} +
+
))}