Conversation
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
…page - ReactionBar: emoji pill buttons with toggle, hover/long-press member popover - Integrated into board detail page with reactions state and refresh - Fixed TypeScript errors in reactions API route and board GET route Co-Authored-By: Claude <noreply@anthropic.com>
- Wrap toggle in transaction to prevent race condition - Add timer cleanup on component unmount - Add aria-label and aria-pressed for accessibility - Check deletedAt on post existence query Co-Authored-By: Claude <noreply@anthropic.com>
- Add postReactions table and API (GET/POST /api/posts/[id]/reactions) - Integrate ReactionBar into post detail page - Add reaction chips with member popover to post list cards - Add SmilePlus picker button to board ReactionBar - Include reaction count in popular post scoring - Add board notice content preview in Discord notifications (500 chars) Co-Authored-By: Claude <noreply@anthropic.com>
- Add apiPath prop to ReactionBar (board/posts) to fix wrong API path - Move fetchReactions before useEffect to fix declaration order - Move REACTION_EMOJIS to module scope to avoid per-render allocation Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
board_post_reactions,post_reactions테이블 신규 생성apiPathprop으로 board/posts 구분)댓글×3 + 조회수×2 + 리액션×1Changes
packages/shared/src/db/schema.ts— boardPostReactions, postReactions 테이블 + relationspackages/web/src/components/board/reaction-bar.tsx— ReactionBar 공용 컴포넌트packages/web/src/app/api/board/[id]/reactions/route.ts— 게시판 리액션 토글 APIpackages/web/src/app/api/posts/[id]/reactions/route.ts— 포스트 리액션 GET + 토글 APIpackages/web/src/app/api/board/[id]/route.ts— GET 응답에 reactions 추가packages/web/src/app/api/posts/route.ts— 리스트에 reactionCount 추가packages/web/src/app/(user)/board/[id]/page.tsx— 게시판 상세 ReactionBarpackages/web/src/app/(user)/posts/[id]/page.tsx— 포스트 상세 ReactionBarpackages/web/src/app/(user)/posts/page.tsx— 포스트 목록 리액션 칩DDL (이미 적용됨)
Test plan
🤖 Generated with Claude Code