feat: implement PR repository dropdown filter - #152
Merged
Conversation
|
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.
작업 유형
관련 마일스톤
개요
PR 목록 페이지 상단의 저장소 버튼을 실제 드롭다운 필터로 연결했습니다. 접근 가능한 저장소 목록을 불러와 선택할 수 있고, 선택한 저장소가 URL 쿼리와 PR 목록 조회에 반영됩니다. Closes #150.
변경 사항
useConnectedRepositories훅 추가repoId필터 및 query key 반영repoId쿼리를 읽어 목록 조회에 전달하도록 연결새 PR 생성버튼 제거스크린샷 (선택)
해당 없음
테스트
tsc --noEmit)실행 결과:
npm.cmd run lint -- components/pulls/PRPageHeader.tsx components/pulls/PRRepositoryFilter.tsx components/pulls/PRList.tsx hooks/usePullRequests.ts hooks/useConnectedRepositories.ts types/repos.ts통과tsc --noEmit는 이번 PR에서 실행하지 못했습니다참고 사항
/api/pulls는 이미repoId필터를 지원하고 있어서, 이번 PR은 주로 UI와 클라이언트 데이터 흐름 연결에 집중했습니다.