feat: add GIF Mood Board workshop
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 4m5s

- New workshop where each team member shares up to 5 GIFs with notes to express their weekly mood
- Per-user week rating (1-5 stars) visible next to each member's section
- Masonry-style grid with adjustable column count (3/4/5) toggle
- Handwriting font (Caveat) for GIF notes
- Full real-time collaboration via SSE
- Clean migration (add_gif_mood_workshop) safe for production deploy
- DB backup via cp before each migration in docker-entrypoint

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-03 10:04:56 +01:00
parent 7c68fb81e3
commit 766f3d5a59
21 changed files with 2032 additions and 15 deletions

View File

@@ -0,0 +1,28 @@
'use client';
import { EditableTitle } from './EditableTitle';
import { updateGifMoodSession } from '@/actions/gif-mood';
interface EditableGifMoodTitleProps {
sessionId: string;
initialTitle: string;
canEdit: boolean;
}
export function EditableGifMoodTitle({
sessionId,
initialTitle,
canEdit,
}: EditableGifMoodTitleProps) {
return (
<EditableTitle
sessionId={sessionId}
initialTitle={initialTitle}
canEdit={canEdit}
onUpdate={async (id, title) => {
const result = await updateGifMoodSession(id, { title });
return result;
}}
/>
);
}