2 Commits

Author SHA1 Message Date
ecbc9c627d feat(wishlist): add comment delete, voting, and replies
- Add parentId column to wishlist_comments for reply threading
- Create wishlist_comment_votes table for up/down voting
- Add deleteComment action (owner-only, cascades to replies)
- Add toggleCommentVote action with toggle behavior
- Update getItemWithComments to return nested CommentWithMeta
- Create CommentItem component with voting UI and reply support
- One level of reply depth enforced (can't reply to replies)
2026-01-22 03:18:10 -07:00
6e7ed3634b feat(wishlist): add infrastructure wishlist page
- add D1 database with drizzle ORM for wishlist data
- create wishlist items, votes, and comments tables
- implement server actions for CRUD, voting, comments
- add wishlist page with auth protection
- create components: stats, filters, item cards, add dialog, detail drawer
- add optimistic updates for voting
- update sidebar navigation with Infrastructure Wishlist link
- configure middleware to use WORKOS_REDIRECT_URI env var for local dev
2026-01-22 00:19:46 -07:00