Skip to content

fix(core): validate plot edits and retain unrelated analysis results - #133

Merged
nmrtist merged 4 commits into
mainfrom
fix/edit-state-correctness
Oct 25, 2026
Merged

nmrtist merged 4 commits into
mainfrom
fix/edit-state-correctness

Conversation

@nmrtist

@nmrtist nmrtist commented Oct 24, 2026

Copy link
Copy Markdown
Owner

Summary

Prevent table and shared-axis edits from leaving plots invalid, and retain CRAFT results when unrelated datasets are deleted.

  • Reject table patches and refreshes that invalidate existing curve bindings before changing document state or Undo history.
  • Reject conflicting shared X settings in one transaction while accepting equivalent ranges in compatible units.
  • Tie CRAFT and direct DOSY/ILT completions to dataset IDs and task generations; cancel work for removed sources.
  • Update the English and Simplified Chinese guides.

Validation

  • cargo pr-check: passed.
  • Regression tests cover rejected edits, Undo/Redo, save/reopen in both snapshot modes, shared-axis conflicts and unit conversion, and analysis completion after deletion, restoration and project replacement.
  • npm run build in docs/: passed.

@nmrtist
nmrtist merged commit 4405dca into main Oct 25, 2026
11 checks passed
@nmrtist
nmrtist deleted the fix/edit-state-correctness branch October 25, 2026 05:12
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