diff --git a/apps/mana/apps/web/src/lib/modules/cards/ListView.svelte b/apps/mana/apps/web/src/lib/modules/cards/ListView.svelte index 33549ba30..a5c5cb3e0 100644 --- a/apps/mana/apps/web/src/lib/modules/cards/ListView.svelte +++ b/apps/mana/apps/web/src/lib/modules/cards/ListView.svelte @@ -3,41 +3,28 @@ Deck list with card counts and study info. --> -
{decks.length} Decks
-{dueForReview()} fällig
-Keine Decks
- {/if} -{conversations.length} Unterhaltungen
+- {conv.title || 'Neue Unterhaltung'} -
- {#if conv.isPinned} - 📌 - {/if} -- {lastMsg.sender === 'user' ? 'Du: ' : ''}{truncate(lastMsg.messageText)} -
+ {#snippet item(conv)} + {@const lastMsg = lastMessages.get(conv.id)} ++ {conv.title || 'Neue Unterhaltung'} +
+ {#if conv.isPinned} + 📌 {/if}Keine Unterhaltungen
- {/if} -+ {lastMsg.sender === 'user' ? 'Du: ' : ''}{truncate(lastMsg.messageText)} +
+ {/if} +{space.name}
{#if space.description} @@ -64,25 +54,20 @@{doc.title || 'Unbenannt'}
-Keine Dokumente
- {/if} -{doc.title || 'Unbenannt'}
+{collection.name}
- {itemsInCollection(collection.id)} -{collection.description}
+ {#snippet item(collection)} +Keine Sammlungen
- {/if} -{collection.name}
+ {itemsInCollection(collection.id)} +{collection.description}
+ {/if} + + {/snippet} + diff --git a/apps/mana/apps/web/src/lib/modules/memoro/ListView.svelte b/apps/mana/apps/web/src/lib/modules/memoro/ListView.svelte index 77e4007e1..608b34f9a 100644 --- a/apps/mana/apps/web/src/lib/modules/memoro/ListView.svelte +++ b/apps/mana/apps/web/src/lib/modules/memoro/ListView.svelte @@ -3,16 +3,28 @@ Recent memos with transcription status. --> -- {memo.title || 'Unbenanntes Memo'} -
-{memo.intro}
+ {#snippet item(memo)} ++ {memo.title || 'Unbenanntes Memo'} +
{memo.intro}
+ {/if}Keine Memos
- {/if} -{activeMood.name}
-Kein Mood aktiv
-Keine Moods
+{activeMood.name}
+Kein Mood aktiv
+{song.title}
-{song.artist ?? 'Unbekannt'}
-Noch nichts gehört
- {/if} -{song.title}
+{song.artist ?? 'Unbekannt'}
+{Math.round(totalCalories)}
-
+ {Math.round(totalCalories)}
+ {#if goal}
+ von {goal.dailyCalories} kcal
+ {:else}
+ kcal heute
+ {/if}
+ {meal.description} Noch keine Mahlzeiten heute
{meal.description}
+{images.length} Bilder
-{favoriteCount} Favoriten
-Keine Bilder
- {/if} -{plant.name}
- {#if plant.scientificName} -{plant.scientificName}
- {/if} -{plant.name}
+ {#if plant.scientificName} +{plant.scientificName}
{/if}- Alle {schedule.frequencyDays} Tage giessen -
+ {#if waterDue} + 💧 {/if} - - {/each} - - {#if plants.length === 0} -Keine Pflanzen
- {/if} -+ Alle {schedule.frequencyDays} Tage giessen +
+ {/if} + + {/snippet} + diff --git a/apps/mana/apps/web/src/lib/modules/presi/ListView.svelte b/apps/mana/apps/web/src/lib/modules/presi/ListView.svelte index d4f801156..0668232d5 100644 --- a/apps/mana/apps/web/src/lib/modules/presi/ListView.svelte +++ b/apps/mana/apps/web/src/lib/modules/presi/ListView.svelte @@ -3,74 +3,57 @@ Presentation decks list with slide count. --> -{decks.length} Präsentationen
+{deck.title}
-{deck.description}
+ {#snippet item(deck)} +{deck.title}
+Keine Präsentationen
- {/if} -{deck.description}
+ {/if} + + {/snippet} + diff --git a/apps/mana/apps/web/src/lib/modules/questions/ListView.svelte b/apps/mana/apps/web/src/lib/modules/questions/ListView.svelte index 8a77c5cb2..22caf2127 100644 --- a/apps/mana/apps/web/src/lib/modules/questions/ListView.svelte +++ b/apps/mana/apps/web/src/lib/modules/questions/ListView.svelte @@ -3,39 +3,28 @@ Research questions list with status badges. --> -{question.title}
- - {statusLabels[question.status] ?? question.status} - + {#snippet item(question)} +{question.title}
+ + {statusLabels[question.status] ?? question.status} + +{question.description}
+ {/if} + {#if question.tags.length > 0} +{question.description}
- {/if} - {#if question.tags.length > 0} -Keine offenen Fragen
- {/if} -{skill.name}
-{skill.name}
- {branch?.name ?? skill.branch} — {LEVEL_NAMES[skill.level] ?? 'Unbekannt'} -
- - {/each} - - {#if skills.length === 0} -Keine Skills angelegt
- {/if} -+ {branch?.name ?? skill.branch} — {LEVEL_NAMES[skill.level] ?? 'Unbekannt'} +
+Keine Dateien
- {/if} -- {entry.description || 'Ohne Beschreibung'} -
- {fmtCompact(entry.duration)} -{projectName(entry.projectId)}
+ {#if timerStore.isRunning} +Noch keine Zeiteinträge heute
- {/if} -+ {entry.description || 'Ohne Beschreibung'} +
+ {fmtCompact(entry.duration)} +{projectName(entry.projectId)}
+- {link.title || link.shortCode} -
- {link.clickCount} -{hostname(link.originalUrl)}
- {#if link.customCode} -/{link.customCode}
- {/if} -Keine Links
- {/if} -+ {link.title || link.shortCode} +
+ {link.clickCount} +{hostname(link.originalUrl)}
+ {#if link.customCode} +/{link.customCode}
+ {/if} +