Nearing the end of a full day of apping; full mental model of app in place; flow-state... just nailing everything. Making big changes to an app; super complex stuff...
BANG! "Resume session?"
?? Get back into things... only a couple of mins of work lost...
Another 30 mins then BANG! "Resume session?"
?? Ya kidding me, right... Why is this happening right now.
Click "Resume session" and I'm taken back to the start screen of my app after some "spinny time". No "Last saved" timestamp...
This action is reallllly disruptive to keeping in context.
Nice... so I just happened to have CTRL-X (cut) a large portion of code that I was about to move to another control...
That evaporated during the disruption... cool
Whew!... CTRL+V into VS Code... still on my clipboard.
Also I have 92 versions of one app (I cull them periodically) as I save after every process I get working before moving on for this very reason.
If the issue persists, it would be better to clear the Browser cache and continue to edit it if the session ended up unexpectedly or too early.
And here is PowerApps Idea link which is related to Session expiration issue.
Hope this helps.
I get your frustration. To avoid this sort of data loss, I've got into the habit of very regularly saving my work.
I find this quite easy to do, after I discovered that I can quickly do this with the CTRL+S shortcut. Hopefully, this might be of some help to others who don't know about the shortcut.
Oh i'm well versed 🙂
One of my 2018 posts on this very topic...