feat(memo): 메모 개선 및 워크스페이스 레이아웃 개편 - #75
Merged
Merged
Conversation
- 작성자에게 연필 아이콘 편집 버튼 표시 (hover 시) - 편집 모드: textarea 인라인 전환, Ctrl+Enter 저장, Esc 취소 - PUT /api/projectMemos 연동으로 서버 저장 - 검색 중에는 plain text + 하이라이트, 평상시 ReactMarkdown 렌더링 - remark-gfm으로 표, 체크박스, 취소선 등 GFM 지원 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
NextAuth 환경에서 anon key 클라이언트는 RLS에 막힘. service role 키를 사용하는 supabaseAdmin으로 교체. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Realtime 이벤트를 기다리지 않고 API 응답으로 즉시 업데이트. - 추가: POST 응답의 memo 객체를 바로 목록에 삽입 (중복 방지) - 삭제: DELETE 성공 즉시 목록에서 제거 Realtime 이벤트는 중복 체크로 무시되어 충돌 없음. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ProjectInfoPanel, MemoView를 absolute 오버레이로 변경. main 콘텐츠(칸반/캘린더)는 항상 전체 너비 유지. 패널은 translate-x 슬라이드 애니메이션으로 표시/숨김. 메모 패널 너비 280→360px로 확장 (오버레이라 공간 여유). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- 메모: 사이드 패널 → currentView 전환 방식으로 변경 (max-w-3xl 중앙 정렬) - 프로젝트 정보: flex side panel 유지, 메모 뷰에서는 숨김 - max-w-[1600px] 제거, 패딩 축소 (p-2~p-3)로 전체 너비 활용 - showMemoPanel state 제거 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- 메모: 독립 뷰 → 사이드 패널로 복원 (너비 300-360px) - 프로젝트 정보: 300-340px - 메모 열면 프로젝트 정보 닫힘, 그 반대도 동일 (동시 열림 방지) - max-w 제거, 패딩 축소 유지 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- 컨테이너: bg-card, rounded-[12px], shadow-[0_1px_3px_rgba(0,0,0,0.1)], border-border - 내부 섹션: bg-muted/40 dark:bg-muted/20 - 통계 카드: bg-card Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
anon key로 users join SELECT 하던 코드가 RLS에 막혀 핸들러 전체가 멈추던 문제 수정. - INSERT: 중복 체크 후 fetchMemos로 API 재조회 (supabaseAdmin 경유) - UPDATE: payload로 필드 직접 갱신, 기존 author 유지 - soft-delete/DELETE: state에서 제거 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/api/projectMemossupabaseAdmin으로 교체 (42501 오류 해결)Test plan
**bold**,- list,```) 렌더링 확인🤖 Generated with Claude Code