From 10ff3e70e55e169a7a83f5021c4721719b51c6ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aron=20Sch=C3=BCler?= Date: Thu, 14 Dec 2023 19:38:12 +0100 Subject: [PATCH] feat: put tables in disclosures --- bun.lockb | Bin 187432 -> 187768 bytes package.json | 1 + src/AveragesTable.tsx | 32 +++++++++++++++++++++++++------- src/DataTable.tsx | 37 +++++++++++++++++++++++++++---------- src/Label.tsx | 10 +++++++--- 5 files changed, 60 insertions(+), 20 deletions(-) diff --git a/bun.lockb b/bun.lockb index 8dc9390a6b84450b96263871fe34c7bf7865b22b..3515af451b4ec071c24126deba60516371e8fd78 100755 GIT binary patch delta 20143 zcmeHvd0ZCtzW>a~qYR3OsDOxwrs4vEfDef9h&w7OE~yn5Dhdji;D#GmE})U&s9*Q3 zO)JYKMa@o`Sz?jdV(w+0)6q=RbE>16cHi%r?*!)_@45H>e)rth{lj_je%{~D`}_Is z%RKYUFkAQ4zICAXvtex-94r=R|J-}l^n|59eBSVdTMx~CZPlwqed_->;>wIgfBe+r z@;Oc6alUMLkap$Eoip~;DjbuYKZDvGppK#x-R`F-4Zz=ly})0AYlA-nGyZ^Nk*p|< zU@r!Hf~SF*?mF_JeQkiEc!Mv2J-~Sx>0_pZX5~LO(2BnRzj}&dyyWg(cy*9f#ttv>J7lm zS25$`FzGU_jL(2s(0gEJuoFzjbzn|_Vi}(&IY%7 zp!B@)G?iU4ehZkBc$wrUCFe;V2IjQ1S4}~BPPU@NDasAZ6&(@vQ4tpO`E0A^ZdMJ8 zGUr(O6YL%wx8cuudc(L`$JhH?SWIPC=cM8988ouqJS&fTMb-%Y3Y#Ny7|b>E<&&1a z2izR?8Zg(yx6*H~On)5A-aCnWLclK=Wu8H?y%$=kW5C?3I7aE&`O2L|iqZ=91u&a> z7|dMTNWTNd6;D^8ve@dVEr<<9?1u|1dxAAEN&vjs!M{T1I@nrj*y?Wrt?^8 z^;uyO411by;gMd^Yp6r-$%)3F^^f{`2%r(QKm(p_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": "^5.3.14", "ag-grid-react": "^31.0.1", "autoprefixer": "^10.4.16", + "clsx": "^2.0.0", "eslint-plugin-prettier": "^5.0.1", "firebase": "^10.7.1", "papaparse": "^5.4.1", diff --git a/src/AveragesTable.tsx b/src/AveragesTable.tsx index a0889f5..bad8841 100644 --- a/src/AveragesTable.tsx +++ b/src/AveragesTable.tsx @@ -1,5 +1,8 @@ +import { Disclosure } from "@headlessui/react"; +import { ChevronUpIcon } from "@heroicons/react/20/solid"; import { AgGridReact } from "ag-grid-react"; import { useContext } from "react"; +import { Label } from "./Label"; import { SessionContext } from "./SessionContext"; export const AveragesTable = () => { @@ -38,13 +41,28 @@ export const AveragesTable = () => { }); return sessions ? ( -
-

Averages

-

- Averages for all sessions selected in the Session Picker. -

- -
+ + {({ open }) => ( + <> + +

Average Values

+ +
+ +
+ + +
+
+ + )} +
) : (

Select a session to display data here. diff --git a/src/DataTable.tsx b/src/DataTable.tsx index 37df493..b9d084b 100644 --- a/src/DataTable.tsx +++ b/src/DataTable.tsx @@ -1,6 +1,8 @@ +import { Disclosure } from "@headlessui/react"; +import { ChevronUpIcon } from "@heroicons/react/20/solid"; import "ag-grid-community/styles/ag-grid.css"; // Core CSS import "ag-grid-community/styles/ag-theme-quartz.css"; // Theme -import { AgGridReact } from "ag-grid-react"; +import { AgGridReact } from "ag-grid-react/lib/agGridReact"; import { useContext, useState } from "react"; import { SessionContext } from "./SessionContext"; @@ -58,20 +60,35 @@ export const DataTable = () => { : []; return ( - <> -

Data

+
{jsonFileWithoutEmptyRows ? ( -
- -
+ + {({ open }) => ( + <> + +

All Data

+ +
+ +
+ +
+
+ + )} +
) : (

Select a session to display data here.

)} - +
); }; diff --git a/src/Label.tsx b/src/Label.tsx index f412097..d467d42 100644 --- a/src/Label.tsx +++ b/src/Label.tsx @@ -1,5 +1,9 @@ -import { FC, PropsWithChildren } from "react"; +import clsx from "clsx"; +import { PropsWithChildren } from "react"; -export const Label: FC = ({ children }) => ( -

{children}

+export const Label = ({ + className, + children, +}: { className?: string } & PropsWithChildren) => ( +

{children}

);