Repository navigation
fix: 북마클릿으로 들어온 뒤 검색하기도 내 도서관에서 찾기 - #85
Merged
Merged
Conversation
북마클릿으로 들어와 내 도서관을 검색한 뒤에도 마법사 요약은 '전체 도서관'이었고, 검색하기를 누르면 전체 도서관을 검색했다. - useSearchManager 가 내 도서관 범위를 기억하고 검색하기도 그 도서관들로 검색한다 - 도서관·지역·모듈·필터를 바꾸면 범위가 풀린다 (그때의 선택과 비교하는 파생 상태) - 마법사 요약에 '내 도서관 (…)' 으로 보여 준다
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.
요약
북마클릿으로 들어와 내 도서관을 검색한 뒤에도 마법사 요약은 "전체 도서관"이었고, 검색하기를 누르면 1,342개 도서관을 모두 검색했습니다.
변경
useSearchManager: 처음 검색한 내 도서관 범위를 기억하고(scopeLibraries), 검색하기도 그 도서관들로 검색합니다. GA scope 는group.StepWizard: 범위가 있으면 요약에내 도서관 (가양도서관, 판교도서관)으로 보여 줍니다.Test Plan
npm run typecheck통과npx vitest run: 227개 통과 (새 테스트: 검색하기가 내 도서관 사용, 선택 바꾸면 범위 풀림, 마법사 요약 문구)