Skip to content

fix snap#46

Closed
willwade wants to merge 1 commit intomainfrom
feature-mutationAPI
Closed

fix snap#46
willwade wants to merge 1 commit intomainfrom
feature-mutationAPI

Conversation

@willwade
Copy link
Copy Markdown
Owner

Snap: implement saveModifiedTree (asset-preserving SQL replay)

  • Copy original .sps verbatim then replay pendingMutations as targeted UPDATE/INSERT
  • addButton inserts Button + ElementReference + CommandSequence + one ElementPlacement per PageLayout (Visible=1 at free cell, Visible=0 out-of-bounds otherwise)
  • capabilities.preservesAssetsOnSave: false → true
  • load path uses _loadButton to keep pendingMutations clean
  • Tested round-trip + addButton on Core First Scanning .sps; loads cleanly in TD Snap on dashboard and topic pages

Snap: implement saveModifiedTree (asset-preserving SQL replay)

- Copy original .sps verbatim then replay pendingMutations as targeted UPDATE/INSERT
- addButton inserts Button + ElementReference + CommandSequence + one
  ElementPlacement per PageLayout (Visible=1 at free cell, Visible=0
  out-of-bounds otherwise)
- capabilities.preservesAssetsOnSave: false → true
- load path uses _loadButton to keep pendingMutations clean
- Tested round-trip + addButton on Core First Scanning .sps;
  loads cleanly in TD Snap on dashboard and topic pages
@willwade willwade closed this May 1, 2026
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