Canvas 표 객체와 공통 표 편집 프로파일 연결 - #788
Open
developer-1px wants to merge 11 commits into
Open
Conversation
Owner
Author
|
표 생성 중 가로/세로 한 축만 드래그할 때 원인: 미리보기의 한쪽 크기가 0인데 내장 문서 생성자가 양수만 수용했습니다. Object Document 생성자가 일반 도형과 동일하게 유한한 크기를 최소 1 layout 단위로 보정하도록 변경했습니다. 비유한 좌표 거부와 저장 문서의 양수 검증은 유지합니다. 검증: Canvas 97개·Object Document 61개, 테스트 타입 및 build 통과. Chrome에서 가로/세로/아주 짧은 드래그의 미리보기·생성·Undo와 기존 Canvas 표 편집/재열기 흐름까지 3개 시나리오(+setup)를 통과했습니다. |
표 스키마와 편집 계약을 Sheet 정본으로 통합
fix(markdown): Bear 리스트 단계별 탈출과 하위 구조 보존
feat(sheet): 공유 문서와 독립 Grid View 연결
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.
Canvas에서 표 객체를 생성하고 Bear·Sheet 앱과 동일한
SheetHand로 내부 셀을 편집합니다. 객체 선택에서는 위치·크기·복제·삭제를 조작하고, 더블클릭/F2로 셀 편집에 진입하며 Escape로 바깥 객체 선택에 복귀합니다. 셀 내용은 Canvas JSON 안에 저장되고 Canvas의 Undo/Redo와 JSON 재열기를 따릅니다.embedded-document객체가 공간 정보와 내장 JSON payload를 보관합니다.documentType으로 payload 소유자를 구분하며 표 모델을 중복 정의하지 않습니다.createCanvasSheet와createObjectSheetEditor가 표 객체를 생성·연결합니다.createProjectedSheetEditor를 Markdown/Object 어댑터가 함께 소비해 projection·선택·부모 History lifecycle의 중복을 제거했습니다. 표 변경 한 번은 부모 문서 transaction 한 번입니다.GridEditingProfile,gridEditingProfiles,resolveGridEditActivation으로 입력 정책을 배치 환경과 분리합니다. 직접 타이핑의 첫 글자는 선택되지 않고 뒤에 이어 입력됩니다. 기존 내용 편집은 프로파일의 초기 선택 정책을 따릅니다.CanvasSheetObject가 SVG 프레임과 활성화를 조합하며 셀 동작은 SheetHand에 위임합니다. 알 수 없는 내장 문서 타입은 지원하지 않음을 표시합니다.검증:
abc직접 입력, 외부 2×2 TSV, 헤더→방향키, 50% 축소 리사이즈, Canvas 생성→F2→셀 편집→Escape→부모 Undo/Redo→JSON 재열기, 편집 중 바깥 클릭 후 재진입을 확인했습니다.좌표 보정은 축 정렬 CSS scale/SVG viewport에 한정하며 회전/skew는 지원하지 않습니다. 수식·여러 시트·파일 호환성·클라우드 동기화는 제외합니다. 실제 OS 한글 IME 조합과 원격 전체 CI는 실행하지 않았습니다. main 및 형제 레포의 기존 미커밋 작업은 변경하지 않았습니다.
PR #786을 base로 하는 후속 PR입니다.
Closes #787