webui(workflows): Restore Defaults does not refresh open editor #1135

Closed
opened 2026-10-27 13:39:09 +00:00 by sam · 0 comments
Owner

ui/src/workflows/WorkflowEditor.vue:174-182 restoreOne saves the shipped definition to the collection but does not update selected or yaml.value. The editor retains the pre-restore draft and flags dirty ('Unsaved changes'). Saving afterwards re-applies the discarded draft over the restored default. Done when restoreOne reloads the editor with restored YAML and marks it clean.

Close reason

Fixed on fix/workflow-eda-audit (PR #1627)


Imported from beads archie-core-85e7w · GitHub #1614 · type bug · priority P2 · created 2026-10-11 · closed 2026-10-11

ui/src/workflows/WorkflowEditor.vue:174-182 restoreOne saves the shipped definition to the collection but does not update selected or yaml.value. The editor retains the pre-restore draft and flags dirty ('Unsaved changes'). Saving afterwards re-applies the discarded draft over the restored default. Done when restoreOne reloads the editor with restored YAML and marks it clean. ### Close reason Fixed on fix/workflow-eda-audit (PR #1627) --- _Imported from beads `archie-core-85e7w` · GitHub #1614 · type bug · priority P2 · created 2026-10-11 · closed 2026-10-11_
sam added the mediumbug labels 2026-10-27 13:39:10 +00:00
sam self-assigned this 2026-10-27 13:39:10 +00:00
sam closed this issue 2026-10-27 13:39:10 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1135