Inspector: If the server goes offline, all edits will be lost (even after reconnect)
Nobody has claimed this yet.
- Dominant language
- Elixir
- Stars
- 296
- Forks
- 86
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 50
Description
We have a few issues in the Inspector when Lightning goes offline.
- The save button doesn't re-enable when the server comes back
- Any changes made since the server went offline are lost
I've tested this on 2.11.2 and on the Xander/Farhan React refactor branch
Repro Steps
Start up a local server, open a Workflow and edit a Step, then kill your server.
You'll see an offline notification in the top-right corner of the app, and the save button will disable.
Edit the source.
Restart the server and the offline icon will vanish. But the save icon will remain disabled.
Hit ctrl + S to save. It'll probably say it was successful. But refresh the page and all changes will be lost
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the Inspector's offline/reconnect flow and reproduce the issue with a local server: edit a Step while the server is stopped, then restart it. Trace the offline notification and save-button state through reconnect, and verify that edits remain available and are persisted after Ctrl+S and a page refresh.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elixir, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100