From 754e781c69dca7748c10c6e9f7a7e0d29cfae6b6 Mon Sep 17 00:00:00 2001 From: Aleix Soler Date: Mon, 21 Jul 2025 19:10:29 +0200 Subject: [PATCH] chore: improve grouped view --- .../components/StatusGroup.tsx | 7 +++- components/SettingsUI.tsx/StatusGroup.tsx | 8 ++-- .../StatusFileInfoPopup.tsx | 8 ++-- styles/components/file-explorer.css | 23 ++++++++--- styles/components/grouped-view.css | 38 +++++++++++++++++-- styles/components/settings.css | 21 +++++++--- 6 files changed, 82 insertions(+), 23 deletions(-) diff --git a/components/GroupedStatusView/components/StatusGroup.tsx b/components/GroupedStatusView/components/StatusGroup.tsx index 58b6af0..8a34f9c 100644 --- a/components/GroupedStatusView/components/StatusGroup.tsx +++ b/components/GroupedStatusView/components/StatusGroup.tsx @@ -47,7 +47,10 @@ export const StatusGroup = ({ return (
-
+
)}
-
+
= ({ onToggle, }) => (
-
-
{title}
+
+
{title}
{description && ( -
{description}
+
{description}
)}
-
+
{statuses.map((status) => ( = ({ statuses }) => {
{statusEntries.map(([groupName, statusList]) => (
-
- +
+ {groupName.toLowerCase()} - + {statusList.length}
-
+
{statusList.map((status, index) => (