Skip to content

Week 3 · Mood on a post - #8

Open
matyasmihalka wants to merge 3 commits into
coursefrom
week-03-mood
Open

matyasmihalka wants to merge 3 commits into
coursefrom
week-03-mood

Conversation

@matyasmihalka

Copy link
Copy Markdown
Collaborator

Reference implementation for cvičení 3 (6. 10.). Read the diff. Apply it to your own repo only if you want to.

The mood feature from the live run in class: a post can have an optional mood (happy, sad, angry, silly), picked with an icon toggle group in the post form and shown in the feed. Session page: https://cviceni.vsepractical.applifting.dev/03-vertical-slice

🤖 Generated with Claude Code

Quacks can carry a mood (happy, sad, angry, silly), chosen in the new-quack
form and shown in the feed. Adds the Mood enum and migration, API support,
and the shadcn select component.
The mood is now picked from four lucide icon buttons below the textbox.
Swaps the shadcn select component for toggle-group.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant