lightning icon indicating copy to clipboard operation
lightning copied to clipboard

“Reset to Latest Snapshot” Button Hidden on Duplicate Workflow Name

Open mercy-ship-it opened this issue 2 months ago • 2 comments

Related to: https://github.com/OpenFn/lightning/issues/3783

Description

While testing the above issue, I noticed an additional UI bug.
When attempting to save a workflow using a name that already exists (i.e., a duplicate name), the “Reset to Latest Snapshot” button becomes hidden or is not displayed correctly.

Steps to Reproduce

  1. Open any workflow.
  2. Edit the workflow name.
  3. Enter a name that already exists.
  4. Attempt to save.
  5. Observe the visibility of the “Reset to Latest Snapshot” button.

Expected Behavior

The “Reset to Latest Snapshot” button should remain visible and properly positioned, regardless of validation errors or duplicate-name warnings.

Actual Behavior

The button becomes hidden or visually misplaced when the duplicate name error appears.

Image

mercy-ship-it avatar Nov 13 '25 10:11 mercy-ship-it

@mercy-ship-it I couldn't replicate this. Could you send a loom ?

elias-ba avatar Nov 14 '25 01:11 elias-ba

@elias-ba , https://www.loom.com/share/29cb1a75948141d6b923851afdd5f815

mercy-ship-it avatar Nov 14 '25 07:11 mercy-ship-it