Skip to content

[codex] Add workspace font change sets#61

Merged
kostyafarber merged 1 commit into
mainfrom
codex/rust-workspace-change-sets
Jun 4, 2026
Merged

[codex] Add workspace font change sets#61
kostyafarber merged 1 commit into
mainfrom
codex/rust-workspace-change-sets

Conversation

@kostyafarber
Copy link
Copy Markdown
Collaborator

What changed

  • Added shift-font semantic font change records for committed edit deltas.
  • Added shift-store.apply_change_set(...) and outline row storage for glyph unicodes, layer metrics, contours, and points.
  • Routed FontWorkspace commits through store application before swapping the live font.
  • Updated bridge mutation paths to describe their durable semantic changes, using incremental changes for common edits and LayerGeometryReplaced as the fallback for broader geometry rebuilds.

Why

This moves the Rust workspace toward the durable local-first runtime design: committed editor operations become semantic change sets, and shift-store applies them transactionally instead of treating persistence as a whole-font or whole-layer snapshot path.

Validation

Pre-commit ran and passed:

  • cargo check including tests
  • cargo fmt
  • cargo clippy
  • cargo test

Additional focused checks run before committing:

  • cargo test -p shift-store
  • cargo test -p shift-bridge
  • cargo test -p shift-font
  • cargo test -p shift-workspace
  • cargo check -p shift-font -p shift-store -p shift-workspace -p shift-bridge
  • git diff --check

@kostyafarber kostyafarber marked this pull request as ready for review June 4, 2026 06:33
@kostyafarber kostyafarber merged commit f586c42 into main Jun 4, 2026
9 of 11 checks passed
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