Skip to content

feat(workflow): Outline 드래그 시 유닛오퍼레이션 목차·구분선 즉시 정리 (0.89.0) - #16

Merged
greendaygh merged 2 commits into
mainfrom
feat/outline-drag-sync
Sep 29, 2026
Merged

greendaygh merged 2 commits into
mainfrom
feat/outline-drag-sync

Conversation

@greendaygh

Copy link
Copy Markdown
Contributor

요약

Obsidian Outline 창에서 유닛오퍼레이션(### [ID 이름]) 블록을 드래그로 옮기면, 같은 편집 트랜잭션 안에서 ## Related Unit Operations 목차 순서와 --- 구분선을 정리합니다. Ctrl+Z 한 번으로 이동과 정리가 함께 되돌아갑니다.

변경

  • src/unitOpReorderFilter.ts: CodeMirror transactionFilter. 순서만 바뀐 편집에만 동작하며 한글 조합 입력, undo/redo, 워크플로가 아닌 파일은 건너뜀
  • core: computeUnitOpSyncEdits / applyTextEdits 추가, rebuildUnitOpToc가 같은 로직 공유
  • TOC 목록 범위를 첫 헤딩 또는 ---에서 끊고 코드 펜스 무시 (본문 체크리스트가 목차로 오인되던 위험 제거)
  • 1.5초 TOC 자동 정렬에 파일 일치 확인 추가
  • 설정 설명, README(한/영), QUICKSTART 갱신 / 버전 0.89.0

검증

  • npm run typecheck, npm test (551 통과), npm run build, npm run sync:versions -- --check
  • Obsidian 실사용 드래그 확인은 배포 후 수동 진행 필요

기존 보관함 사용자는 업데이트 후 Setup research automation을 다시 실행해야 QUICKSTART 변경이 반영됩니다.

Made with Cursor

greendaygh and others added 2 commits September 29, 2026 21:24
- CodeMirror transactionFilter로 블록 순서 변경을 감지해 TOC 재정렬과 --- 구분선 정리를 같은 편집에 합침 (Ctrl+Z 한 번으로 되돌림)
- core: computeUnitOpSyncEdits / applyTextEdits 추가, rebuildUnitOpToc가 같은 로직을 공유
- TOC 목록 범위를 첫 헤딩 또는 ---에서 끊고 코드 펜스를 무시해 본문 체크리스트 오인 방지
- 1.5초 TOC 자동 정렬이 다른 파일에 적용되지 않도록 파일 일치 확인
- 설정 설명, README(한/영), QUICKSTART 안내 갱신

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant