Skip to content

FIX initializer edit save failures - #2393

Merged
hannahwestra25 merged 5 commits into
microsoft:mainfrom
hannahwestra25:hannahwestra25-preserve-edits-on-save-fail
Aug 14, 2026
Merged

FIX initializer edit save failures#2393
hannahwestra25 merged 5 commits into
microsoft:mainfrom
hannahwestra25:hannahwestra25-preserve-edits-on-save-fail

Conversation

@hannahwestra25

Copy link
Copy Markdown
Contributor

Fixes #2347

Keeps edited initializer values in the dialog when save fails and shows the error inline. Also fixes checkbox label clicks for initializer multiselect parameters.

hannahwestra25 and others added 3 commits August 13, 2026 14:29
- Add externalError prop to InitializerParametersDialog for inline error display
- Make handleSave return boolean (consistent with handleAdd)
- Keep edit dialog open when save returns false (edits preserved)
- Add tests for new behavior

Fixes microsoft#2347

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- Track save errors per additional initializer
- Pass save errors into the edit dialog via externalError
- Prevent submit-triggered dialog close requests while save is in progress
- Add tests for inline save errors and preserved edits

Fixes microsoft#2347

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- Assign each multiselect checkbox a unique id so label clicks target the correct option
- Add a regression test for clicking checkbox label text

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@hannahwestra25 hannahwestra25 changed the title Fix initializer edit save failures FIX initializer edit save failures Aug 13, 2026
…ve-edits-on-save-fail

# Conflicts:
#	frontend/src/components/Initializers/InitializerParametersDialog.test.tsx
@hannahwestra25
hannahwestra25 added this pull request to the merge queue Aug 14, 2026
Merged via the queue into microsoft:main with commit cfa1770 Aug 14, 2026
47 checks passed
@hannahwestra25
hannahwestra25 deleted the hannahwestra25-preserve-edits-on-save-fail branch August 14, 2026 16:55
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.

[GUI] Preserve initializer edits when save fails

2 participants