diff --git a/apps/contacts/apps/web/src/lib/components/favorites/FavoriteAlphabetView.svelte b/apps/contacts/apps/web/src/lib/components/favorites/FavoriteAlphabetView.svelte deleted file mode 100644 index 935f4f952..000000000 --- a/apps/contacts/apps/web/src/lib/components/favorites/FavoriteAlphabetView.svelte +++ /dev/null @@ -1,494 +0,0 @@ - - -
- -
- {#each availableLetters as letter} -
- -
- {letter} - {groupedContacts[letter].length} -
- - -
- {#each groupedContacts[letter] as contact (contact.id)} -
onContactClick(contact.id)} - onkeydown={(e) => e.key === 'Enter' && onContactClick(contact.id)} - class="alphabet-card" - > - -
- {#if contact.photoUrl} - {getDisplayName(contact)} - {:else} - {getInitials(contact)} - {/if} -
- - -
-

{getDisplayName(contact)}

-
- {#if contact.jobTitle && contact.company} - {contact.jobTitle} @ {contact.company} - {:else if contact.company} - {contact.company} - {:else if contact.email} - {contact.email} - {/if} -
- {#if contact.phone || contact.mobile || contact.email} -
- {#if contact.phone || contact.mobile} - - - - - {contact.mobile || contact.phone} - - {/if} - {#if contact.email} - - - - - {contact.email} - - {/if} -
- {/if} -
- - -
- {#if contact.phone || contact.mobile} - e.stopPropagation()} - class="action-btn action-call" - title="Anrufen" - > - - - - - {/if} - {#if contact.email} - e.stopPropagation()} - class="action-btn action-email" - title="E-Mail senden" - > - - - - - {/if} - -
-
- {/each} -
-
- {/each} -
- - -
- {#each alphabet as letter} - - {/each} - {#if availableLetters.includes('#')} - - {/if} -
-
- - diff --git a/apps/contacts/apps/web/src/lib/components/favorites/FavoriteCardView.svelte b/apps/contacts/apps/web/src/lib/components/favorites/FavoriteCardView.svelte deleted file mode 100644 index de131246c..000000000 --- a/apps/contacts/apps/web/src/lib/components/favorites/FavoriteCardView.svelte +++ /dev/null @@ -1,363 +0,0 @@ - - -
- {#each contacts as contact (contact.id)} -
onContactClick(contact.id)} - onkeydown={(e) => e.key === 'Enter' && onContactClick(contact.id)} - class="favorite-card" - > - -
- - - - - -
- {#if contact.photoUrl} - {getDisplayName(contact)} - {:else} - {getInitials(contact)} - {/if} -
- - -
-

{getDisplayName(contact)}

- {#if contact.jobTitle} -

{contact.jobTitle}

- {/if} - {#if contact.company} -

{contact.company}

- {/if} - - -
- {#if contact.email} -
- - - - {contact.email} -
- {/if} - {#if contact.phone || contact.mobile} -
- - - - {contact.mobile || contact.phone} -
- {/if} - {#if contact.birthday} -
- - - - {new Date(contact.birthday).toLocaleDateString('de-DE', { - day: 'numeric', - month: 'long', - })} -
- {/if} -
-
- - - -
- {/each} -
- - diff --git a/apps/contacts/apps/web/src/lib/components/favorites/FavoriteListView.svelte b/apps/contacts/apps/web/src/lib/components/favorites/FavoriteListView.svelte deleted file mode 100644 index 2377f9f93..000000000 --- a/apps/contacts/apps/web/src/lib/components/favorites/FavoriteListView.svelte +++ /dev/null @@ -1,324 +0,0 @@ - - -
- {#each contacts as contact (contact.id)} -
onContactClick(contact.id)} - onkeydown={(e) => e.key === 'Enter' && onContactClick(contact.id)} - class="favorite-row" - > - -
- {#if contact.photoUrl} - {getDisplayName(contact)} - {:else} - {getInitials(contact)} - {/if} -
- - -
-
-

{getDisplayName(contact)}

- {#if contact.jobTitle || contact.company} -

- {[contact.jobTitle, contact.company].filter(Boolean).join(' @ ')} -

- {/if} -
- - -
- {#if contact.email} -
- - - - {contact.email} -
- {/if} - {#if contact.phone || contact.mobile} -
- - - - {contact.mobile || contact.phone} -
- {/if} - {#if contact.birthday} -
- - - - {new Date(contact.birthday).toLocaleDateString('de-DE', { - day: 'numeric', - month: 'short', - })} -
- {/if} -
-
- - -
- {#if contact.phone || contact.mobile} - e.stopPropagation()} - class="action-btn action-call" - title="Anrufen" - > - - - - - {/if} - {#if contact.email} - e.stopPropagation()} - class="action-btn action-email" - title="E-Mail senden" - > - - - - - {/if} - -
-
- {/each} -
- - diff --git a/apps/contacts/apps/web/src/lib/components/skeletons/FavoriteCardSkeleton.svelte b/apps/contacts/apps/web/src/lib/components/skeletons/FavoriteCardSkeleton.svelte deleted file mode 100644 index 5d5d3214b..000000000 --- a/apps/contacts/apps/web/src/lib/components/skeletons/FavoriteCardSkeleton.svelte +++ /dev/null @@ -1,62 +0,0 @@ - - -
- -
- -
- - -
- -
- -
- - -
- -
- - -
- - -
-
-
- - diff --git a/apps/contacts/apps/web/src/lib/components/skeletons/FavoriteGridSkeleton.svelte b/apps/contacts/apps/web/src/lib/components/skeletons/FavoriteGridSkeleton.svelte deleted file mode 100644 index 452e4c079..000000000 --- a/apps/contacts/apps/web/src/lib/components/skeletons/FavoriteGridSkeleton.svelte +++ /dev/null @@ -1,56 +0,0 @@ - - -
- {#each Array(count) as _, i} - - {/each} -
- - diff --git a/apps/contacts/apps/web/src/routes/(app)/favorites/+page.svelte b/apps/contacts/apps/web/src/routes/(app)/favorites/+page.svelte deleted file mode 100644 index 528c0bed3..000000000 --- a/apps/contacts/apps/web/src/routes/(app)/favorites/+page.svelte +++ /dev/null @@ -1,767 +0,0 @@ - - - - Favoriten - Contacts - - -
- -
-
-
- - - -
-
-

Favoriten

-

- {#if contacts.length === 0} - Markiere Kontakte als Favoriten für schnellen Zugriff - {:else} - {contacts.length} Favorit{contacts.length !== 1 ? 'en' : ''} für schnellen Zugriff - {/if} -

-
-
- - - {#if contacts.length > 0} -
-
-
- - - -
-
- {contacts.length} - Favoriten -
-
-
-
- - - -
-
- {contacts.filter((c) => c.email).length} - Mit E-Mail -
-
-
-
- - - -
-
- {contacts.filter((c) => c.phone || c.mobile).length} - Mit Telefon -
-
-
- {/if} -
- - -
- -
- - - - - {#if searchQuery} - - {/if} -
- - -
- - - -
-
- - {#if error} - - {/if} - - {#if loading} - - {#if viewMode === 'cards'} - - {:else} - - {/if} - {:else if contacts.length === 0} -
-
- - - -
-

Keine Favoriten

-

- Markiere Kontakte als Favoriten, um sie hier schnell wiederzufinden. Klicke einfach auf das - Herz-Symbol bei einem Kontakt. -

- - - - - Zu allen Kontakten - -
- {:else if filteredContacts.length === 0} -
- -

Keine Ergebnisse

-

Keine Favoriten gefunden für "{searchQuery}"

- -
- {:else} - -
- {#if viewMode === 'cards'} - - {:else if viewMode === 'list'} - - {:else} - - {/if} -
- - - - {/if} -
- -