From 4bc11efc25dbcd5df0327d4ac33d4fe7666e15ec Mon Sep 17 00:00:00 2001 From: Agent Zero Date: Mon, 20 Jul 2026 00:25:58 +0200 Subject: [PATCH] UI: Suchfeld 10% niedriger, Kontakt-Baum mit Firmen/Privatpersonen Trennung, Toolbar vereinfacht (Sort+View Toggle) --- .../components/contacts/ContactFolderTree.tsx | 153 ++++++++++-------- .../src/components/shared/SearchDropdown.tsx | 2 +- frontend/src/i18n/locales/de.json | 1 + frontend/src/i18n/locales/en.json | 1 + frontend/src/pages/ContactsList.tsx | 104 ++++++++---- 5 files changed, 165 insertions(+), 96 deletions(-) diff --git a/frontend/src/components/contacts/ContactFolderTree.tsx b/frontend/src/components/contacts/ContactFolderTree.tsx index d7c61a9..f333ba2 100644 --- a/frontend/src/components/contacts/ContactFolderTree.tsx +++ b/frontend/src/components/contacts/ContactFolderTree.tsx @@ -1,4 +1,4 @@ -import React from 'react'; +import React, { useState } from 'react'; import clsx from 'clsx'; import { useTranslation } from 'react-i18next'; @@ -11,12 +11,28 @@ export interface ContactFolderTreeProps { loading?: boolean; } -const folderIcon = (path: string) => ( - {folder.label} - - ))} +