fix(memos): 뉴스 혼입 방지 + 스크롤 차단 수정

1. 메모 목록 쿼리에 source_channel='memo' 조건 추가.
   뉴스가 file_type='note'로 저장되어 메모 피드에 혼입됨.
2. main 컨테이너 overflow-hidden → overflow-auto.
   메모 페이지가 body 스크롤에 의존하는데 차단되어 있었음.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Hyungi Ahn
2026-04-14 09:09:01 +09:00
parent e889b33dd6
commit 087cbdc900
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -177,6 +177,7 @@ async def list_memos(
"""메모 목록 — 활성: 핀 우선 + 최신순 / 아카이브: 최신순 (핀 무시)"""
base = select(Document).where(
Document.file_type == "note",
Document.source_channel == "memo",
Document.deleted_at == None, # noqa: E711
Document.archived == archived,
)
+1 -1
View File
@@ -131,7 +131,7 @@
</Drawer>
<!-- 콘텐츠 -->
<main class="h-full overflow-hidden">
<main class="h-full overflow-auto">
<slot />
</main>
</div>