Files
ai-code-app/docs/features/search-layer.md
2026-04-21 03:33:23 +09:00

617 B
Executable File

Search Layer

목적

통합 검색 모달의 열기/닫기와 검색 옵션 목록을 전역 레이어에서 관리합니다.

구조

  • src/layer/search/context
  • src/layer/search/hooks
  • src/layer/search/types

역할 분리

  • layer/search: 검색 모달 렌더링, open/close, 옵션 등록
  • layer/gesture: 제스처 감지와 검색 열기 트리거
  • store/appStore: 현재 페이지와 포커스된 컴포넌트 상태 관리

메모

  • 검색 UI는 페이지 내부에 직접 두지 않고 레이어에서 렌더링
  • 페이지는 검색 옵션만 계산해서 레이어에 전달