feat: add optional mood to thoughts with custom moods support
Some checks failed
lint / lint (push) Failing after 9m28s
test / unit (push) Successful in 16m8s

Mood is an optional label+emoji string (e.g. "relaxed 😌") on thoughts.
Users can define up to 8 custom moods in profile settings.
Mood federates via AP Note JSON and displays on thought cards.
This commit is contained in:
2026-05-29 15:38:35 +02:00
parent be27fe04e2
commit 442a61bbdb
34 changed files with 294 additions and 42 deletions

View File

@@ -223,6 +223,11 @@ export function ThoughtCard({
}}
/>
)}
{(thought.mood || (meta?.mood as string | undefined)) && (
<p className="text-xs text-muted-foreground italic mt-2">
feeling {thought.mood || (meta?.mood as string)}
</p>
)}
</CardContent>
{token && (
@@ -244,6 +249,7 @@ export function ThoughtCard({
<ThoughtForm
replyToId={thought.id}
onSuccess={() => setIsReplyOpen(false)}
currentUser={currentUser}
/>
</div>
)}