From 5fe24b8c5986d8613d6d3e14c30d8ce7bee975c0 Mon Sep 17 00:00:00 2001 From: Mannu Date: Mon, 18 May 2026 23:24:28 +0530 Subject: [PATCH] feat(settings): move growth CSV export from growth header to settings page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove 📥 export button from growth page header (less clutter) - Add "Export Growth Data" row in settings with child name and CSV download - Fetches growth records on demand, shows loading state while exporting Co-Authored-By: Claude Sonnet 4.6 --- src/app/growth/page.tsx | 7 ------ src/app/settings/page.tsx | 47 ++++++++++++++++++++++++++++++++++++++- 2 files changed, 46 insertions(+), 8 deletions(-) diff --git a/src/app/growth/page.tsx b/src/app/growth/page.tsx index 43f18e6..252c357 100644 --- a/src/app/growth/page.tsx +++ b/src/app/growth/page.tsx @@ -345,13 +345,6 @@ export default function GrowthPage() {

Growth 📈

-
+ {/* Export Data */} + + {/* App Version */}
App Version