Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@abdnh
Copy link
Collaborator

@abdnh abdnh commented Jan 18, 2026

Most TS backend calls that return OpChanges are currently not reflected in UI undo status. This provides a generic solution to extract OpChanges from responses (with handling for nesting).

The registerOperationHandler TS function was also added to allow Svelte pages to register operation handlers and react to changes in other screens.

This solution is already used in #4029 and will probably be useful for #4289

@abdnh abdnh marked this pull request as ready for review January 24, 2026 12:51
@abdnh abdnh mentioned this pull request Jan 24, 2026
33 tasks
Luc-Mcgrady added a commit to Luc-Mcgrady/anki that referenced this pull request Jan 24, 2026
Luc-Mcgrady added a commit to Luc-Mcgrady/anki that referenced this pull request Jan 24, 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