UI improvements: Leadspeicher, Maps enrichment, exports

- Rename LeadVault → Leadspeicher throughout (sidebar, topbar, page)
- SidePanel: full lead detail view with contact, source, tags (read-only), Google Maps link for address
- Tags: kontaktiert stored as tag (toggleable), favorit tag toggle
- Remove Status column, StatusBadge dropdown, Priority feature
- Remove Aktualisieren button from Leadspeicher
- Bulk actions: remove status dropdown
- Export: LeadVault Excel-only, clean columns, freeze row + autofilter
- Export dropdown: click-based (fix overflow-hidden clipping)
- ExportButtons: remove CSV, Excel only everywhere
- Maps page: post-search Anymailfinder enrichment button
- ProgressCard: "Suche läuft..." instead of "Warte auf Anymailfinder-Server..."
- Quick SERP renamed to "Schnell neue Suche"
- Results page: Excel export, always-enabled download button
- Anymailfinder: fix bulk field names, array-of-arrays format
- Apify: fix countryCode lowercase
- API: sourceTerm search, contacted/favorite tag filters

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Timo Uttenweiler
2026-03-21 18:12:31 +01:00
parent f914ab6e47
commit 115cdacd08
26 changed files with 511 additions and 521 deletions

View File

@@ -19,6 +19,8 @@ const FIELD_MASK = [
"places.formattedAddress",
"places.nationalPhoneNumber",
"places.businessStatus",
"places.editorialSummary",
"places.primaryTypeDisplayName",
"nextPageToken",
].join(",");
@@ -29,6 +31,8 @@ export interface PlaceResult {
domain: string | null;
address: string;
phone: string | null;
description: string | null;
category: string | null;
}
interface PlacesApiResponse {
@@ -39,6 +43,8 @@ interface PlacesApiResponse {
formattedAddress?: string;
nationalPhoneNumber?: string;
businessStatus?: string;
editorialSummary?: { text: string };
primaryTypeDisplayName?: { text: string };
}>;
nextPageToken?: string;
}
@@ -85,6 +91,8 @@ export async function searchPlaces(
domain,
address: place.formattedAddress || "",
phone: place.nationalPhoneNumber || null,
description: place.editorialSummary?.text || null,
category: place.primaryTypeDisplayName?.text || null,
});
}