From 10d94d676b999140fd3f89658b9efdab1ac63391 Mon Sep 17 00:00:00 2001 From: Falkan Date: Tue, 17 Mar 2026 16:14:37 -0400 Subject: [PATCH] =?UTF-8?q?refactor:=20bulk=20bar=20=E2=80=94=20two-row=20?= =?UTF-8?q?layout,=20better=20contrast,=20controls=20only=20when=20active?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/units.json | 18 +++++- src/routes/admin/+page.svelte | 105 +++++++++++++++++++--------------- 2 files changed, 73 insertions(+), 50 deletions(-) diff --git a/data/units.json b/data/units.json index f9a1a0b..a349978 100644 --- a/data/units.json +++ b/data/units.json @@ -5,7 +5,7 @@ "label": "Blurb", "labelPlural": "Blurbs", "symbol": "bl", - "group": "florp", + "group": "the-third-group", "toBase": 1 }, { @@ -13,7 +13,7 @@ "label": "Snorp", "labelPlural": "Snorps", "symbol": "sn", - "group": "florp", + "group": "non-florp-units", "toBase": 7.5 }, { @@ -21,7 +21,7 @@ "label": "Krumble", "labelPlural": "Krumbles", "symbol": "kr", - "group": "florp", + "group": "the-third-group", "toBase": 0.25 }, { @@ -39,6 +39,18 @@ "label": "Florp Units", "baseUnitId": "blurb", "toUniversal": 1 + }, + { + "id": "non-florp-units", + "label": "The other group", + "baseUnitId": "", + "toUniversal": 1 + }, + { + "id": "the-third-group", + "label": "The third group", + "baseUnitId": "", + "toUniversal": 1 } ] } diff --git a/src/routes/admin/+page.svelte b/src/routes/admin/+page.svelte index 008868f..a6796f3 100644 --- a/src/routes/admin/+page.svelte +++ b/src/routes/admin/+page.svelte @@ -270,41 +270,44 @@