From ef456cb0c10bbc3fe33175e94385aa3a32856cc7 Mon Sep 17 00:00:00 2001 From: deacon Date: Sun, 15 Mar 2026 23:48:21 -0400 Subject: [PATCH] feat: group fact source table by trait with collapsible rows Facts in the Fact Sources table are now grouped by trait name, with each group showing a header row containing the trait, the count of values, and an "Add Value" button. Individual value rows are collapsible per trait group. This restores the v4 behavior of showing one trait with multiple values grouped together rather than one row per fact. Also adds an "Add Value" button per trait group header so users can append a new value to an existing trait without having to manually retype the trait name. Addresses #28 --- src/components/sources/FactTable.vue | 100 ++++++++++++++++++++------- 1 file changed, 76 insertions(+), 24 deletions(-) diff --git a/src/components/sources/FactTable.vue b/src/components/sources/FactTable.vue index de884a3..0e0eee7 100644 --- a/src/components/sources/FactTable.vue +++ b/src/components/sources/FactTable.vue @@ -1,5 +1,5 @@