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:
@@ -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,
|
||||
)
|
||||
|
||||
@@ -131,7 +131,7 @@
|
||||
</Drawer>
|
||||
|
||||
<!-- 콘텐츠 -->
|
||||
<main class="h-full overflow-hidden">
|
||||
<main class="h-full overflow-auto">
|
||||
<slot />
|
||||
</main>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user