Skip to content

Fix chain of unsaved-changes prompts when opening the formula editor - #1111

Open
robertisele wants to merge 2 commits into
developfrom
fix/mappingSave-CMEM-8143
Open

Fix chain of unsaved-changes prompts when opening the formula editor#1111
robertisele wants to merge 2 commits into
developfrom
fix/mappingSave-CMEM-8143

Conversation

@robertisele

Copy link
Copy Markdown
Member

No description provided.

…for a new mapping

After saving a new value mapping via the pen icon, the mapping list reloads while the
formula editor mounts. Every list row issued a router navigation on mount and the editor
reported unsaved changes until it had initialized, so each navigation raised the
"unsaved changes" confirm, once per rule.

- DraggableItem: rows that mount collapsed no longer touch the URL.
- RuleEditorModel: no unsaved changes are reported while the editor is initializing.

CMEM-8143

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013CoCMG72HzZRnv4fzh6RtV
@robertisele robertisele changed the title Fix chain of unsaved-changes prompts when opening the formula edito Fix chain of unsaved-changes prompts when opening the formula editor Sep 3, 2026
Since the editor no longer reports unsaved changes while initializing, the Save button is
disabled from the first render, so waiting for it no longer waits for the rule to load.
Wait for the node on the canvas instead.

CMEM-8143

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AAGwGNnrBJFSUwz1DwHmea
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