feat: today 대시보드 Agent 추천 요약 - #119
Merged
Merged
Conversation
Contributor
|
(서버는 전체를 반환, 화면 표시 개수 제한은 프론트 책임으로 판단). 이 부분 프론트단에서 정렬을 잘 한다면 상관없겠지만 음 예를 들어서 오늘 마감 업무가 먼저 보여야하는건 사실이니까 .. DashboardQueryService.java 98~116줄 |
chaeliki
force-pushed
the
feat/15-dashboard-recommendations
branch
from
August 8, 2026 13:14
5d3750b to
fed6262
Compare
Contributor
Author
|
넵! pr stack중이라 코멘트 달아주신 내용 참고해서 다음 pr에 추가 올리겠습니다. |
Contributor
|
fix(dashboard): timezone 생략 시 UTC 대신 Asia/Seoul 기본값 사용 (단위 테스트를 통해 검증) 작업하신 내용 확인했습니다 굿굿 ! |
hywznn
approved these changes
Aug 8, 2026
chaeliki
force-pushed
the
feat/15-dashboard-recommendations
branch
from
August 8, 2026 14:04
fed6262 to
b5163fe
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.
왜 필요한가요?
Refs #15
recommendations를 추가합니다. 이걸로 GET /dashboard/today의
6개 명세 필드(summaryCounts, priorityTasks, upcoming7Days,
recommendations, approvalCount, workerResponseCount)가 모두 완성됩니다.
완료된 범위
after_approval 3개 그룹 + connected_count
(처음엔 findOpenTasks()로 전체 목록을 가져와 size()만 쓰는 비효율적인
방식이었으나, 리뷰 과정에서 전용 쿼리로 교체)
사이에는 서버가 계산하는 "오늘"이 실제 한국 날짜보다 하루 전으로
계산되어 due_today가 부정확했음
UTC 자정~9시 사이 시점 고정, 한국 날짜로 정확히 계산되는지 검증)
결정 사항
로컬 Demo Seed로 실제 검증
-connected_count=18, prepared=3건이 현재 프론트 화면(Task API 기반
임시 계산)과 일치했습니다. review는 API가 6건, 화면은 4건으로
차이가 있는데, 이는 프론트 dashboardData.ts의 buildAgentPrepared()가
review를 slice(0, 4)로 최대 4건까지만 자르기 때문으로 보입니다
(서버는 전체를 반환, 화면 표시 개수 제한은 프론트 책임으로 판단). -> 정렬추가 후속pr예정
어떻게 검증했나요?
recommendations 필드 검증
UTC/KST 날짜 불일치 시나리오 재현 및 수정 검증)