From 6ce385a42e12a456885124d221f321b0d9b076fb Mon Sep 17 00:00:00 2001 From: Till-JS <101404291+Till-JS@users.noreply.github.com> Date: Sun, 14 Dec 2025 16:16:29 +0100 Subject: [PATCH] style: apply formatting fixes from pre-commit hooks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .../lib/components/ContactDetailModal.svelte | 540 ++++++++++++++++++ .../web/src/routes/(app)/network/+page.svelte | 11 - 2 files changed, 540 insertions(+), 11 deletions(-) diff --git a/apps/contacts/apps/web/src/lib/components/ContactDetailModal.svelte b/apps/contacts/apps/web/src/lib/components/ContactDetailModal.svelte index f0ccc2a63..e754a190b 100644 --- a/apps/contacts/apps/web/src/lib/components/ContactDetailModal.svelte +++ b/apps/contacts/apps/web/src/lib/components/ContactDetailModal.svelte @@ -86,6 +86,36 @@ postalCode = contact.postalCode || ''; country = contact.country || ''; notes = contact.notes || ''; + // Social Media + linkedin = contact.linkedin || ''; + twitter = contact.twitter || ''; + facebook = contact.facebook || ''; + instagram = contact.instagram || ''; + xing = contact.xing || ''; + github = contact.github || ''; + youtube = contact.youtube || ''; + tiktok = contact.tiktok || ''; + telegram = contact.telegram || ''; + whatsapp = contact.whatsapp || ''; + signal = contact.signal || ''; + discord = contact.discord || ''; + bluesky = contact.bluesky || ''; + // Auto-open social section if any social field has data + socialSectionOpen = !!( + contact.linkedin || + contact.twitter || + contact.facebook || + contact.instagram || + contact.xing || + contact.github || + contact.youtube || + contact.tiktok || + contact.telegram || + contact.whatsapp || + contact.signal || + contact.discord || + contact.bluesky + ); } function getDisplayName() { @@ -127,6 +157,20 @@ postalCode: postalCode || null, country: country || null, notes: notes || null, + // Social Media + linkedin: linkedin || null, + twitter: twitter || null, + facebook: facebook || null, + instagram: instagram || null, + xing: xing || null, + github: github || null, + youtube: youtube || null, + tiktok: tiktok || null, + telegram: telegram || null, + whatsapp: whatsapp || null, + signal: signal || null, + discord: discord || null, + bluesky: bluesky || null, }); editing = false; } catch (e) { @@ -494,6 +538,214 @@ + +
+ + {#if socialSectionOpen} + + {/if} +
+