fix(agent): Agent 패널 기간 필터가 목록에 반영되도록 연결#78
Merged
Conversation
PERIOD_OPTIONS 드롭다운이 선택은 됐지만 AgentLogItem.time이 "오늘 09:12" 같은 표시용 문자열이라 기간 비교가 불가능해 visibleLogs 필터링에 반영되지 않았다. daysAgo(오늘로부터 며칠 전인지) 필드를 추가해 실제 필터링이 되도록 한다. Closes #71
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.
개요
Agent 패널(AgentLogPage)의 기간 드롭다운(오늘/7일/30일/전체)이 선택은 되지만 목록에 반영되지 않았다.
time이 "오늘 09:12" 같은 표시용 문자열이라 기간 비교가 불가능했던 게 근본 원인. 근거 출처 드롭다운은 이미 정상 동작.변경 사항
agentLogData.ts:AgentLogItem에daysAgo: number(오늘로부터 며칠 전) 추가AgentLogPage.tsx:visibleLogs가 근거 출처와 기간을 AND로 필터링하도록 수정완료 조건
검증
npm run lintnpm run test(전체 87개 통과)npm run buildCloses #71