Repository navigation
feat(11-home-credits): 홈 · 크레딧 — 7일 채우기 · 홈 다섯 칸 · 내 정보 탭 · 만들 수 없음 안내 - #43
Merged
Merged
Conversation
…금은 만들 수 없음」 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
05 §3 이어서 배우기의 nextLesson 생략 · UI_GUIDE §6 공통 카드 미정 표기 복원 · 04 §10 정한 크레딧 채우기 줄 삭제 · 04 §8 · ADR-173 의 TASK 에서 정한다 표기 갱신 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
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.



요약
SCHEDULE §3 #11 홈 · 크레딧이에요. 크레딧이 처음으로 7일마다 다시 채워지고, 승인된 사람의
/가 자리 화면에서 실제 홈이 되고, 내 정보 탭에서 남은 크레딧과 다음에 채워지는 날을 봐요.app.credit.weekly-amount한 곳이고 지금은 임시 값 25예요. 승인 SQL 은 승인한 날 + 7일의 서울 04:00 을 넣어요.CreditRefillService가 매일 서울 04:00 과 서버 기동 때 돌아요. 사람마다 새 트랜잭션에서 사용자 행을 잠그고 「채울 때가 지났나」를 다시 확인한 뒤, 잔액을 한 주 몫으로 맞추고REFILL기록(차액 — 0 · 음수도 남김)을 써요. 서버 여러 대 · 같은 실행 두 번이어도 한 번만 채우고(금지 22), 밀린 주기는 한 번 채운 뒤 다음 때만 7일씩 옮겨요.GET /api/me에APPROVED일 때만credit: {balance, nextRefillDate}(서울yyyy-MM-dd). 요청마다users에서 읽어요(금지 23)./api/home/reviews·streak·continue-learning·todos·jobs를 칸마다 따로 읽어요(ADR-144). 스트릭은 저장하지 않고 복습 · 강의 완료 날짜로 계산하고(ADR-178), 이어서 배우기 · 할 일 · 만드는 중은 코스 · 로드맵 · 작업 화면이 쓰는 판정과 변환을 그대로 불러요.무엇이 바뀌었나
weekly-cycleweekly-amount25 ·CreditProperties.weeklyAmount· 승인 SQL+ 7credit-refillCreditRefillService·CreditRefillConfiguration(cron · 기동 ·refill-enabled) · 실패 로그me-creditsMeReadService·MeResponse.credit·SeoulClock.calendarDatehome-review-streak/api/home/reviews·/api/home/streak·StreakActivityRepositoryhome-course-todo/api/home/continue-learning·/api/home/todos·CourseReadService.nextLesson공유home-jobs/api/home/jobs·JobReadService.unfinished(같은JobResponse변환)home-screenHomePage·useHomeprofile-tabProfilePage·PlaceholderPage제거creation-blocked-noticeCreationBlockedNotice— 새로 배우기 · 강의 · 코스 · 로드맵nextLesson생략 · UI_GUIDE §6 · 04 §8 · §10 · ADR-173 · 하네스 기록identity-headingme-refetch-keepcredit_refill_at·credit_entries는 이미 있음)병합 전에 사람이 할 일
없음. 참고로 —
credit_refill_at은 옮기지 않았어요 — 그 날짜에 한 번 채워진 뒤부터 7일 주기예요.11a에서 예산과 호출 기록(llm_calls)으로 정해요.🤖 Generated with Claude Code