-
Notifications
You must be signed in to change notification settings - Fork 0
feat: 태그 시스템 구현 #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Fuse.js와 Headless UI를 사용하여 클라이언트 사이드 검색 기능을 구현합니다. 주요 변경 사항: - `fuse.js`를 사용한 유사 검색(fuzzy search) 로직 추가 (제목, 설명, 본문, 태그 대상) - `@headlessui/react`를 사용하여 검색 모달 UI 구현 - 메인 레이아웃에서 모든 게시물 데이터를 가져와 헤더의 검색 컴포넌트로 전달 - 헤더 내비게이션에 검색 아이콘 버튼 추가
검색 결과 UI를 개선하여 사용자 경험을 향상시킵니다. - Fuse.js 설정에 `includeMatches: true`를 추가하여 일치하는 문자의 인덱스 정보를 가져옵니다. - 검색 결과에서 일치하는 키워드를 시각적으로 강조 표시하는 `Highlight` 컴포넌트를 추가합니다. - 제목 또는 내용에서 일치하는 부분을 스니펫으로 보여주고, 하이라이트 처리하여 가시성을 높입니다.
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
검색 모달의 사용성과 접근성을 향상시키기 위해 키보드 조작 기능을 추가합니다. - `Cmd/Ctrl+K` 단축키로 검색 모달을 열 수 있습니다. - 위/아래 방향키로 검색 결과를 탐색할 수 있습니다. - `Enter` 키를 눌러 선택된 게시물 페이지로 이동할 수 있습니다. - 키보드 포커스에 따라 현재 선택된 항목이 시각적으로 강조 표시됩니다.
|
Claude finished @google-labs-jules[bot]'s task —— View job Code Review Complete ✅I've completed a thorough review of this pull request implementing the tag system. Here's my comprehensive feedback: Review Checklist
🎯 Overall AssessmentThis is a well-implemented tag system with search functionality. The code demonstrates good React/Next.js practices and proper TypeScript usage. However, there are several areas for improvement. 🟢 Strengths
|
사용자 요청에 따라 블로그에 새로운 기능으로 태그 시스템을 추가했습니다. 이를 통해 사용자는 주제별로 게시물을 분류하고 쉽게 찾아볼 수 있습니다.