Skip to content

Generalize source projection - #64

Merged
Azganoth merged 7 commits into
mainfrom
feature/generalize-source-projection
Jul 13, 2026
Merged

Generalize source projection#64
Azganoth merged 7 commits into
mainfrom
feature/generalize-source-projection

Conversation

@Azganoth

Copy link
Copy Markdown
Owner

Summary

  • Rename the inline source-projection capability and related modules to sourceProjection.
  • Generalize projection sessions around immutable ProseMirror slices and object-specific adapters.
  • Move target discovery, edit policy, source parsing, presentation spans, selection mapping, and restoration behind the adapter contract.
  • Preserve exact clean restoration, literal invalid-source fallback, local history, native undo/redo, dirty state, and serialization behavior.
  • Add non-mark contract coverage for atomic-node selection, editing, restoration, rehydration, and target switching.
  • Restore projected inline-code, strikethrough, and link visual parity.

Related Issue

Closes #63

Notes

This is an enabling rework only. Mixed-format link-label projection remains in #58, and footnote-reference projection remains in #60; neither follow-up depends on the other.

@Azganoth Azganoth self-assigned this Jul 13, 2026
@Azganoth Azganoth added the Feature New feature or request label Jul 13, 2026
@Azganoth Azganoth changed the title Feature/generalize source projection Generalize source projection Jul 13, 2026
@Azganoth
Azganoth merged commit 34a7195 into main Jul 13, 2026
2 checks passed
@Azganoth
Azganoth deleted the feature/generalize-source-projection branch July 13, 2026 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Generalize and rename the source-projection session engine

1 participant