Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- 디스코드 활동 점수(message/thread/reaction) → 웹 활동 점수(board_post/post_comment/board_comment)로 전환 - 대시보드에 '내 활동 점수' 카드 추가 (오늘 진행 상황 + 최근 활동 피드) - /profile/activity 활동 내역 페이지 신규 (타입별 필터, 무한 로드) - 점수 배점: 게시판 글 +10(20), 포스트 댓글 +5(20), 게시판 댓글 +2(10), 포스트 조회 +3(15) - post view scoring 원자적 CTE로 통합 (race condition 해결) - 점수 메타데이터 Single Source of Truth (score-config.ts) - active 멤버만 점수 부여 (보안) - description sanitize 적용 - 다크모드 뱃지 컬러 대응 - 봇 activity-handler 제거, GuildMessageReactions intent 제거 Co-Authored-By: Claude <noreply@anthropic.com>
@blog-study/shared (postgres) import → 문자열 상수로 변경하여 클라이언트 컴포넌트 번들에서 postgres 모듈 참조 제거 Co-Authored-By: Claude <noreply@anthropic.com>
Errors.conflict() 응답은 { error: { message } } 구조인데
result.message로 읽어서 '등록에 실패했습니다' 폴백이 표시되던 문제 수정
→ result.error?.message 우선 참조하도록 변경
Co-Authored-By: Claude <noreply@anthropic.com>
- 게시판 댓글: 본인 글에 댓글 달면 점수 미부여 - 포스트 댓글: 본인 글 제외 + 같은 포스트에 중복 댓글 시 점수 미부여 (포스트당 1회) - description에서 타입 prefix 제거 (칩이 이미 표시하므로 중복) Co-Authored-By: Claude <noreply@anthropic.com>
5f0f767 to
77690b4
Compare
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
/profile/activity활동 내역 페이지 신규 (타입별 필터, 무한 로드)Changes
Schema
ActivityScoreType:discord_message/thread/reaction→board_post/post_comment/board_commentBot (제거)
activity-handler.ts삭제,GuildMessageReactionsintent 제거SCORE_CONFIG, weekly ranking 쿼리/라벨 업데이트Web (추가)
lib/score.ts—grantWebScore()(원자적 CTE, active 멤버 체크)lib/score-config.ts— 점수 타입 메타데이터 Single Source of Truthapi/scores/my— 대시보드 점수 APIapi/scores—?type=필터 파라미터 (allowlist 검증)api/posts/[id]/view— 단일 CTE로 post_views + 점수 부여 원자적 처리/profile/activity페이지 (AbortController, aria-pressed)보안/품질
sanitizeDescription()적용type파라미터 allowlist 검증Test plan
🤖 Generated with Claude Code