From 087cbdc90047cdeb98699c5cd2c42769ce8f4c76 Mon Sep 17 00:00:00 2001 From: Hyungi Ahn Date: Tue, 14 Apr 2026 09:09:01 +0900 Subject: [PATCH] =?UTF-8?q?fix(memos):=20=EB=89=B4=EC=8A=A4=20=ED=98=BC?= =?UTF-8?q?=EC=9E=85=20=EB=B0=A9=EC=A7=80=20+=20=EC=8A=A4=ED=81=AC?= =?UTF-8?q?=EB=A1=A4=20=EC=B0=A8=EB=8B=A8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 메모 목록 쿼리에 source_channel='memo' 조건 추가. 뉴스가 file_type='note'로 저장되어 메모 피드에 혼입됨. 2. main 컨테이너 overflow-hidden → overflow-auto. 메모 페이지가 body 스크롤에 의존하는데 차단되어 있었음. Co-Authored-By: Claude Opus 4.6 (1M context) --- app/api/memos.py | 1 + frontend/src/routes/+layout.svelte | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/api/memos.py b/app/api/memos.py index cbb673f..94907b0 100644 --- a/app/api/memos.py +++ b/app/api/memos.py @@ -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, ) diff --git a/frontend/src/routes/+layout.svelte b/frontend/src/routes/+layout.svelte index 7a8a6a3..030f097 100644 --- a/frontend/src/routes/+layout.svelte +++ b/frontend/src/routes/+layout.svelte @@ -131,7 +131,7 @@ -
+