feat: 플로팅 메모창 구현 및 문서 삭제 기능 안정화

 새로운 기능:
- 플로팅 메모창: 드래그 가능한 독립적인 메모/하이라이트 창
- 크기 조절: 마우스로 창 크기 자유롭게 조정
- 위치 이동: 헤더 드래그로 원하는 위치에 배치
- 메모 검색: 실시간 메모 내용 검색 및 필터링
- 하이라이트 이동: 메모창에서 문서 내 하이라이트 위치로 스크롤

🛠️ 개선사항:
- 문서 삭제 안정화: 외래키 제약조건 해결 (Note->Highlight->Document 순서)
- 레이아웃 개선: 문서 뷰어가 전체 화면 사용 가능
- 사용자 경험: 사이드바 대신 플로팅 윈도우로 더 유연한 UI
- 캐시 버스팅: JavaScript 파일 버전 관리 개선

🐛 버그 수정:
- 중복 스크립트 로드 문제 해결
- 하이라이트 메모 업데이트 API 오류 수정
- 문서 삭제 시 500 에러 해결
This commit is contained in:
Hyungi Ahn
2025-08-23 15:00:01 +09:00
parent 46546da55f
commit c7f55ac50d
6 changed files with 362 additions and 30 deletions

View File

@@ -458,10 +458,7 @@
<!-- 인증 모달 컴포넌트 -->
<div x-data="authModal" x-ref="authModal"></div>
<!-- 스크립트 -->
<script src="/static/js/api.js"></script>
<script src="/static/js/auth.js"></script>
<script src="/static/js/main.js"></script>
<!-- 스크립트는 하단에서 로드됩니다 -->
<style>
[x-cloak] { display: none !important; }
@@ -480,8 +477,8 @@
</style>
<!-- JavaScript 파일들 -->
<script src="/static/js/api.js?v=2025012222"></script>
<script src="/static/js/auth.js?v=2025012222"></script>
<script src="/static/js/main.js?v=2025012222"></script>
<script src="/static/js/api.js?v=2025012225"></script>
<script src="/static/js/auth.js?v=2025012225"></script>
<script src="/static/js/main.js?v=2025012225"></script>
</body>
</html>