Skip to content

기능: Document·Order가 host Topology를 받게 한다 #330

Description

@developer-1px

Goal Anchor

  • Outcome: Document와 Order도 Sheet처럼 저장 순서가 아닌 화면 줄 위에서 고르고 복사할 수 있다.
  • Done: copy/selectedBlockIds·selectedItemIds가 optional LineTopology를 받고, 생략 시 저장 순서를 쓰며, 줄 밖 id는 Sheet와 같이 거절한다. 계약 테스트가 화면 줄과 저장 줄이 다를 때를 증명한다.
  • Don't: Intent 통합 없음(기능: 편집 Intent를 공통 개념으로 뽑는다 #327). Kernel 변경 없음. 필드 이름 변경 없음. Tree visibleIds 공개 계약 변경 없음.

의존

#329 가 Line 계산을 공통 함수로 옮긴 뒤에 붙인다. 지금은 Document·Order가 저장 순서만 줄로 쓴다.

왜 지금 안 하는가

Document·Order host에 접기/필터/정렬이 없다. 인자를 지금 열면 호출부가 없는 API가 된다.

검증

  • npm test -w @interactive-os/json-document-editing
  • npm run typecheck -w @interactive-os/json-document-editing

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions